How to make Windows bootloader the default?

6,609

Solution 1

Use EasyBCD to take Ubuntu from your bootloader

EasyBCD will overwrite GRUB, after that format the Ubuntu partition: Done!

alt text

Edit: works in XP, yes

Solution 2

You need to reinstall the Windows NT Loader (yeah, its NT even for XP) to the primary boot partition. Thankfully, doing so is incredibly easy.

  1. Boot in Recovery mode from an XP CD. You need to boot from the CD to do this.
  2. Run fixboot
  3. Run fixmbr
  4. Reboot

As GeneQ added in the comments below, if fixboot and fixmbr fail, you can always use fdisk /mbr. The fdisk method will work on older computers that have MSDOS/9x bootdisks.

Solution 3

When else fails (otherwise use the fixboot/fixmbr method instead) and need to get back to your Windows XP bootloader instead of the one installed by your Linux distro, simply follow these instructions:

  1. Boot up with your Windows XP disc.
  2. Select the option Recovery Console.
  3. At the prompt, type: fdisk /mbr
  4. Restart your computer.
Share:
6,609

Related videos on Youtube

Javier
Author by

Javier

Updated on September 17, 2022

Comments

  • Javier
    Javier over 1 year

    When I got a new computer, I installed Ubuntu and Windows XP on it. When I turn it on, GRUB shows up and lets me choose between the OSes. All right so far.

    A while later, I decided I don't want Ubuntu anymore (Linux fanboys, refrain). I deleted its partition, but I realized too late that GRUB depended on it, so the computer wouldn't boot. I installed Ubuntu again and it's working fine. So how do I tell the computer that I want it to boot directly into Windows?

    • Andrew Scagnelli
      Andrew Scagnelli almost 15 years
      Don't apologize for removing Linux -- even as an ardent Linux supporter I've removed it in favor of Windows a few times (and made the exact same mistake).
    • GeneQ
      GeneQ almost 15 years
      I used to boot Linux using the NT bootloader when dual booting between Redhat and NT 4. So difficult and so pointless. ;-)
  • GeneQ
    GeneQ almost 15 years
    Sometimes when neither fixboot or fixmbr works, fdsik /mbr is the last resort. ;-)
  • Ivo Flipse
    Ivo Flipse almost 15 years
    EasyBCD should pay me for all this free marketing!
  • GeneQ
    GeneQ almost 15 years
    A. Scagnelli's answer should be the main answer, mine is supplementary; for worst case scenarios only.
  • Javier
    Javier almost 15 years
    Will it work in XP?
  • larus
    larus almost 15 years
    that's fdisk /mbr , not fdsik
  • Babu
    Babu almost 15 years
    EasyBCD will overwrite grub's entry in the MBR.
  • Andrew Scagnelli
    Andrew Scagnelli almost 15 years
    The concept of a program like EasyBCD scares me just as much as apps like GPartEd and PartitionMagic. You do not want to be mucking about in the MBR and partition tables of your hard drives while they are running.
  • Ivo Flipse
    Ivo Flipse almost 15 years
    Valid point, but it does do the trick (if you know what your doing)