Solution to 'BOOTMGR is missing' error
First post on appdeploy. I only signed up after Sydney Konference.
I noticed a few posts with people reporting that they get the error: "BOOTMGR is missing Press ctrl-alt-del to restart" after they apply a Win 7 image and reboot.
The reason why this happens has been posted elsewhere. In short Windows 7 needs a small system partition in addition to the main (data) partition.
The way I solved this problem was to create a preinstall task to create and assign the two partitions (system and data), and then a mid level postinstall task to get Win7 to recreate the boot files on the system partition before restarting.
In our case, the main image was harvested from D: and so our preinstall task is a diskpart script that creates and formats the 200Meg system partition, makes it active, and assigns it drive letter C:. Then creates and formats the main partition, and assigns it drive letter D:.
Then we deploy our System Image.
Then the mid level postinstall task runs a the bcdboot command based on the following Microsoft technet article to create the boot files in the system partition. http://technet.microsoft.com/en-us/library/dd744347(WS.10).aspx
The code for both tasks is below.
DISKPART script for Preinstall task
BAT script for mid level postinstall task
There is also a Kace KB article which shows a different way of working on this problem. http://www.kace.com/support/kb/index.php?action=artikel&cat=54&id=994&artlang=en
Hope this helps [:)]
I noticed a few posts with people reporting that they get the error: "BOOTMGR is missing Press ctrl-alt-del to restart" after they apply a Win 7 image and reboot.
The reason why this happens has been posted elsewhere. In short Windows 7 needs a small system partition in addition to the main (data) partition.
The way I solved this problem was to create a preinstall task to create and assign the two partitions (system and data), and then a mid level postinstall task to get Win7 to recreate the boot files on the system partition before restarting.
In our case, the main image was harvested from D: and so our preinstall task is a diskpart script that creates and formats the 200Meg system partition, makes it active, and assigns it drive letter C:. Then creates and formats the main partition, and assigns it drive letter D:.
Then we deploy our System Image.
Then the mid level postinstall task runs a the bcdboot command based on the following Microsoft technet article to create the boot files in the system partition. http://technet.microsoft.com/en-us/library/dd744347(WS.10).aspx
The code for both tasks is below.
DISKPART script for Preinstall task
select disk 0
clean
create partition primary size = 200
select partition 1
active
format fs=ntfs label="system" quick
assign letter = c
create partition primary
select partition 2
format fs=ntfs label="Windows7" quick
assign letter = d
BAT script for mid level postinstall task
bcdboot d:\windows /s c:
There is also a Kace KB article which shows a different way of working on this problem. http://www.kace.com/support/kb/index.php?action=artikel&cat=54&id=994&artlang=en
Hope this helps [:)]
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.