Adventures with installing Windows7

    I want to share my dramatic adventures, as a result of which I learned to load windows7 both from a virtual machine and in a real environment.



    I talk about my adventures.

    I put Windows on a virtual disk as described here

    vagor.info/2009/01/26/windows-7-vhd-install

    Thus, I had two boot records - my current system is WS2008x64, and Windows 7, which is loaded from disk, on actually being a d: \ winseven.vhd file.

    Now - for what it was all about - I thought that I could hook this VHD into Virtual PC. After some shamanism with installing 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 virtual machine starts to load and hangs tightly somewhere in the process or after loading the classpnp driver. sys.

    (OFFtopic - in Windows 7, shamanism with a boot sector is, as it turned out, VERY simple - you need to boot from the installation disk, make repair and find an option like “restore boot sector”).

    Well, the harsh Ural men thought. If the really delivered Windows does not go under the virtual machine, let's do the opposite? The bootloader is already there, 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 doesn’t want it in reality! The system crashes into the blue screen on the driver ... correctly ...

    Classpnp.sys!

    The harsh Ural men were upset, and let's ask colleagues.

    And a solution was found!

    Apparently, when the mode is serial ATA = AHCI, Windows puts some kind of faster screw driver, which by no means loads when AHCI = off (and on a virtual machine it is!). When I put Windows in reality, then obviously AHCI = on, and Virtual pc could not download it, the same is the opposite - when you put Windows on a virtual pc, it then does not boot 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 regular system, turn on AHCI back, Windows 7 look from Virtual PC. The flight is normal.

    Also popular now: