Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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

share|improve this answer

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

share|improve this answer

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
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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