This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:microsoft:hyper-v-usb [2012/09/15 14:49] gcooper |
virtualization:microsoft:hyper-v-usb [2019/05/20 11:32] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Run Microsoft Hyper-V Server From USB ====== | ====== Run Microsoft Hyper-V Server From USB ====== | ||
- | FIXME Gave up trying to get Hyper-V | + | See also **[[https:// |
+ | |||
+ | FIXME I'm not really sure how well this works because it was so slow to boot up that I decided I'd rather use a 32GB SSD and Velcro... | ||
http:// | http:// | ||
Line 20: | Line 22: | ||
R: = Mounted VHD file | R: = Mounted VHD file | ||
Z: = Mounted USB flash drive | Z: = Mounted USB flash drive | ||
- | 1 = Disk number of VHD | + | 1 = Disk number of 16GB USB flash drive |
- | 2 = Disk number of 16GB USB flash drive | + | 2 = Disk number of VHD |
1 = Partition number on VHD | 1 = Partition number on VHD | ||
1 = Index number of the image within install.wim (there is only one image within the Hyper-V Server install.wim) | 1 = Index number of the image within install.wim (there is only one image within the Hyper-V Server install.wim) | ||
Line 64: | Line 66: | ||
</ | </ | ||
- | 7) After imagex finishes, switch back to the " | + | 7) After imagex finishes, switch back to the " |
< | < | ||
Line 90: | Line 92: | ||
9) Prep the boot sector of the USB flash drive: | 9) Prep the boot sector of the USB flash drive: | ||
+ | < | ||
cd /d " | cd /d " | ||
bootsect /nt60 z: /force /mbr | bootsect /nt60 z: /force /mbr | ||
+ | </ | ||
- | 9) | + | 10) Switch back to the " |
+ | |||
+ | < | ||
+ | select vdisk file=z: | ||
+ | attach vdisk | ||
+ | </ | ||
+ | |||
+ | 11) Back in the " | ||
+ | |||
+ | < | ||
+ | bcdboot r:\windows /s z: /v | ||
+ | </ | ||
- | ' | + | 12) Disable paging. |
< | < | ||
- | bcdboot x:\Windows | + | reg load HKLM\HyperVTemp r:\windows\system32\config\system |
+ | reg add " | ||
+ | reg delete " | ||
+ | reg unload HKLM\HyperVTemp | ||
</ | </ | ||
- | 8) Switch back to the " | + | 13) Switch back to the " |
< | < | ||
Line 108: | Line 126: | ||
</ | </ | ||
- | 9) Safely Remove the USB flash drive from the technician workstation and test. | + | 14) Safely Remove the USB flash drive from the technician workstation and test. |