Solved

VHD created on Hyper V won't boot as Windows 7 virtual.

Posted on 2012-03-30
7
2,270 Views
Last Modified: 2012-04-10
I have a fixed size VHD containing a Windows 2008 Standard SP2 (32-bit) NTFS boot and system partition built on Hyper V which runs in 4Gb of RAM on an Intel Xeon E5620 @ 2.40 GHz using a Virtual HA ATA Device as C:.  This VHD boots up with no problems on the Hyper V machine where it was created.

I'm trying to boot it as a Virtual on a 64 bit Windows 7 SP1 6.1.7601 HP Pavilion g6 laptop running on Intel Core i3-2350M 2.30 GHz processor with 6Gb of RAM (tried both 3 and 2Gb for the virtual) and it hangs with a black screen on the first try and when rebooted in Safe Mode it gets to Loaded: \windows\system32\drivers\crcdisk.sys, announces Please wait . . . and then nothing further happens.

I tried using DISM.exe version 6.1.7600.16385 to load the laptops drivers into the VHD by mounting the VHD using disk management and using the command:
DISM.exe /Image:g: /Add-Driver /Driver:c:\windows\inf /Recurse but this gets me an error 50, indicating an unsupported command against a Vista SP1 or Server 2008 target image.  In the DISM log an error "Failed validating command line" is shown.  The host is mysteriously shown in the log as 6.1.7601 running amd64 with 4 processors.  Why would Intel Core i3 show up as amd?  The Hyper V host on which the VHD was created is running on an Intel Xeon E5620 processor. Not that this explains why /Add-Driver is unsupported in DISM.

I've been trying to get this VHD to boot on this laptop for a few days now and would appreciate any help or suggestions.
0
Comment
Question by:VB6chuck
7 Comments
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 37789617
I haven't tried going from hyper-v to virtual pc, but I'm not surprised you're having issues. They are radically different hypervisors. You'd have a MUCH better chance pulling it into a win8 vm since 8 uses hyperv.  When you want to move vms between vm platforms you should treat them as any other major hardware change and use software designed for hardware independent restores like shadow protect or acronis.

Sorry I can't be of more help other than to say that what you're doing I.don't think will work as the technology wasn't meant to do what you're asking.
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 37790137
amd64 with 4 processors.  Why would Intel Core i3 show up as amd

There are 3 types of processor technology related to this
x86 == normal 32 bit cpu
amd64 = 64 bit operating system (developed by AMD licensed to Intel), most x64 processors are using AMD64 instruction set
Itanium = 64 bit operating system (developed by Intel, not licensed to others, very low usage in the marketplace)

Dism is used for IMAGE files (.wim files) of which a vhd is not
0
 

Author Comment

by:VB6chuck
ID: 37796265
After much reading on Technet I'm thinking that the following MIGHT work:

Wait until Windows 8 is available. (don't think I want to do this in beta)
Install a native boot Windows 8 VHD on the laptop described above.  (if such a thing is possible)
Try running the Windows 2008 SP2 VHD in Hyper V under Windows 8.

Is there a high possibility this won't work due to different host hardware?

Alternative is to build a fresh Win 2008 SP2 VHD on the laptop and install 2 large complicated applications.  I have very high expectations that this will succeed, but it's a lot of work to build a disaster recovery solution that I hope the client will never need to use anyway.

I would appreciate feedback on these options . . .
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 17

Expert Comment

by:James Haywood
ID: 37807233
Can you boot the VM from the original media and run a Startup Repair?
0
 

Author Comment

by:VB6chuck
ID: 37809296
Might be able to boot the VM from media and run a Startup Repair, I haven't tried this as the original media used to create the VM is elsewhere.  May consider that line next.

Did get Server 2008 R2 on the laptop as a bootable VHD and have loaded Hyper V and copied a fresh (hash comparison checked) copy of the Server 2008 32 bit VHD onto the laptop drive after defragging the drive (not the fixed size VHD)  it now throws the following 2 errors when I try to start the virtual in Hyper V:

Windows Operating System; Version: 6.1.7600.16385; Event ID: 3430; Event Source: Microsoft-Windows-Hyper-V-Worker User: NETWORK SERVICE
 
'LaptopSQL' failed to set/change partition property: The system cannot find message text for message number 0xLaptopSQL in the message file for 3D54072C-C747-48B3-8317-2AD96CB888E7. '0x8007013D'.
 
Windows Operating System; Version: 6.1.7600.16385; Event ID: 3040; Event Source: Microsoft-Windows-Hyper-V-Worker User: NETWORK SERVICE
 
'LaptopSQL' could not initialize. (Virtual machine ID 3D54072C-C747-48B3-8317-2AD96CB888E7)

This is looking better, I guess.  Any suggestions would be welcome . . .
0
 

Accepted Solution

by:
VB6chuck earned 0 total points
ID: 37813355
My situation is that I have a .VHD file created on Hyper V using an Intel® Xeon® Processor E5620 with no AVX which will not boot on a Hyper V equipped Server 2008 R2 host with an Intel® Core™ i3-2350M Processor which has AVX.

My understanding is that the SP1 will enable AVX for both Host and Guest - which might be a problem for the non-AVX guest, or the Hotfix will run a Guest without AVX, which is what I think will solve the problem.  

Perhaps I need just the hotfix (KB2517374) and should not use the SP1?  This is a disaster recovery install so there is no need to support VHD's which need AVX support unless the production Host has a processor upgrade.

Update:  Just the Hotfix is all I need to boot the virtual.  I'll skip SP1 and maybe try it someday on a copy to see what happens.

Problem solved.
0
 

Author Closing Comment

by:VB6chuck
ID: 37826794
Information of use is included in the solution.
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

759 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

23 Experts available now in Live!

Get 1:1 Help Now