"The boot loader did not load an operating system" for windows 10 hyper-v VM

I created a vhdx file from the c: drive from a lenovo P1G3 a while back and thought I had a working VM from it, but apparently not. Now when I try to boot the VM I get the "The boot loader did not load an operating system". The host is a win10 using the Hyper-V manager, and the VM is set to gen2 with the secure boot disabled. The vhdx file does not look to be corrupt, as I can attach and browse the files without any errors. I've tried the basic windows install iso --> "Startup Repair" but no luck. I've gone around in circles trying to use the bootrec, bcdboot, diskpart, etc... utilities per various superuser and similar forums, but I cannot figure out what is needed, and I'm pretty spun around wondering if I'm even starting in the right place.

enter image description here

Edit: adding more detail about the drive. I only captured the C: volume of the drive, but have 2 unallocated volumes/partitions. Here is what the drive looks like when the vhdx is mounted. updated 2/24: now 7.11GB of free space per multiple shrink commandsenter image description here

9 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

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