How to Recover / Re-Install Grub in Ubuntu 11.04, 10.10 and 10.04

Update: This post is outdated Click Here for the updated one.

In this post I will explain you how to recover / re-install your Ubuntu Grub in easy steps. On dual boot after installing Windows or Fedora you may face this problem, your Ubuntu will not boot or its grub may be wiped out by Windows or Fedora. Boot Repair is the one will do the job, it will re-install your grub.

Follow the steps to Recover / Re-Install it.

1. You need to have Ubuntu Live CD or Live USB.

2. Boot using your Ubuntu Live CD or Live USB, while booting choose Try Ubuntu.

3. Once booted then open a terminal, and run the following command one by one.

To add boot-repair to the repository

sudo add-apt-repository ppa:yannubuntu/boot-repair

To Update your repository

sudo apt-get update

To install boot-repair

sudo apt-get install -y boot-repair-ubuntu

4. Once Installation complete run boot-repair, to run type boot-repair in terminal or select it by System->Aministration->Boot Repair.

First Boot Repair will scan for any bootloader backup is available or not. If not it will ask you that “This will re-install grub bootloader, Do you wish to continue?” Clisk yes. Check the screen shot below.

Once you click yes it will ask for the confirmation, click on advanced option and check the OS and select the drive where you need to re-install it. By default, in all machine it will be sda only so click on Apply to re-install your GRUB. Check the screen shot below.

Thats it, your done. Now restart your system and it should work.

Update: This post is outdated Click Here for the updated one.

Hope this will be helpful for you!!!