Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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]

grub>

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

3 Answers 3

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

 
discard

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.