[Solved] Mint 13 suddenly boots into (initramfs)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Yazeed92

[Solved] Mint 13 suddenly boots into (initramfs)

Post by Yazeed92 »

Hello,
So the title says it all, my laptop is running Linux Mint Mate 13. Yesterday it was working fine but today it is not. It prompts me to (initramfs) where I am supposed to enter some commands. How do I get it back or at least I want to rescue my files.
please help and thanks. Y

Edit: I tried to access the file from a live CD but it gives this error every time I click on my hard drive icon inside Computer: unable to mount location. although it shows that the correct size used by my files.
thanks
Last edited by Yazeed92 on Tue Jan 15, 2013 5:27 pm, edited 1 time in total.
User avatar
karlchen
Level 23
Level 23
Posts: 18237
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Mint 13 suddenly boots into (initramfs)

Post by karlchen »

Hello, Yazeed92.

The root cause why your system suddenly does not boot correctly from the HDD, but drops you at a limited command prompt might be the same reason why you cannot mount the HDD when you start from a live CD: the filesystem may be corrupted.
Therefore after booting from the live CD try to run a

Code: Select all

sudo fsck -f -V /dev/sdaX
Replace the device name /dev/sdaX by the appropriate device name of the affected HDD.

In case you need further help, please, post back. In this case, please, provide as many relevant details as possible. In particular, do not simply tell us that you received an error message. Post the exact error message. Post the output of

Code: Select all

sudo fdisk -l
so that we have an idea of your disk layout.

Good luck,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Yazeed92

Re: Mint 13 suddenly boots into (initramfs)

Post by Yazeed92 »

Thanks for your replay karlchen.
I have put the first command you gave me, it says:

error reading block 38321053 (Attempt to read block from file system resulted in short read)

and then it asks me this question:

ignore error?
I have entered Y. and then it asked me again this question:
Force Rewrite

I entered no as I did not what it meant by that. what shall I do next?
thanks
Yazeed92

Re: Mint 13 suddenly boots into (initramfs)

Post by Yazeed92 »

Solved, I put the first command and it was enough.
thanks mate.
baj
Level 2
Level 2
Posts: 92
Joined: Mon Feb 11, 2013 1:36 am

Re: [Soved] Mint 13 suddenly boots into (initramfs)

Post by baj »

I had a "bad update" in Mint v18.2 cause this, but Karl's command did the trick.

Code: Select all

sudo fsck -f -V /dev/sdaX
Thanks Karl!
Locked

Return to “Installation & Boot”