Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A while ago we announced that Microsoft Hyper-V Server R2 would support booting off of a USB flash device. We have now provided detailed documentation on how to set this up. Even cooler than booting Hyper-V off of a USB device – is the fact that what we are doing is booting a VHD with Hyper-V installed on it off of a USB device:
https://technet.microsoft.com/en-us/library/ee731893(WS.10).aspx
If you are like me – you will probably think: “Cool! I have to check that out!” And then after looking over that page you will think: “Eh, that seems like a lot of work…”
Thankfully Paul Despe has made a little tool that makes this dead simple. You can grab it from here:
https://code.msdn.microsoft.com/BootHVSR2FromUSB
With this tool all you have to do is:
When it is finished you can now take your USB flash disk and boot a system off of it. Once you have completed the standard Hyper-V Server post installation configuration – you can connect to the system remotely and start partying with Hyper-V.
You may be wondering why we are letting you do this. Well that is captured at the top of the TechNet article, to quote:
… The scenario described in this document is only supported for original equipment manufacturers (OEM) …
… A Hyper-V Server UFD can provide virtualization capability for servers that ship with no local hard disks, and it offers the same functionality and flexibility as a Hyper-V Server installation on a physical hard-drive …
The idea here is that OEMs / System Builders that want to make diskless Hyper-V servers (where the virtual machines are stored on some form of central storage) can do so by sticking some cheap flash storage on the disk.
Myself, I just like the idea of having a Hyper-V server with me ready to go at anytime
Some notes to be aware of include:
As a final note – I did not have an 8GB flash device handy for testing this out – so I actually set this up using my PlayStation Portable (PSP). And it works! Now I just have to figure out how to keep Hyper-V on my PSP and still use it for playing games.
Cheers,
Ben
Anonymous
November 18, 2009
The comment has been removed
Anonymous
November 18, 2009
That's pretty clever, but I still like my 64MB ESXi 4.
http://www.vcritical.com/2009/08/the-vmware-esxi-4-64mb-hypervisor-challenge/
Regards,
Eric
Anonymous
November 18, 2009
Any news on when we might get USB support inside VMs though? That would be a tad more interesting and far more likely to be used in real world scenarios.
Anonymous
November 19, 2009
@EricGray,
I checked out your article and found it interesting. I really like the idea of having separate USB drives with Hyper-V R2 and ESXi installed on them so that I can switch depending on what I need to demo. My only question is this: where do the drivers go? Surely you're not able to fit ESXi AND all of the required hardware drivers and configured state info into just 64MB of space, are you?
Anonymous
November 23, 2009
The comment has been removed
Anonymous
November 23, 2009
Running off such a small boot volume means that in the event of a bugcheck (aka BSOD) there may not be enough space to write a memory dump file. Would the inability to write the dmp also prevent logging the details of the bugcheck to the system log?
Anonymous
November 26, 2009
Wouldn't the moving of the key to boot a different system trigger the Windows Activation again as it senses a complete hardware change or if that only for consumer OS like Win7?
Anonymous
December 02, 2009
The comment has been removed
Anonymous
December 14, 2009
The comment has been removed
Anonymous
January 30, 2010
I tried to butcher this process a little to get a Windows 7 bootable vhd to load from an external drive on boot, but alas no joy. Even with the right GUIDs in bootmanager and after bcdedit editing, it wouldn't have it - get a STOP 7B inaccessible boot device bugcheck on boot, others have tried to repair the installation, but I dont think thats on an external vhd......It would be nice to be able to carry a managed dev environment around on a external HDD and be able to boot to it from any machine - system specific devices not withstanding of course....Thanks for the guide.
Anonymous
February 10, 2010
I prefer my method. With a small CDLive distributing Linux (like TinyMe or Xubuntu), with a current kernel, which could support many devices supported by the standard ISO persitent to change and get a fast desktop virtualization program (like VirtualBox), you work your fully virtualized.
Anonymous
February 15, 2010
what should the contents of the usb stick look like? Just the vhd I am assuming.
Anonymous
October 14, 2010
The comment has been removed
Anonymous
August 13, 2011
The comment has been removed
Anonymous
December 18, 2011
So, I like this solution and I currently run it. I have one question. When I built my usb stick, I used an 8GB stick--I followed the instructions, verbatim and now I would like to move this to a 16GB stick. (Allow more room for updates etc.) Any ideas how to move my Existing VHD to a new larger stick.? I really can't build a new one and change a lot of things, because my server is a domain member, the drive setup is all done and would be rather painful to move. I am sure something like DISK COPY will not be that easy, and I know I can grow the VHD using disk part. I will play with things but if anyone has a solid suggestion it would be greatly welcomed.
Thanks Double Z
Anonymous
January 08, 2012
Check this tool to create Hyper-V R2 bootable USB sticks.
www.cite.gr/cite.
Follows the technet article steps.
Don't trust me :-)
I think it works though, but I have tested it only on two machines.
cheers
g
Anonymous
August 12, 2014
Can't find the tool anymore. Any idea if there's something similar for Hyper-V 2012?
Anonymous
January 02, 2016
the file BootHVSR2FromUSB.exe has gone.
can you put it back or email me a copy?
thanks
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in