Boot winxp from grub command line

Posted on 2007-07-28
Last Modified: 2013-12-15
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?

Question by:ratWonder
    LVL 29

    Accepted Solution

           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
                   chkdsk /p
                    Then restart

    LVL 4

    Author Comment

    Fantastic! worked a treat. Quite a simple solution in the end :)
    Thanks so much.
    LVL 29

    Expert Comment

    by:Alan Huseyin Kayahan
            You are welcome :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now