Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to alter Master Boot Record from Windows XP Recovery Console so that it points at an extended Linux partition instead of a NTFS one it is pointing at now?

My MBR used to point at extended partition and every time I powered on a Linux loader started where I could choose to start my Ubuntu.

After a failed Windows XP installation my hard drive's MBR is pointing at the NTFS, which contains currupt Windows XP that won't start.

How do I change MBR back to the state when the booting process proceeds from the Linux partition.

Windows XP recovery console from its installation CD is the only one tool I have right now. It has fixmbr command, but it seems only to be able to fix a corrupt MBR, so it can't change MBR to point to another partition.

Is there any way to change MBR with WinXP recovery console?

UPD: I can also rephrase the question like this: "How to change boot parititon under Windows XP recovery console?"

share|improve this question
up vote 1 down vote accepted

The MBR simply contains executable code to start the bootloader. The Windows Bootloader configuration is stored in C:\boot.ini.

That aside, for a Linux/Windows dual boot situation, I recommend using GRUB in place of the standard Windows boot loader. If you need to get into your Linux partition in order to set this up, I recommend Super Grub Disk. This tool can be used to boot any OS on your computer, or install GRUB to your MBR.

Good luck!

share|improve this answer

You could download one of those GParted Live rescue CD's and change the active partition back to linux.

share|improve this answer

This sounds more like a superuser question. Kyle's answer is pretty spot on, you can just edit your boot.ini and have it load up linux, then setup GRUB, you should also be able to boot into your distro using your install CD and setup GRUB.

See: for help with setting up your boot.ini

share|improve this answer
echobeach2s suggestion is also reasonable. Microsoft did not include FDISK in the recovery console, so short of either chainloading GRUB from your boot.ini or using another tool (like gparted or another livecd) you're not going to have much luck. – Tyler Oct 22 '09 at 23:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.