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

2 Answers 2

7

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
bootrec /rebuildbcd
6
  • Downloaded and wrote UBC, How can I get a command prompt? Jul 6, 2013 at 4:24
  • 1
    I couldn't use UBCD.Thanks for the code.It worked.I'll update me post Jul 6, 2013 at 6:42
  • This is still the best answer :D Aug 30, 2014 at 8:58
  • If you don't have a Windows repair/recovery disc (which can be used to fix the bootloader), and don't have a copy of Ubuntu or some other Linux installed elsewhere (which can also be used to fix the bootloader), you may boot from a LiveCD of Ubuntu and then move the bootloader to Windows: sudo apt-get install lilo sudo lilo -M /dev/sda mbr To check which disk (e.g. /dev/sda) contains your Windows partition, use the Disks application available on the LiveCD.
    – jevon
    Feb 8, 2015 at 11:57
  • How do I run a commad prompt?
    – Vader
    Feb 13, 2015 at 15:50
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .