Ubuntu – Ubuntu Suddenly Won’t Load


I was using the computer and I went back to Windows and it launched in start-up repair. Now when I try to start Ubuntu this screen comes up that says something about grub files and talks about giving some command. Then it has grub> and a blinking cursor.

I honestly don't know how to get rid of it and I would just uninstall and reinstall Ubuntu but I don't want to lose my files which I hadn't backed up. Help?

Best Answer

You don't need to reinstall Ubuntu, only reinstall Grub. You can boot from a LiveCD of Ubuntu and try reinstall it:

Open the live version. Open the terminal and run sudo fdisk -l to see where Linux is installed.

Run sudo mount /dev/sdaX /mnt where X is the number you have found Linux word in.

Run sudo grub-install --root-directory=/mnt /dev/sda to install grub.

Run sudo update-grub to update grub.


More information on reinstalling grub:

Related Question