Link to home
Start Free TrialLog in
Avatar of Jay Thomas
Jay ThomasFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Hyper-V 2012 vM question

Hi all. I have Hyper-V feature added to a Win 10 laptop. I can spin up 2008\ 2012 Generation 1 VMs no problem. When I attempt to spin up G2 VMs I get an issue. The first error when trying to from a iso stated something about the iso not being signed. I Googled that and discovered if I shut down the VM, go to settins and disable "Enable Secure Boot" I can get around the problem.
I did this for a 2008 r2 and 2012 r2 G2 template. So I had both built and all patched.
I then ran sysprep on each VM which shut the VMs down. Through Hyper-V Manager I then exported each machine to use as a template. All going well, or so I thought.
I created 2 VMs making sure I chose G2 versions and then selected add disk later. I copied the perspective disks to the relevant folders that had been created and then through VMM added the disks choosing SCSI controller for both. Now I get to my problem and if you are still reading this, thank you :)
I cannot start either VM I get the following error (please see attachment).
I have tried selecting enable secure boot and deselecting but nothing happens.
I am not that familiar with hyper-V as you can tell and am probably missing something obvious. Any help appreciated.
Capture.JPG
Avatar of Benjamin Voglar
Benjamin Voglar
Flag of Slovenia image

Can you make a printscreen of you VM setting (Hard Drive). VM Can't find bootable disk partition.
Avatar of Jay Thomas

ASKER

Thank you. Please see attached.
Can I ask. After I disable the security to allow the unsigned iso, when up and running should the security be turned back on or should I leave it off?
Thank you.
Capture2.JPG
Your Win10 updated to 1607? One of the latest updates to the OS breaks things in Hyper-V and SecureBoot VMs.
Hi,
Have you confirmed that your ISO is actually boot-able?
You have to check your boot order in the VM settings (attached sample).
configure to boot from CD/DVD and connect the ISO to the CD/DVD drive.

Thanks
blog-2-18-2012-figa.jpg
Hi.  So iso  is fine because when I disabled secure boot I managed to get is installed. I had 2008r2 and 2012r2 up and running and fully patched. But now neither will switch on.
Could be more clear if you post post the error.
Post the error from eventviewer as well.

Thanks
MAS
Hi. Please see earlier part of the question whereby I uploaded screen shot of the errors.
Thank you.
Hi all. I have uploaded 2 screen shots. The first shows the error when I try to boot the VM and the second shows the details such as booting from VHD and also you'll note the secure boot has been disabled.
I have now built 4 VMs. 2x 2012 R2 and 2x 2008R2 Gen 2 systems. I can build them (if I disable secure boot otherwise it complains about an unsigned ISO). As soon as I restart the VMs I get the error. Really annoying as no idea.
Any help appreciated.
Capture4.JPG
Capture3.JPG
The 2008 R2 VMs need to be Gen1. In your snip I see EFI SCSI device listed for the 2008 R2 VHDX.
Ok so is it not possible to reschedule use virtual hard disks with gen 2 vms then?
Auto correct error above. What I meant to say was, So you cannot copy and reuse gen 2 disks?
ASKER CERTIFIED SOLUTION
Avatar of Philip Elder
Philip Elder
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for taking to time to explain .
Welcome. :)