Windows – How to Replace GRUB Boot Loader from Within Windows

bootbootloadereasybcdgrubmulti-boot

I have dual boot (Debian and Windows XP), and the boot is from GRUB. I want to remove Linux and grub, and restore the Windows boot. However, I cannot use installation CD to restore the MBR. Thus, I want to restore Windows boot from inside the Windows. There is a software called EasyBCD, but it works for Windows Vista/7 bootloader, and does not work with Windows XP standalone.

Is there a similar program for Windows XP or a method to do so safely from within the Windows environment?

NOTE: My problem is that this is an old computer which does not boot from USB and has a broken CD drive. Thus, if corrupting boot loader, there should be a long way to recover the computer.

Best Answer

As far as you can boot Windows use the following command at the Windows command prompt:

fdisk /mbr

then don't forget to set the active partition

Related Question