An existing VHD file to the boot manager of Windows 7 to take time, enter from an administrator command line:
bcdedit / {guid} device vhd = [locate] \ set windows7.vhd
bcdedit / {guid} osdevice vhd = [locate] \ set windows7.vhd
If the hardware environment brings about a change and had generalized to the installation in the VHD with Sysprep, you should turn on the recognition of the HAL on the next boot the VHD:
bcdedit / set {guid} detecthal on
However, it is also an already existing installation to extend the Windows 7 boot manager to integrate it VHD file as a boot device. The easiest way from a main memory in the loaded Windows PE version. But enough to boot from a Windows 7 installation source. There, you go to the computer repair options and open a command line options. Here you go then:
- Copy the VHD file on the local hard disk:
copy y: \ windows7.vhd c: \
- Temporary integration of the VHD file as a drive:
diskpart
select vdisk file = c: \ windows7.vhd
attach vdisk
assign letter = v
exit
- Copy the boot environment of the VHD file and the Boot Configuration Data (BCD) configuration with Bcdboot from the \ Windows folder of the VHD to the physical system partition. For PCs with a standard BIOS that is the active partition on the first hard disk:
cd / dv: \ windows \ system32
bcdboot v: \ windows
BCDboot automatically import the existing configuration and boot into the menu. Then you integrate the VHD in the boot menu as was already stated.
Bookmarks