Sometimes, when you install a new Linux distro in your PC and you didn’t set the boot flag correctly, you will often end up with a unbootable machine with the following error message (as shown in the left image).
This happened to me while I were installing the Ubuntu 12.10 on my PC. The installation went fine, but when I reboot, the error message show up and I am not able to boot into my desktop. Since I am pretty sure I have installed the boot loader, the issue seems to be that the Grub can’t find the boot folder and read the necessary files. Here’s the fix.
1. Reboot my PC using the Ubuntu USB Installer and boot into the LiveCD.
2. Select the “Try Ubuntu” to go to the Live Desktop. Open a terminal.
3. Install Boot Repair. (For this to work, you have to be connected to the Internet)
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install boot-repair
4. Run Boot Repair with the command
boot-repair
This is what you will see:
5. Click the “Recommended Repair”. This will reinstall Grub and set the pointer to point to the correct location. In most cases, this will fix the boot issue. If not, you can go to the “Advanced Option” and customize the options.
6. Lastly, when you see the following message, you can safely reboot the PC (and remove the USB drive).
You should be able to boot into your desktop now.
8 comments
Comments are closed.
i followed the steps but got a boot unsuccessfully repaired. any tips on how to go about it. i am dual booting with windows
http://paste.ubuntu.com/1373049/
Does that work for you?
Worked like a charm with my manual Mint 14 install. Many thanks! :)
Thanks saved my lot of time :)
been trying for days till now excelent thanks
Does it work with virtualbox Debian 64 bit?
It should work in virtualbox, but I am not sure about Debian