Monthly Archives: April 2012

Restoring ubuntu grub in dual boot

With the proliferation of linux variants out there, i couldn’t resist the temptation to try out yet another one of the ubuntus, mints, or the fedoras…

But installing a second/third OS next to the default meant loosing out on the already installed GRUB/Boot options during a dual boot.

Note: The scenario below is with all boot options still appearing. Not where your boot option is missing, there are many posts out there which explain that using live cd/usb.

Here’s what I had: Windows 7, Ubuntu 11.10. (Dual boot).

Now, I installed Linux Mint 12 after it’s recent jump in rankings. But this changed the GRUB of ubuntu (earlier one) to the one provided by Mint with default choice as Mint.

So i booted in ubuntu and just fired off these commands in sequence.

sudo update-grub

sudo grub-install /dev/sda

That’s it! rebooted and voila the purple GRUB2 loader was back 🙂