Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have created a Vista disk image with ImageX, largely following the instructions at http://www.svrops.com/svrops/articles/sysprepvista.htm. When I apply the image to a clean, active partition on identical hardware, I get the message "BOOTMGR is missing."

I can get the computers to boot by using the repair tool on the Vista media. If I click "Repair your computer" after booting to the OS media, Windows searches for installations, presumably finds one, and says "Windows found problems with your computer's startup options." I then still get the "BOOTMGR is missing" error - but if I run the "Repair your computer" tool again, I get a dialog that allows me to choose "Startup repair" from a bunch of options. After this, the computer will boot.

I want to understand why this is happening - and how I can avoid it, either by adding script actions after the ImageX command or otherwise.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I've had to deal with this building custom BartPE-based Windows Vista imager DVDs.

After you run ImageX, run the following commands (assuming your Vista boot volume is assigned to drive letter "C:" when you run these):

bootsect /NT60 C:
bcdedit /set {default} device partition=c:
bcdedit /set {default} osdevice partition=c:
bcdedit /set {bootmgr} device partition=c:

Off the top of my head, I believe I got "bootsect" from the Windows Automated Installation Kit. "bcdedit" is already part of Vista.

share|improve this answer
    
Giving this a shot now! Thanks Evan! –  Doug Chase Aug 7 '09 at 19:51

Your Answer

 
discard

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.