How do I successfully virtualise my (Boot-Camp) Window 10 partition so it runs on Hyper-V?

I have a MacBook Pro with a Windows 10 partition running on Boot-Camp and I would like to convert the Windows 10 partition into a virtual disk/machine that I can use as a VM within a Windows hosted machine using Hyper-V.

While I have successfully created a virtual image of the Windows 10 partition using Hyper-V (and indeed disk2vhd) the problem that I subsequently have is that I am unable to load the a virtual machine using that virtual disk.

I have created a VHD and a VHDX disk image but I'm unable to boot-up a virtual machine that I create with Hyper-V using either disk on a Windows 10 host (I've tried both a native Windows 10 host and a Boot-Camp Windows host).

When I attempt to start up the VM using Hyper-V I get the following error. The "Virtual Machine Boot Summary" states: 1. SCSI Disk (0.0) - "No x64-based UEFI boot loader was found."

Also, I briefly tried to use VMWare converter but clicking on the "Convert machine" button displays a failure so I parked that idea as my preference is for a Hyper-V solution.

My goal is to be able to run my Windows 10 partition as a virtual machine on Windows 10 (whether a native or boot-camp version of Windows 10) and any help is greatly appreciated!

Many thanks in advance!

4

1 Answer

There were a couple of factors to the problems that were preventing the VM loading but thanks to SimonS for helping point me in the right direction to a suitable work-around.

Firstly, creating the VM as a Generation 2 proved problematic because the hard-drive could only be attached to a SCSI adapter but this was unable to boot hence why I was getting the error "No x64-based UEFI boot loader was found". I'm not quite sure why this doesn't work but the solution here was to create the VM as a Generation 1 VM.

Secondly, while I had also briefly attempted to create a Generation 1 VM previously I was also unable to load the VM. More recently the error noted when I tried to load the Generation 1 VM was "Boot failure. Reboot and Select proper Boot device or Insert Boot Media in selected Boot device".

Solution

The solution was to create a Generation 1 VM and attach the Virtual Hard-Drive (either VHD or VHDX) to the IDE adapter and NOT the SCSI adapter and this allowed the VM to load with the virtualised BootCamp VM.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like