I want to share my dramatic adventures, as a result of which I learned to load windows7 both from virtual and in real surroundings.
I tell about my adventures.
')
I put the Windows on a virtual disk as described here
vagor.info/2009/01/26/windows-7-vhd-installThus, I had two boot records, my current WS2008x64 system, and Windows 7, which is loaded from the disk, which is actually the d: \ winseven.vhd file.
Now - for the sake of what it all started, I thought that I could pick up this VHD in Virtual PC. After some shamanism with the installation of MBR recording (and in the case when we use a VHD disk on a virtual pc, it is like a physical screw, and shamanism is necessary), the Windows on the virtual machine start to load and hang tightly somewhere in the process or after loading the classpnp driver. sys.
(OFFtopic - in Windows 7, shamanism with the boot sector is, as it turned out, VERY simple - you need to boot from the installation disk, do repair and find an option like “restore boot sector”).
Well, well, the harsh Ural men thought. If the actual Windows does not go under the virtual, let's do the opposite? There is already a loader, which understands that it is necessary to boot from d: \ winseven.vhd!
No sooner said than done. Put Windows 7 on VHD from under virtual pc.
Now Windows 7 works great on VirtualPC, but does not want to in reality! The system crashes into the blue screen on the driver ... correctly ...
Classpnp.sys!
Severe Ural men were upset, and let's ask colleagues.
And the solution was found!
Apparently, when serial ATA = AHCI mode, Windows puts some faster screw driver, which by no means loads when AHCI = off (and on the virtual machine it is!). When I put Windows in reality, then obviously AHCI = on, and Virtual pc could not load it, the same is true - when you put Windows on a virtual pc, it is not loaded on a real computer.
The solution is obvious. When I now show Windows 7 in reality, I reboot the computer, chop off AHCI, and normally boot into windows 7. When I work on my normal system, I turn AHCI back on, I look at Windows 7 from Virtual PC. The flight is normal.