VHD-ről bootolás (Windows 7, 8)

http://blogs.technet.com/b/haroldwong/archive/2012/08/18/how-to-create-windows-8-vhd-for-boot-to-vhd-using-simple-easy-to-follow-steps.aspx

http://technet.microsoft.com/en-us/library/gg318051%28v=ws.10%29.aspx

Before I provide the detailed steps, let me just provide an overview of the process.

First, I need to be running Windows 7 or higher or Windows Server 2008 R2 or higher in order to perform these steps and have administrative access.

I then need to create a VHD file and format it.

Mount the ISO of Windows 8 (or have the thumb drive or DVD inserted or just have the source files available).

Open a Command Prompt (run as Administrator).

Use ImageX:

imagex /apply e:\sources\install.wim 1 f:\

I am essentially installing Windows 8 from the install.wim file located in the sources directory of the source files

Selecting the 1st OS instance in the WIM file

Installing it to drive F:\ (VHD file)

Add the installation of Windows 8 to the boot menu.

ImageX telepítése

A telepítőkép kicsomagolásához szükség van az ImageX.exe-re

http://www.microsoft.com/hu-hu/download/details.aspx?id=5753

Dropboxból

Boot rekordok beállítása

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