Windows Server 2012 R2 Preview – boot from VHDX

In one of my latest posts I wrote how to install Hyper-V role inside virtual machine. Very often I need that scenario for demos. Disadvantage of that scenario is what can’t run virtual machine inside virtual machine. So, now I can’t avoid that and need “server on metal”! I decided to install Windows Server 2012 R2 Preview on my laptop but I wanted to do boot from VHDX. What is the advantages when we have boot from VHDX? You can run it on every hardware whenever you want. You don’t need to do installation from the beginning, easy migration etc.

Let’s back to the point!

Open Disk Management and Create VHD(X)

1a_thumb2a_thumb3a_thumbPrepare bootable media with WS2012 R2 Preview. You can use DVD or USB. I have chosen USB created with WINDOWS 7 USB/DVD DOWNLOAD TOOL. Boot laptop/PC from bootable media. When the Windows screen appears choose Language, Time format and keyboard input method then press Next.

2_thumb1Keep in mind that we are not ready to install WS2012R2 Preview yet, you must first access your VHDX. When next window appear (Picture below) press Shift+F10 to open Administrator Command Prompt

3_thumbType the commands: diskpart press Enter
select vdisk part=d:\WS2012R2Preview\WS2012Preview.vhdx press Enter
attach vdisk press Enter

WP_20130819_004_thumbClick Install now and on the next screen click Custom: Install Windows only (advanced)

WP_20130819_006_thumbInstall Windows Server 2012 R2 Preview as usual! After that, in boot process you can choose which OS you want use.

WP_20130819_007_thumb

Original post at URL a Romeo Mlinar Blog: Windows Server 2012 R2 Preview – boot from VHDX

Leave a Reply