How to make Windows bootloader the default?
Solution 1
Use EasyBCD to take Ubuntu from your bootloader
EasyBCD will overwrite GRUB, after that format the Ubuntu partition: Done!
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.
- Boot in Recovery mode from an XP CD. You need to boot from the CD to do this.
- Run
fixboot
- Run
fixmbr
- 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:
- Boot up with your Windows XP disc.
- Select the option Recovery Console.
- At the prompt, type: fdisk /mbr
- Restart your computer.
Related videos on Youtube
Javier
Updated on September 17, 2022Comments
-
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 almost 15 yearsDon'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 almost 15 yearsI used to boot Linux using the NT bootloader when dual booting between Redhat and NT 4. So difficult and so pointless. ;-)
-
-
GeneQ almost 15 yearsSometimes when neither fixboot or fixmbr works, fdsik /mbr is the last resort. ;-)
-
Ivo Flipse almost 15 yearsEasyBCD should pay me for all this free marketing!
-
GeneQ almost 15 yearsA. Scagnelli's answer should be the main answer, mine is supplementary; for worst case scenarios only.
-
Javier almost 15 yearsWill it work in XP?
-
larus almost 15 yearsthat's fdisk /mbr , not fdsik
-
Babu almost 15 yearsEasyBCD will overwrite grub's entry in the MBR.
-
Andrew Scagnelli almost 15 yearsThe 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 almost 15 yearsValid point, but it does do the trick (if you know what your doing)