Hyper-V Server R2の唯一特別機能:USB 起動
Hyper-V Server R2 ????????Windows?????????USB???????????? ????????????OEM?????????????????????USB???????????????????????????????????
??
· 8+ GB USB?????? (USB 2.0????)
· Windows Automated Installation Kit (WAIK)
· Hyper-V Server 2008 R2 DVD (????ISO???????????)
· Windows Vista/Win7/Server 2008/R2
????0: ????????
Windows Vista/Win7/Server 2008/R2????WAIK??????????32????64??????OK
Hyper-V Server 2008 R2?ISO?????????DVD???
USB?????????????????
????1: VHD ???
mkdir c:\hvvhd
diskpart create vdisk file=c:\hvvhd\hyperV.vhd maximum=12288 type=fixed
select vdisk file=c:\hvvhd\hyperV.vhd
attach vdisk
create partition primary
assign letter=r
format quick fs=ntfs label=hyperV
exit
????2: Microsoft Hyper-V Server 2008 R2 ????? VHD ???
cd /d "c:\program files\Windows OPK\tools\<architecture>\"
imagex /apply <WIM???> 1 r:\
<architecture>?x86?AMD64??
<WIM???>?Hyper-V Server R2?INSTALL.WIM????????????Hyper-V Server R2?DVD??SOURCES????????????????
??????????????VHD?????????
diskpart
select vdisk file=c:\hvvhd\hyperv.vhd
detach vdisk
exit
????3: USB ???
USB??????????????
diskpart
list disk
USB??????????????????????????
select disk <USB??????>
clean
create partition primary
select partition 1
active
format quick fs=ntfs
assign letter=z
exit
????4: VHD ????????? USB ????
Copy <VHD ??? > <USB ??????? >
?:
Copy c:\hvvhd\hyperV.vhd z:
????bootsect.exe????????????????
cd /d "c:\program files\Windows OPK\tools\PETools\<architecture>\"
bootsect /nt60 <USB ??????? > /force /mbr
?:
cd /d "c:\program files\Windows OPK\tools\PETools\amd64"
bootsect /nt60 z: /force /mbr
????5: Boot Configuration Data ( BCD )? USB ???
USB???????VHD???????
diskpart
select vdisk file=z: \hyperv.vhd
attach vdisk
exit
???????VHD??????????????
bcdboot <VHD ??? > \windows /s <USB ??????? >
?:
bcdboot r: \windows /s z:
????6: ???Paging??????
USB Flash???????????????Paging????????????????
reg load HKLM\HyperVTemp r: \windows\system32\config\system
reg add "HKLM\HyperVTemp\ControlSet001\Control\Session Manager\Memory Management" /v PagingFiles /t REG_MULTI_SZ /d "" /f
reg delete "HKLM\HyperVTemp\ControlSet001\Control\Session Manager\Memory Management" /v ExistingPageFiles /f
reg unload HKLM\HyperVTemp
????7: VHD ?????????
diskpart
select vdisk file=z: \hyperv.vhd
detach vdisk
exit
????7??????USB???????????????
????????????BIOS?USB??????????????????Hyper-V Server 2008 R2?????USB??????????????
Comments
- Anonymous
November 01, 2014
(参考) USB ブート on USB HDD/SSD/Memory for Windows7 / WindowsPE etc.
The making of the integrated ISO file / bootable CD/DVD/BD
http://hp.vector.co.jp/authors/VA053879/bootcd.htm
The making of 2048[sct] aligned / 2^n[GB] normalized partitions
http://hp.vector.co.jp/authors/VA053879/mkpart.htm
The making of USB bootable system for Windows 7 (OEM_SLP) / PE3.x
http://hp.vector.co.jp/authors/VA053879/usbboot.htm