Previously I had a dual boot with Windows XP and Fedora. I have deleted Fedora and extended the C drive using Mini Tool Partition Wizard. Then I restarted the system with the Windows XP bootable CD. The CD is not detected and the following is displayed:

GNU GRUB version 0.97 (637K lower/513920K upper memory)
[Minimal BASH-like line editing is supported.For the first word,
TAB lists possible command completions.Anywhere else 
TAB lists the possible completions of a device/filename]


Please help me to restore Windows XP.

  • This is unusual, did you change the boot priority for your CD Drive in your BIOS settings? – Ballistic Nov 3 '12 at 13:00

The problem is that you no longer have the Windows MBR. When a computer boots up it needs to read Sector 0, Position 0, that is where grub or the MBR is installed. When you removed Fedora, you removed the menu.lst file that grub needs in order to understand where the other bootable items are located. In order to get back into Windows again, you needed to restore the Windows MBR before you deleted Fedora. If you can get your XP CD to boot (which you may need to change the boot order in your BIOS) you can follow the instructions here: http://pcsupport.about.com/od/fixtheproblem/ht/repairmbr.htm


From here:

Use the Windows XP recovery console to reinstall Windows' MBR and boot loader (boot from the CD, press R when prompted and then run FIXMBR and FIXBOOT).


If you just extended the disk and the software didn't crash the MBR of the windows partition, you could try:

> root (hdX,Y)  
> makeactive     # activate NTFS partition
> chainloader +1 # boot
> boot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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