User Tools

Site Tools


virtualization:microsoft:hyper-v-usb

This is an old revision of the document!


Run Microsoft Hyper-V Server From USB

FIXME Gave up trying to get Hyper-V Server 2012 to work…

http://blogs.technet.com/b/klince/archive/2010/09/13/booting-hyper-v-r2-from-a-bootable-usb.aspx

http://www.itstuff.ca/2009/12/create-bootable-usb-drive-for-hyper-v.html

  • Boot Hyper-V Server from USB flash devices
  • Saves hot-swap drive bay for storage
  • 16GB Flash device recommended
    • Get the fastest one you can

On a Windows 7 Workstation

1) Download and Install WAIK: http://www.microsoft.com/en-us/download/details.aspx?id=5753

2) Download the Hyper-V Server .iso file

3) Mount the Hyper-V Server .iso file (G: used here for mounted .iso file)

4) Open a command prompt as administrator:

diskpart

create vdisk file=c:\virtualharddisk.vhd maximum=6000 type=fixed
select vdisk file=c:\virtualharddisk.vhd
attach vdisk
list disk
select disk N (select the newly created VHD)
create partition primary
select partition 1
active
format fs=ntfs quick
assign letter=x
list volume

5) Leave that window open and open another command prompt as administrator.

  1. Change into the appropriate directory (x86 or amd64) based on the architecture of your technician workstation
  2. Apply the install image to the VHD
cd "C:\Program Files\Windows AIK\Tools\<arch>\
imagex.exe" /apply g:\sources\install.wim /check 1 x:\

6) While that is happening, switch back to the diskpart command window to prep the USB flash drive:

list disk (to determine the disk number of the USB flash drive - '4' used here)
select disk 4
clean
create partition primary
select partition 1
active
format quick fs=ntfs
assign letter=z

copy 'boot' files to the USB target disk (I: used here):

bcdboot e:\Windows /s I: /v

virtualization/microsoft/hyper-v-usb.1347652701.txt.gz · Last modified: 2012/09/14 13:58 by gcooper