Before I provide the detailed steps, let me just provide an overview of the process.
imagex /apply e:\sources\install.wim 1 f:\
install.wim
file located in the sources directory of the source filesF:\
(VHD file)
A telepítőkép kicsomagolásához szükség van az ImageX.exe
-re
bcdedit /enum /v bcdedit /copy {current} /d "Windows 7 VHD Boot" bcdedit /set {d89f3fa4-6416-11de-b070-b08b383b8f33} device vhd="[locate]\VHD Files\WIN7.vhd" bcdedit /set {d89f3fa4-6416-11de-b070-b08b383b8f33} osdevice vhd="[locate]\VHD Files\WIN7.vhd" bcdedit /set {d89f3fa4-6416-11de-b070-b08b383b8f33} detecthal Yes
Ilyesmit kell kialakítani:
Windows rendszertöltő --------------------- azonosító {d89f3fa4-6416-11de-b070-b08b383b8f33} device vhd=[locate]\VHD Files\WIN7.vhd,locate=custom:12000002 path \Windows\system32\winload.exe description Windows 7 VHD Boot locale hu-HU inherit {6efb52bf-1766-41db-a6b3-0ee5eff72bd7} recoverysequence {54d78c0b-bb2c-11e0-aaec-b1d1d5d664d9} recoveryenabled Yes osdevice vhd=[locate]\VHD Files\WIN7.vhd,locate=custom:22000002 systemroot \Windows resumeobject {54d78c09-bb2c-11e0-aaec-b1d1d5d664d9} nx OptIn detecthal Yes