Which tool should you use?

You start Server1 by using a Microsoft Windows Preinstallation Environment (Windows PE) image.
You copy a virtual hard disk (VHD) image named VHD1 to Server1. VHD1 contains a Windows Server
2008 R2 image. You need to configure Server1 to start from VHD1. Which tool should you use?

You start Server1 by using a Microsoft Windows Preinstallation Environment (Windows PE) image.
You copy a virtual hard disk (VHD) image named VHD1 to Server1. VHD1 contains a Windows Server
2008 R2 image. You need to configure Server1 to start from VHD1. Which tool should you use?

A.
Bcdedit

B.
Bootcfg

C.
Diskpart

D.
Dism

Explanation:

To add a native-boot VHD to an existing Windows 7 boot menu If you are deploying the VHD to a
computer with an existing Windows 7 or Windows ServerR 2008 R2 installation, you can use the
BCDedit tool to make the new VHD bootable and add it to the boot menu. For more information
about using the BCDedit tool, see this Microsoft Web site. 1. Copy an existing boot entry for a
Windows 7 installation. You will then modify the copy for use as the VHD boot entry. At a command
prompt, type:
bcdedit /copy {default} /d “vhd boot (locate)” When the BCDedit command completes successfully,
it returns a {GUID} as output in the Command Prompt window. 2. Locate the {GUID} in the
command-prompt output for the previous command. Copy the GUID, including the braces, to use in
the following steps. 3. Set the device and osdevice options for the VHD boot entry. At a command
prompt, type: bcdedit /set {guid} device vhd=[locate]\windows7.vhd bcdedit /set {guid} osdevice
vhd=[locate]\windows7.vhd 4. Set the boot entry for the VHD as the default boot entry. When the
computer restarts, the boot menu will display all of the Windows installations on the computer and
boot into the VHD after the operating-system selection countdown completes. At a command
prompt, type:
bcdedit /default {guid}
5. Some x86-based systems require a boot configuration option for the kernel in order to detect
certain hardware information and successfully native-boot from a VHD. At a command prompt, type:
bcdedit /set {guid} detecthal on



Leave a Reply 0

Your email address will not be published. Required fields are marked *