Friday, July 27, 2012

No Boot Menu After Installing Ubuntu with Windows 7

I've installed Ubuntu to dual boot on 3 computers running Windows 7. On every one of them I've had to do a boot repair in order to get the Linux grub working correctly. I also had to fix the loader on Windows 7 using a Windows 7 install disk, and telling it to repair Win 7 on 2 of the installations. Windows repaired the boot issue both times.

To fix a corrupted Windows 7 boot you simply boot with any Windows 7 boot disk, then select repair when given the choice. Windows will find the problem and fix the boot issue.

To fix a nonexistent grub boot menu you need to boot from an Ubuntu live CD and follow these instructions to reinstall the Grub menu:

It should look like this:

You need to boot your computer using Ubuntu Live CD or Live USB to repair the grub. Choose "Try Ubuntu."

Once you are finished booting open a terminal, then run the following commands one by one to install a program called "Boot Repair."

To add boot-repair to the repository, enter:
$ sudo add-apt-repository ppa:yannubuntu/boot-repair
To Update your repository, enter:
$ sudo apt-get update
To install boot-repair, enter:
$ sudo apt-get install -y boot-repair

When the installation is complete run "Boot Repair" on terminal by typing the following command:
$ boot-repair

NOTE: You don't have to update Boot Repair.

It will scan the System for few seconds and will show you the option "Recommended Repair" Click on  "Recommended Repair" to start repairing the grub.


Once it's done you click on "OK" to restart you system and you should have a Grub as pictured above.

No comments:

Post a Comment