Solved

Rebuilding: New Hyper-V Host VHD(X)s Not Working

Posted on 2014-10-19
9
846 Views
Last Modified: 2014-11-12
I'm upgrading and replacing hardware/ software with a new Hyper-V host and I have a new, 750GB RAID 5 Vol called "GuestVol" .
I have a couple of VMs that I really want to reuse so I copied their VHDs from the old RAID1 Vol (which is scheduled to be removed) over to GuestVol. I would like to go with all Gen 2 VMs but I know that Gen 2 does not support .VHD so I used disk edit to convert to VHDX but I keep getting the same error:
Boot Failed EFI SCSI Device
I know if this were a physical disk I could just boot to BIOS and turn off the EFI but thats not the case here.
Am I stuck with GEN 1 or is there a solution?
0
Comment
Question by:A_AmericanELectric
  • 5
  • 3
9 Comments
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 40390890
You can't just change a disk to VHDX and boot it in a gen2 VM. The disk won't have the necessary UEFI boot code, and a ton of internal integration code in the OS besides. If you want Gen2, you have to install the OS fresh.
0
 

Author Closing Comment

by:A_AmericanELectric
ID: 40390895
Thanks Cliff. Please look back on that last thread before I close it.
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40390918
Do you still have access to the old virtual machine, including the necessary configuration and VHD files? If so have a look at this tool which can convert your Gen 1 VM to a Gen 2 VM: https://code.msdn.microsoft.com/windowsdesktop/Convert-VMGeneration-81ddafa2

Note that you'll obviously need to run this script on a 2012 R2 Hyper-V host.

If the old host is running 2008 R2 and below, please be advised that you cannot simply export the VM then import the VM into a 2012 R2 Hyper-V host any more as Microsoft have made some changes to the WMI namespace. Here's more information if you're curious as to why: http://blogs.technet.com/b/rmilne/archive/2013/10/22/windows-hyper-v-2012-amp-8-1-hyper-v-did-not-find-virtual-machine-to-import.aspx
0
 

Author Comment

by:A_AmericanELectric
ID: 40391155
I think I can get this. I placed the script in a folder- C:\script

I have confirmed that it will run Gen 1

PS C:\script>Convert-VMGeneration.ps1 -VMName "APLUSSERVER-3" -Path E:\APLUSSERVER-3 -VHDXSizeGB 80

So this will give me a APLUSSERVER-3 Gen2 in the same directory?
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 24

Expert Comment

by:VB ITS
ID: 40391164
It should duplicate the VM and append (Generation 2) to the files and folders of the new Gen2 VM.

Is the OS of the VM that you're converting running Windows 2012, 2012 R2, Windows 8 or Windows 8.1? If not then the VM won't work as Generation 2 VMs must be running these OS's.

Here's why 2008 R2 and Windows 7 VMs aren't supported as Gen2 VMs:
Why are 64-bit versions of Windows Server 2008 R2 and Windows 7 not supported as generation 2 guest operating systems?

Although Windows Server 2008 R2 and Windows 7 support UEFI, they depend on a programmable interrupt controller (PIC), which is not present in generation 2 virtual machine hardware.
http://technet.microsoft.com/en-us/library/dn282285.aspx
0
 

Author Comment

by:A_AmericanELectric
ID: 40391171
2012 R2
0
 

Author Comment

by:A_AmericanELectric
ID: 40393038
There is a little bug in the script.
I just got back in the next day to find powershell still on "preparing image" .
I had to hit the enter key while on the PS window to get it to go to "applying image"

Do you happen to know how long it usually takes with good hardware resources?
0
 

Author Comment

by:A_AmericanELectric
ID: 40393462
Please check this out guys
ID: 28541193
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40393502
Depends on how large the VM is. I didn't have to wait too long for a 2012 R2 VM with a 80GB VHD file.

Please check this out guys
ID: 28541193
Sorry but what is this ID number for specifically?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now