Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

marked as duplicate by Anwar Shah, Mitch, Stephen Myall, Mik, Thomas W. Sep 25 '12 at 13:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Why not installing 12.04 again. –  Anwar Shah Sep 25 '12 at 5:46
add comment

2 Answers 2

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.

share|improve this answer
add comment

install Boot-Repair in Ubuntu

  1. Boot your computer on a Ubuntu live-CD or live-USB.

  2. Choose "Try Ubuntu"

  3. Connect internet

  4. Open a new Terminal Ctrl+Alt+T, then type:

    sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

  5. Press Enter.

  6. Then type:

    sudo apt-get install -y boot-repair && boot-repair
    
  7. Press Enter.

Using Boot-Repair

enter image description here

Recommended repair

  1. 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

  2. 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.

  3. If the repair did not succeed, indicate the URL to people who help you by email or forum.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.