Jun 07

Windows XpI have installed Ubuntu on Windows XP just to see how the new version is looking and try some features. At the end of the day, I have uninstalled it, but struck with the problem of bootloader. After installing Ubuntu, it has made changes to Windows bootloader so that while booting we can select Windows XP or Ubuntu from the list. Though I uninstalled the Ubuntu, the bootloader continued to show both operating systems and it was really annoying.

So, I have searched the Internet if there is any solution and what everyone was to use the Windows XP CD to repair it. Once we boot into the XP CD, we need to type “fixmbr” into recovery console to repair it. So, I digged the net to see if there is a simple solution and came with this. It worked for me great and there is no need to have XP CD. Follow these steps and you are done.

  • Right click on “My Computer” and click “Properties” which is at the end of the menu.
  • Select the “Advanced” tab from the list of tabs. Then, click “Settings” button in the “Startup and Recovery” section at the bottom.
  • It will open up a new window and then click “Edit” button, which will load boot.ini in notepad where you can edit it.

A normal boot.info file look like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional”/fastdetect

Though I have uninstalled the Ubuntu, the boot.ini was looking like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional”/noexecute= optin/fastdetect
c:\wubildr.mbr=”Ubuntu”

I have just copied the normal boot.ini code into the boot.ini, saved it, and restarted. Voila…..I got rid of the nagging dual boot window.  Below are the screenshots to guide you visually.

Bootloader 1

Bootloader 2

Related Posts:

  1. Telugu rendering and writing in Windows XP Have you ever looked at the web pages in Telugu?...
  2. Free Windows Registry Cleaner While going through an online software selling website, I...
  3. IDwhois – Free WhoIs client for Windows Yesterday, I have come across this fast and free WhoIs...

\\ tags: , , ,


16 Responses to “How to restore the Windows XP bootloader – After uninstalling Ubuntu”

  1. 1. kyleNo Gravatar Says:

    THANK YOU SO MUCH!! I had the same problem and it work! YOU ARE THE BEST!

  2. 2. BobMarcheNo Gravatar Says:

    Thanks for the useful info. It’s so interesting

  3. 3. j doeNo Gravatar Says:

    trying it now, thanks for the help.

  4. 4. SrinivasanNo Gravatar Says:

    hello navin, can u say me how to bring back my ubundu startup screen after reformating windows? linux exists but isnot accessible

  5. 5. Harshal JainNo Gravatar Says:

    Hey,
    No need to go into My Computer properties and all that stuff to open boot.ini file. Simply open command prompt and go to C:\. In that, type boot.ini there it’ll automatically open boot.ini

  6. 6. NaveenNo Gravatar Says:

    It does not work on my system. Are you missing something?

  7. 7. ChandraSekarNo Gravatar Says:

    Hello Admin. You have installed ussing Wubi. If the user installed not using Wubi, the xp boot loader will be replaced by GRUB ubuntu loader. So ur method will not work. FIXMBR is the only solution. Update your post so that users ll know this

  8. 8. NaveenNo Gravatar Says:

    Thanks for the tip!

  9. 9. GregNo Gravatar Says:

    Thanks a million! This tip worked like a charm.

  10. 10. Anurag KesariNo Gravatar Says:

    here’s my story:
    i installed ubuntu 9.04 this morning (with win XP, dual-boot). however, accidentally, i installed it on an external USB hard drive that happened to be connected to my laptop at that time. because of that, the ubuntu OS as well as the bootloader got installed on that external drive and now my laptop does not even let me run Win XP without that ext. drive. (Sort of like a lock and key, wherein i don’t get to use my machine unless the drive is connected to it!). I can, however, disconnect the drive once i load up one of the OSs. I’m in a total mess right now. I’m trying to undo all the damage and run linux side-by-side Win XP WITHOUT that cursed drive!
    thanks for your tip. trying it now. if it works, i’ll take all you guys on the forum out for lunch! (hehehe)

  11. 11. Oliver JonesNo Gravatar Says:

    If you have booted into recovery mode AND tried this trick, and you are still getting the Ubuntu boot loader, open a command shell (Run) on Windows XP, and try this:

    diskpart
    select disk 0
    select partition 1
    active
    exit

    This will set the Windows partition as the active one, so it will boot first.

  12. 12. trinathNo Gravatar Says:

    hai navin i hope you will reply to my problem.i have installed ubuntu 9.04 totally in my system,i was using that for the pas ttwo months.its was good regarding security .but i want to move back to my old xp os.so can u tell me how to reinstall my old xp.
    itried like this i inserted my xp cd and restated and pressd f8 then blue screen giving boot options came.i clicked cdw/dvd then enter.next thing it moved again to ubuntu only.please help me to get my xp back..thanks in advance

  13. 13. NaveenNo Gravatar Says:

    You have to uncheck other booting options. It should only boot to CD. Also, uncheck booting from other devices.

  14. 14. NaveenNo Gravatar Says:

    Thanks for the trick Jones.

  15. 15. TKNo Gravatar Says:

    Thanks a ton…

  16. 16. AnuragNo Gravatar Says:

    Yaaay!!! I fixed it! But not using the method given here. There’s a way to do it from the Linux terminal. I tried it and it works well!

Leave a Reply