Boot winxp from grub command line

Hiya. I've done something a bit silly. A while ago I dual-booted fedora with winXP on seperate partitions. I was using grub to boot, so I could choose between the two at boot time. Recently I was running out of hard disk so I used a gparted live CD to delete the fedora partition and grow the windows partition to fill the whole hard drive. But I forgot Grub would still be in the MBR.

So now when I turn on my computer I get a prompt that just says "grub >". I tried using my windows xp cd to repair the windows installation but it didn't help. I guess the windows installation is perfectly healthy just sitting there waiting to be booted, but I have no idea how. Could someone please help me?

Robin.
LVL 4
ratWonderAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Alan Huseyin KayahanConnect With a Mentor Commented:
       Hi Robin
             Boot managers like grub, BootIT NG do create their own MBRs. You should remove the MBR of grub as following
            *Boot from XP CD, enter recovery console. Then run following
                fixmbr
                fixboot
               chkdsk /p
                Then restart

Regards
         
               
0
 
ratWonderAuthor Commented:
Fantastic! worked a treat. Quite a simple solution in the end :)
Thanks so much.
Robin
0
 
Alan Huseyin KayahanCommented:
        You are welcome :)
0
All Courses

From novice to tech pro — start learning today.