Missing Bootmgr when deploying imagex OS Image
search cancel

Missing Bootmgr when deploying imagex OS Image

book

Article ID: 17390

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA Server Automation

Issue/Introduction

Problem

  • An osimage was created from a custom wim. 
  • The ImageX process completed successfully 
  • On reboot the PC displays "Bootmgr is missing" and does not load windows

Environment:  

  • ImageX OSIM deployments

Cause:

  1. The template PC that was captured was configured with a small system partition.
  2. When the Wim was captured it only contained the OS partition which does not contain the boot environment files

Resolution

Use the bcdboot command to initialize the drive with the boot environment files

  1. Browse to the camenu folder
    .................\CA\DSM\Server\SDBS\var\managedpc\camenu 
  2. Edit the imagename.cmd for the OSImage in question 
  3. add the following after the imageX command to extract the wim
     
    • bcdboot c:\windows

Additional Information:

example modifications

Windows 8

rem ---- Unpack the ImageX image.
ECHO Restore "%$ImageXImage$%" using ImageX

format c: /FS:NTFS /X /Q /V:OSIM_VOL /Y

cmd /c "s:\dism.exe /apply-image /imagefile:"%$ImageXImage$%" /index:1 /ApplyDir:c:\ /Verify"
if not %errorlevel% == 0 (
echo Error from ImageX during restore of %$ImageXImage$%.wim
goto error )

bcdboot c:\windows


Windows 7

rem ---- Unpack the ImageX image.
ECHO Restore "%$ImageXImage$%" using ImageX

format c: /FS:NTFS /X /Q /V:OSIM_VOL /Y

cmd /c "s:\imagex.exe /apply "%$ImageXImage$%" 1 c:\ /verify"
if not %errorlevel% == 0 (
  echo Error from ImageX during restore of %$ImageXImage$%.wim
  goto error
)

bcdboot c:\windows

NOTE:
The deployment of UEFI enabled target is supported only with WINPE40x64 images.

For more information about deploying an OS to a UEFI enabled system, please see the documentation here:


https://docops.ca.com/ca-client-automation/14-0/en/administrating/os-installation-management-administration/osim-images-using-imagex/deploy-os-to-uefi-enabled-target

 



Environment

Release: SEAUBC99000-12.8-Server Automation-Base Configuration
Component:

Resolution

Please Update This Required Field