This my post about how to get you bootloader back, in case Windows erased it. Easy way out guys, just follow this :
1. Use your ubuntu live CD
2. Go to Terminal then type
3. Find where your grub is by typing
grub> find /boot/grub/stage1
4. Then typed
root(hd0,4) means turn to your GRUB directory at first harddrive on fifth partition
setup (hd0) means installing GRUB on your first harddrive
5. Then typed quit
6. Reboot your computer
7. It's Done!
Read More!