Error booting to W7 vhd from Server 2008 R2

tgabe213

2[H]4U
Joined
Aug 27, 2007
Messages
3,684
My primary OS is Server 2008 R2 Enterprise. I created a new VM in Hyper-V. I loaded Windows 7 Professional iso into the VM and installed Windows. Once I had this complete, I followed this guide to configure boot to vhd. Primarily the section Adding the VHD Entry in Boot Menu and then Boot from VHD.

The location of the VHD that I'm attempting to boot to is located on a second internal hard drive (D:).

When I reboot the computer, I'm presented with an error page (not my photo, but the same error. In my case, replace 'Win2008 VHD' with 'Windows 7 Professional VHD':
099_1.jpg


Here's the output of C:\>bcdedit /v
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\me>cd ../..

C:\>bcdedit /v

Windows Boot Manager
--------------------
identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device                  partition=\Device\HarddiskVolume1
description             Windows Boot Manager
locale                  en-US
inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
default                 {5502602b-65f5-11e0-8885-fd4bfb2799f7}
resumeobject            {5502602a-65f5-11e0-8885-fd4bfb2799f7}
displayorder            {5502602b-65f5-11e0-8885-fd4bfb2799f7}
                        {5502602e-65f5-11e0-8885-fd4bfb2799f7}
toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout                 30

Windows Boot Loader
-------------------
identifier              {5502602b-65f5-11e0-8885-fd4bfb2799f7}
device                  partition=C:
path                    \Windows\system32\winload.exe
description             Windows Server 2008 R2
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence        {5502602c-65f5-11e0-8885-fd4bfb2799f7}
recoveryenabled         Yes
osdevice                partition=C:
systemroot              \Windows
resumeobject            {5502602a-65f5-11e0-8885-fd4bfb2799f7}
nx                      OptOut
hypervisorlaunchtype    Auto

Windows Boot Loader
-------------------
identifier              {5502602e-65f5-11e0-8885-fd4bfb2799f7}
device                  vhd=[D:]\Hyper-V\Windows,locate=custom:12000002
path                    \Windows\system32\winload.exe
description             Windows 7 Professional VHD
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence        {5502602c-65f5-11e0-8885-fd4bfb2799f7}
recoveryenabled         Yes
osdevice                vhd=[D:]\Hyper-V\Windows,locate=custom:22000002
systemroot              \Windows
resumeobject            {5502602a-65f5-11e0-8885-fd4bfb2799f7}
nx                      OptOut
hypervisorlaunchtype    Auto
detecthal               Yes

C:\>

The physical path of the VHD is
Code:
D:\Hyper-V\Windows 7 Professional\VHD\Windows 7 Professional.vhd

Any ideas? Thanks
 
I was able to get it to work by moving the vhd into the Hyper-V directory and removing the spaces in the vhd's file name. This worked! Except, now when I select W7 from the boot loader, I get a blue screen that flashes, and the computer reboots. I have no idea what the error message is.

Any ideas?
 
Looks like since the VHD was created as a VM, it's trying to load viritualized drivers, which it can't when booting to it natively.

I'm going to run sysprep from inside the VM, then boot to it natively.
 
That worked...except you can't boot to VHD with W7 Professional. :(. Windows does the check when you try to log in to your account.
 
Back
Top