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.
  1. I had Windows 7 and Ubuntu installed on the same partition
  2. Some time later, decided to uninstall Ubuntu.So I booted Ubuntu,Changed the hd related to it to NTFS,I did NOT extended my main drive

  3. restarted-> GRUB rescue>. No surprise since I had just wiped out the whole GRUB directory staff

  4. Now I just want to boot into my windows.Move my necessary files to an external memory and reinstall the windows seven

What I have in my hands:
Ubuntu live CD, A copy of win7 DVD
I tried to make use of the win7 DVD(I had lost my DVD) to fix the mbr but the problem is when I choose repair, It says that this version of Windows is incompatible with yours
What should I do?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

One way of doing that, is to download the Ultimate Boot CD, once downloaded, go ahead and burn the ISO to CD, boot from it, and run a command prompt.

Once you get the prompt, run the the following two commands in a command prompt:

bootrec /fixmbr
bootrec /fixboot
share|improve this answer
    
Downloaded and wrote UBC, How can I get a command prompt? –  Zeta.Investigator Jul 6 '13 at 4:24
    
I couldn't use UBCD.Thanks for the code.It worked.I'll update me post –  Zeta.Investigator Jul 6 '13 at 6:42
    
This is still the best answer :D –  Alan Asher 17 hours ago

Using windows xp cd boot the machine, delete the linux partition and turn of the pc without installing windows xp operating system. Automatically system will boot normally. Reason: all the necessary files required by boot loader will be copied when you boot from cd.

share|improve this answer

protected by Braiam Feb 24 at 4:55

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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