Eating Microsoft's Dog Food – A Self-Experiment With Windows 7, Part 2: Installation

In the first article of this mini-series I described how I prepared my work laptop for the installation of Windows 7 x64 beta 1 into a virtual hard disk (VHD) file. This post covers the installation itself.

At this point you may (rightly) ask: “Why yet another description of this process?” The answer is that most descriptions of how to install Windows 7 into a VHD do not work when it comes to installing the 64-bit version of Windows 7 on a computer with a 32-bit version of Windows Vista. In such a scenario the setup program refuses to make the repair option available, a necessary prerequisite to opening a command prompt. Necessary – really?

The Installation Process

  1. Boot from the Windows 7 x64 DVD
  2. Select your desired language
  3. Press Shift+F10 to open a command prompt
  4. Start the interactive diskpart shell by typing (followed by enter): diskpart
  5. Create a 39 GB vdisk by typing (followed by enter): create vdisk file=c:\Win7.vhd maximum=40000
  6. Select the created vdisk for the next command (followed by enter): select vdisk file=c:\Win7.vhd
  7. Mount the selected vdisk (followed by enter): attach vdisk
  8. Use ALT+TAB to switch to the setup program
  9. Click on “Install Now”
  10. Accept the license
  11. Choose “Custom Install”
  12. Now the setup program asks for the installation partition. You should see an additional disk which is easiest identified by its size. Obviously, it must match the size of the vdisk you just created. Select the vdisk partition.
  13. Ignore the warning message on this screen! Just click on “Next” and setup will start the installation.

That’s it! Easy as pie ;-)

Having Fun on the Way

Now that you have mastered the hard part, why not have some fun watching the installation?

After the first reboot:

  1. Press Shift+F10 to open a command prompt
  2. Type “taskmgr” to open task manager and watch the activity
  3. Much better: type “resmon” to open the overhauled Resource Monitor to really see what is going on

Now that Windows 7 sits on the (v) disk – what next? In the third article I will tell you how I fared and how many BSODs I got.

, , ,

4 Responses to Eating Microsoft's Dog Food – A Self-Experiment With Windows 7, Part 2: Installation

  1. Nanban Jim June 24, 2009 at 16:48 #

    I was so happy when I found that SHIFT+F10 trick! Lets you use the Vista/7 command prompt. I was able to re-partition my drive to do a side-by-side Windows 7 RC1 install, as I’m not up on all this “VHD” stuff and didn’t want to lose XP functionality.

    Aside from migrating all my settings to what Windows 7 calls the C: drive, everything I’ve tried runs fine on 7. Maybe, I hesitate to say, a little better.

  2. BGrader August 27, 2009 at 22:39 #

    Do you have to have a native boot OS? I want to install Win2k8 R2 and Win7 64 bit on one harddrive.
    Can I just have 2 VHDs? If not then, is there any performance benifit to make Win2k8 R2 as a native boot and Win 7 on VHD?

    • Helge Klein August 28, 2009 at 22:32 #

      you can mix any way you want: Windows 7 into a VHD, Server 2008 R2 natively, the other way around or both into a VHD.

Leave a Reply