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 🙂





Post a comment or leave a trackback: Trackback URL.

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: