Restoring MBR to boot XP directly

|

My Desktop PC has dual boot to SuSE 9.3 and XP. Since I am now switching to use VM Server, the old SuSE no longer needs. To get more disk space, I need to uninstall SuSE. The problem is, I have to uninstall grub first and restore the original XP bootloader.

The old way is to use the famous "fdisk /mbr" tricks. However, the modern XP no longer ships with fdisk anymore. Surfing the net I found that I need XP CD to boot in recovery mode and run "fixmbr" command. I don't have the XP CD on hand as this is an office desktop that our support team owns the CDs. Searching further I finally discovered that SuSE will backup the original MBR when installation and I can use YaST to restore the MBR.

Here are the steps:

  1. Boot SuSE
  2. YaST Control Centre -> YaST Module -> System -> Boot Loader
  3. Enter Adminstration Mode (if normal user)
  4. Select Restore MBR.
  5. Reboot.

Bingo. I got XP booted directly. Now I can trash the SuSE partition, freeing 40GB disk space for VM images.