Ubuntu – How to get GRUB to appear after installing Ubuntu with Windows 7 using a LiveUSB


I booted Ubuntu 12.04 LTS from a LiveUSB, and then selected the option to Install Ubuntu to my hard drive. I allowed the installer to partition it, giving Ubuntu 50GB and leaving Windows 7 with 200GB. However, when I boot, It still boot straight into Windows. The only way to access GRUB is by booting from the LiveUSB, although this can then be removed.

How do I access the GRUB menu without using the USB?

Best Answer

What you need to do is run Ubuntu from LiveCD or LiveUSB and install boot-repair. To install boot-repair, open up a terminal and type the following:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

boot-repair will automatically launch, if is doesn't, launch it via Dash. Make sure to select recommended repair to repair and get grub back.

Reboot and grub will be back on boot.