... but if you are not an OEM, additionally experienced with GPT disk, you cannot use it :

This command is intended for use by original equipment manufacturers (OEMs) only. Changing partition type fields with this parameter might cause your computer to fail or be unable to boot. Unless you are an OEM or experienced with GPT disks, you should not change partition type fields on GPT disks by using this parameter.

Next I used diskpart to create the VHD (I tried fixed and dynamic), converted it to GPT, created a primary partition and applied the WIM with DISM and used bcdboot to add thee VHD to the boot menu. So I did the same you posted.

I can select Win7, it boots but after the boot logo it freezes. I waited an hour but nothing happens.

Share this post

Link to post

Share on other sites

this Dell Laptop doesn't seem to be Win7 compatible. I created an USB thumbdrive with Rufus, I booted from it and it also freezes at the bootlogo (Starting Windows) So I'm not able to start the setup or create a VHD.

Here is someone with the same issue:

Though it boots from the DVD & shows the first (all black & grey screen) which says Windows loading files; the installation freezes at the second screen that says 'Starting Windows'.

Share this post

Link to post

Share on other sites

I need to set the option "Load Legacy Option ROM" to true. Now I still use UEFI but with the old VGA Video BIOS. The disadvantage is a bit slower boot/Resume from hibneration and the loss of the Dell Logo during boot, but I can boot both Windows versions.

0

Share this post

Link to post

Share on other sites

Question is at the end. I've done this (booting from VHD) using the "Sysprepped" Win VHD" created by this application. This is booting a Win7 VHD from from a Win7 machine. It worked fine. Now I'm trying the next step with the linked updated application that creates a similar (sysprepped) Win8.1 VHD. I tried to boot it the same way but about a minute after loading, it says that it "can't repair that version of Windows". I don't know if the message comes from the booted VHD or from my actual Win7 machine.

I see this guy saying he boots a Win8 VHD in Win7 "without messing up with the Win7'... so I thought why does mine not work ? Am I right thinking he did, by installing Win8 to a VHD on the machine, change the bootloader from Win7 to Win8, and this is not undone later at the end of his article? But my "ready made" Win8 VHD will not boot because Win7 doesn't boot Win8 (like in classic dual boot, the later OS has to be installed on top of the earlieer one). That was the question. Am I right in my diagnostic ?

Side note; there is no way I've made an error in the BCD as I just switched the names of the files, (((I think it's a pretty cool trick, I have a 0kb file with the actual file name of the OS/vhd that I swap name with "the VHD" that's declared in the BCD, then I do the same with the next vhd file))).

Share this post

Link to post

Share on other sites

Thanks. An other remark; I left that Win7 VHD running for too long, it got bored and began to defrag my system partition!... So it's not as "interference free" as 1st thought.

Well, that is your fault.

Windows 7 booted from a VHD is in no way different from a Windows 7 booted from a "real" partition.

It will attempt to take possession of your PC (all your base are belong to us ), it is your duty - and you should know that by know - to keep it busy/entertained in such a way that it doesn't get bored and starts doing random maintenance tasks.

Share this post

Link to post

Share on other sites

Thanks. An other remark; I left that Win7 VHD running for too long, it got bored and began to defrag my system partition!... So it's not as "interference free" as 1st thought.

More seriously, this caused one badly needed program in the resident Win7 to stop working at the time (this was a painfull monday morning at work, back from a week off ). I then rolled back some video driver updates that I thought were the cause of my problem. I got a BSOD! Then an other, then popup messages about Explorer crashing. I ended up disabling the device in Bios (switchable video cards)...OK ! I later spent a few hours reinstalling it with lots of trials and lots of errors. I think the first cause was the Win7 performance toolkit being nuked by the external defrag. So kids, ... disable Defrag in your VHD ! B)