With another exam and more training coming up I need to setup my home lab again to help with studying.
I’m currently running Windows 8.1 and although I have Hyper-V running, I’m going to be following a guide by Kevin Remde to build a Virtual Lab, so I’ve decided to rearrange some storage and boot to a Windows Server 2012 R2 VHD image located on an SSD,
Read on for step by step instructions.
Firstly, Kevin’s Virtual Lab blog post can be found here. It comprises of 2 x nested Hyper-V servers, a DC, Systems Center Virtual Machine Manager, and a File Server with some shared storage. Amazingly all this can be run on a system with 16GB of memory and 200GB of free disk space.
1. On your Windows 8 or 8.1 machine download the Windows Server 2012 R2 VHD from here.
4. Press Windows Key + X, and select Computer Management.
5. Expand Storage and select Disk Management.
9. Backup your current Boot Configuration Data (BCD) file. From an Administrative Command Prompt run the bcdedit command:
bcdedit /export c:bcdbackupbcdbackup20140222
10. Again from an Administrative Command Prompt run the bcdboot command to copy boot-environment files from the VHD Windows folder to the system partition. This is where you need to know the drive letter of the mounted VHD file.
12. Reboot your computer and select the Windows Server 2012 option in the boot menu. The image will probably need a couple of reboots while it detects your hardware. But once complete you have a dual boot Windows 8.1 / Windows Server 2012 system.
The instructions are identical for Windows Server 2012 R2. The images used above depict Windows Server 2012. I went on to add a Windows Server 2012 R2 boot to VHD as well. Tod o this make sure the original VHD file is attached in Windows 8.1 before you attach the new VHD image, otherwise when you attach it it will use the same driver letter.