How to Fix Ubuntu Boot when GRUB2 is messed up
Dual boot systems which is having multiple OS running in a single desktop/laptop via logical partitions, often prone to GRUB issues.
While installing Linux/Ubuntu or Windows – there is a chance of GRUB corruption. If that happens, not everything is lost. There is still a chance that you can boot to your desired OS. Follow below steps.
- Insert the Ubuntu Live Disk/USB Stick. You can use the disk/USB stick that you have used to Install Ubuntu or you can download Ubuntu Live desktop Image from here and write it to a USB/Disk. Ironically this step requires a working machine and if you happen to messed up the only working computer – then, well, may be you should take help from your friends/colleagues.
- If you have the Live Ubuntu CD/Usb Stick is ready then plug/insert it in and reboot.
- While booting, try choosing option “Try Ubuntu”.
- After Ubuntu boot finished and desktop appears, open terminal
- Type below commands
sudo apt-add-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair boot-repair
This will install the boot-repair GUI program and below window would open.
If you want, you can customise various options using advanced option menu. But I would suggest to leave them alone with their default options.
- Click the recommended repair option button.
- Reboot after unplugging/removing USB/Disk.
You should be now able to boot and can see GRUB with your OS menu.
You can also refer the Live CD provided by boot-repair program, in case if you don’t have the Ubuntu Live CD available. You can download the .ISO files from the project @ SF and burn it/write it to a disk/USB and boot from it.