New
#1
Problems with booting from a VHD
Hi guys, well I was having some issues before with copying a bootable vhd and it not working. I just retried with RC and I am still having an issue. I just did it so here’s exactly what I did maybe you can let me know what’s wrong.
Steps:
1) Boot Windows 64 RC CD
2) Go format drive completely (All new)
3) Reboot
4) Start Recovery Options, CMD prompt
5) Run diskpart, create vdisk, select vdisk, attach vdisk, exit
6) Install Windows 7 RC
ALL is 100% fine at this point, I have my primary OS running on a VHD, other than that the HD is empty, no issues at all
now I install like SQL, Visual Studio etc that I want
now I want a copy boot of it, this copy one I will use for the office, the above one is for personal work.
So I get cmd prompt while in my newly created home.vhd
copy d:\home.vhd to d:\office.vhd
Now I simply "try" to make it boot off my new office.vhd too
so I do
bcdedit /copy {current} /d "Office"
bcdedit /set {CLSID_Number} osdevice vhd=[d:]\office.vhd
then I reboot
and Home still works 100% fine, but the new copy Office.VHD does not, it starts to boot but mid way through it stops and reboots the whole machine.
Tried this on 2 different machines, HP and a Toshiba.
Please note all my OS's are VHD's there are none that are not on VHD's (regular HD)
Thanks for any info, Ed,
Last edited by Brink; 02 May 2009 at 08:50.