Possible Duplicate:
How to manually install boot loader?
Grub failure when installing 12.4 alongside Windows 7 (50 GB partition for 12.4), need to manually install bootloader. Where can I find this?
Possible Duplicate:
How to manually install boot loader?
Grub failure when installing 12.4 alongside Windows 7 (50 GB partition for 12.4), need to manually install bootloader. Where can I find this?
install Boot-Repair in Ubuntu
Boot your computer on a Ubuntu live-CD or live-USB.
Choose "Try Ubuntu"
Connect internet
Open a new Terminal Ctrl+Alt+T, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Press Enter.
Then type:
sudo apt-get install -y boot-repair && boot-repair
Press Enter.
Using Boot-Repair
Recommended repair
launch Boot-Repair from either :
a. The Dash (the Ubuntu logo at the top-left of the screen)
b. Or System->Administration->Boot-Repair menu (Ubuntu 10.04 only)
c. Or by typing 'boot-repair' in a terminal
Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.
If the repair did not succeed, indicate the URL to people who help you by email or forum.
What you need to do is create a Boot-Repair Live USB or Live CD. This will repair Grub and allow you to boot Windows and Ubuntu again. You can find instructions on creating a Boot-Repair Live USB or CD here.