Mittwoch, 10. Juni 2015

initramfs boot error

Suddenly my Linux Mint system didn't boot anymore, showing me this:




The file system was corrupted as I found out later (the hard drive may had a malfunction). This is a solution that worked for me:


  • Boot up with a Linux live system (for me Linux Mint)


Then I tried to access the hard drive, but I received an error that it was unable to mount, similar to this one:




Running dmesg in the console then told me that there was an I/O error because of bad blocks, and that restoring them didn't work. Mounting in the console didn't work either (even with -o force)





Running fsck on the disk told me again that there were bad blocks and suggested to use e2fsck, like in this picture:





I Followed the advice which was in my case (be careful with this):
sudo e2fsck -b 32768 /dev/sda1

There were a lot of corrections necessary that had to be confirmed by pressing enter, some long matrix-like number rows and at the end I got told that the file system was corrected successfully.

Then I was able to access the contents of the disk, which made clicking noises, but I was able to recover my files and rebooting worked as well.

Cheers :)

Keine Kommentare:

Kommentar veröffentlichen