Jump to content

How do I restore the Windows XP Bootloader?!


rickrolled
 Share

Recommended Posts

I have two hard drives. I have Windows XP on one and Windows 7 on another one. I used dd (a linux low level utility) to backup the Windows XP bootloader. Then, I installed Windows 7 to the other hard drive. It installed fine, but it put the Windows 7 boot manager on the XP hard drive (I did NOT want this). I used dd to copy the backed up XP bootloader back to the hard drive using the following command:

"sudo dd if=XPbootloader.img of=/dev/sda bs=446 count=1"

Then I unhooked the Windows 7 drive and rebooted. The windows 7 boot manager is still on the XP drive even though I am certain I overwrote the boot loader area of the hard drive. I do not want any options of OSes on this drive, I want it to boot straight to XP. How do I fix this? I do not have the XP CD anymore..

Link to comment
Share on other sites

I figured it out.

If you have XP on a separate drive and you install Windows 7, and the XP hard drive now has the boot menu you can remove it by doing the following:

boot the computer up running another operating system (a Linux Live CD perhaps). Find boot.BAK, bootmgr, and BOOTSECT.BAK and delete these files from the file system. Now if you reboot and boot from your XP hard drive the boot manager will be gone but you can still boot into XP. It seems like the XP, Vista and 7 bootloader may be the same, but XP's boot.ini communicates to it, while those three files tell the bootloader what to do in Vista and 7. Also, it seems like those three files override XP's boot.ini if they are in the same folder together

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy