How to recover grub2 after installing Windows

Created by Jeff Lane 
Keywords:
windows win7 bootloader boot grub

Q: I installed Ubuntu on my computer and then installed Windows 7. Now I get the Windows Bootloader and can not boot Ubuntu!

A: This is a fairly common problem. When you installed Windows, the Windows installer overwrote the boot sector of the hard disk with the Windows bootloader. Unlike pretty much every Linux out there that kindly sets up multiple boot scenarios for you, the Windows installer refuses to configure any other OS but itself.

If you insist on using the Windows Bootloader, you can configure that to boot Linux. You'll have to Google that for yourself, thought.

If you'd prefer to use Grub2 instead, you can easily fix this with a little command line usage. Follow the instructions provided on this askubuntu.com question:

http://askubuntu.com/questions/83771/recovering-grub-after-installing-windows-7

This will guide you through the process of recovering grub2 on your system and being able to boot both Windows and Linux.