Recover Grub2 after installing Windows

Posted: January 20, 2013 in Linux Terminal
Tags: , ,

[Recover grub back again after if it is lost of these reasons– windows 7/xp/vista/8 installation, uninstalled package grub from Linux system.]

So you were enjoying life using Ubuntu and then one day you had to install Windows for that one application your boss makes you use and now no more Ubuntu. When we need a dual boot system it’s always best to install Windows first then Ubuntu due to Windows stripping out the boot loader but what if you have no choice? or a crash that corrupted the boot loader. Boot-repair  to the rescue.

So what is Boot-Repair?
Its a small graphical tool used to restore access to Ubuntu and other OS’s such as Windows when disaster strikes, it has two basic options.(See Figure)  and follow steps below-
Boot-repair
  •  run Ubuntu  media in live mode.
  •  connect Ubuntu to Internet source
  • 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 
  • click “Recommended repair” and apply.  make sure you leave the “Reinstall GRUB” check-box ticked. Now reboot your system. now you can see GRUB back.
Advertisements
Comments
  1. I’m not that much of a online reader to be honest but your
    sites really nice, keep it up! I’ll go ahead and bookmark your site to come back in the future. Cheers

  2. I blog frequently and I seriously appreciate your information.
    This great article has truly peaked my interest. I will bookmark your website
    and keep checking for new details about once a week.
    I opted in for your Feed as well.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s