I'm trying to boot the VHD from grub4dos with the following, but it just BSOD
title Win7 VHD find --set-root /VHD/W7.vhd map /VHD/W7.vhd (hd0) map --hook root (hd0,0) chainloader /bootmgr
I tried creating a fresh BCD with EasyBCD and BootICE but using either of the two entries I created (in BOOTICE one with Boot Disk set to BOOT, the other with Boot Disk set to K: (the drive letter of the VHD when attached in Windows) and the Partition set to 0, K (which is the only partition on the VHD) both BSOD STOP 007B after the boot animation starts. So then I tried the instructions here http://www.sevenforu...tion-vhd-2.html
bcdedit /store K:\boot\bcd (which shows me that the VHD has the GUID {4301ee85-902d-11e1-b878-001fd0d6fe4b} ) bcdedit /store K:\boot\bcd /set {bootmgr} device partition=C: bcdedit /store K:\boot\bcd /set {4301ee85-902d-11e1-b878-001fd0d6fe4b} device partition=C: bcdedit /store K:\boot\bcd /set {4301ee85-902d-11e1-b878-001fd0d6fe4b} osdevice partition=C:
After which bcdedit /store K:\boot\bcd gives me
Windows Boot Manager -------------------- identifier {bootmgr} device partition=\Device\HarddiskVolume6 description Windows Boot Manager locale en-US inherit {globalsettings} default {default} resumeobject {1f8184a2-14de-11df-9734-f08c6d8c5 displayorder {default} {4301ee85-902d-11e1-b878-001fd0d6f toolsdisplayorder {memdiag} timeout 10 Windows Boot Loader ------------------- identifier {default} device partition=K: path \Windows\system32\winload.exe description Microsoft Windows 7 locale en-US osdevice partition=K: systemroot \Windows Windows Boot Loader ------------------- identifier {4301ee85-902d-11e1-b878-001fd0d6f device partition=\Device\HarddiskVolume6 path \Windows\system32\winload.exe description Microsoft Windows 7 locale en-US osdevice partition=\Device\HarddiskVolume6 systemroot \Windows
Where the first Boot Loader entry must be the pre-existing one and the second the one just created. However, this works even less well as the first entry at least shows the boot animation before BSOD STOP 007B, whereas the second entry just gives an error about being unable to find Windows\system32\winload.exe.
Cam anyone help me out here please, as I'm just lost when it comes to the BCD? Once I've got the VHD working and installed SP1 and any other updates and trimmed it back down a bit, I'll need to reverse the process and copy the VHD back to the real HDD (hd0,1) so I need to get my head round this!