Super User is a question and answer site for computer enthusiasts and power users. 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

I have 2 hard disks, on first I have installed win xp. I boot into xp and run setup of win7 and installed it on second hard disk. Now the problem is that win7 bootloader is installed on first harddisk, so if I remove the first harddisk, I cannot boot into win7.

How I can move / install bootloader of win7 on second hard disk?

share|improve this question
up vote 9 down vote accepted

Let's try automatic installation and if that doesn't work there is also a manual installation method;
you may have problems with drive letter allocations after this, but that's not too bad to deal with.

  1. Boot from the Windows 7 Installation Medium.

    alt text

  2. Click on Repair your computer or press ALT+R.

    alt text

  3. Click on Startup Repair or press ENTER, let it repair and restart your computer.

  4. Don't forget to remove the installation medium.

If this doesn't work, try a manual installation (replace C: by your drive, X: by the medium):

  1. Boot from the Windows 7 Installation Medium.

  2. Click on Repair your computer or press ALT+R.

  3. Click on Command Prompt or press SHIFT+F10.

  4. Let's fix the Main Boot Record and place the Boot Sector back, enter this:

    bootrec.exe /fixmbr
    X:\boot\bootsect.exe /nt60 all /force
  5. Then ask it (nicely!) to try and rebuild your BCD data from scratch, enter this:

    xcopy C:\boot\bcd C:\windows\justInCase /v /e /h /k /r /o /x /y
    del C:\boot\bcd
    bootrec.exe /rebuildbcd
  6. If you're lucky, this'll work and you'll see a message telling you everything went OK.

  7. Reboot your PC by closing all the dialogs, or enter this:

    shutdown -r -t 0
  8. Don't forget to remove the installation medium.

  9. If you need to recover the BCD due to failure, repeat steps 1 - 3 and enter this:

    xcopy C:\windows\justInCase C:\boot\bcd /v /e /h /k /r /o /x /y
share|improve this answer
Hey, that's not how my answer looked! :-) Many thanks @TomWij for taking the effort to make it pretty. I appreciate it. – user3463 Jan 18 '11 at 22:23
Wanted to improve the formatting a bit, but then I had the urge to add in more information. I'm glad you appreciate it... – Tom Wijsman Jan 21 '11 at 14:18

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.