paapereira.xyz

Error while starting Ubuntu

Yesterday, when I was starting up my Ubuntu machine, the screen went white and I had to manually turn off the laptop.

When I started it again the file system checkup (fsck) started. I got a lot of yes or no questions about fixing several problems. Near the end fsck aborted and I was left in the terminal to try and fix the problem.

I rebooted the system, but there was a X server error and it went to the terminal again.

Ok, at this moment I was scared. A lot of data I didn’t wanna lose.

I logged to my desktop machine and went to Ubuntu Forums.

Here’s what I did, and yes, I’m posting from Ubuntu:

1sudo umount /dev/sda1
2sudo umount /dev/sda5
3sudo umount /dev/sda6
4sudo umount /dev/sda7
1sudo e2fsck -C0 -p -f -v /dev/hda1
2sudo e2fsck -C0 -p -f -v /dev/hda5
3sudo e2fsck -C0 -p -f -v /dev/hda6
4sudo e2fsck -C0 -p -f -v /dev/hda7

And that was it :-)

I rebooted and all was ok.

#Linux #Ubuntu