This blog is intended to help you get started with Windows Server 2012 R2 and Windows 8.1 real easy. It is just a quick reminder of an older blog of mine describing the Boot from VHDX process, which is sometimes also referred to as Native VHD boot. The idea is that you boot off a self-created VHDX and have all the functionalities of the operating system at your disposal. Running Hyper-V is just one of these options.
Wait for the upcoming new Preview builds of Windows which you will be able to download next week as ISO files. To make Boot from VHDX work as intended, you need to convert that ISO file to either a VHD or VHDX. If you are running Windows Server 2008 R2 or Windows 7, I suggest you use VHD because VHDX was not supported at the time. If you are running Windows 8 or Windows Server 2012, you can convert the OS ISO file to VHDX by running this handy script created by Mike Kolitz.
The Convert-WindowsImage.ps1 script does all the work.
All you need to do is have the ISO file available, use above script and make the VHDX bootable.
Start Windows PowerShell in Administrator mode and run the script like this:
If you run it with –ShowUI parameters a menu will appear asking you to fill out some details:
The script will run for a will so wait till the VHX has been created.
As soon as the VHDX is ready, place it in the preferred directory. In my case I have placed the VHDX in the c:VHDX directory:
Finally you can make the VHDX bootable by just two steps:
- Right-click the VHDX to mount it (check the drive letter, e.g. F: )
- Run this command in an administrative prompt: bcdboot F:Windows
And you are done. The bootable VHDX is now at the top of your boot order list. As soon as you reboot your machine, it starts he new operating system without hurting your current installation.
Have fun testing the great new Windows versions for both server and client!