次の方法で共有


Running Vista under Virtual PC

Just like the topic says, this post is dedicated to getting Vista going under Virtual PC.  I've divided it into two sections, just to make it a bit more readable.

Getting Vista Installed

The first issue that Virtual PC users are likely to run into is that Virtual PC will have a problem reading your Vista ISO.  This is because Virtual PC 2004 is unable to read ISO images that are larger than 2GB, which the Vista ISO certainly is.  There are two ways around this:

  1. Burn the ISO to physical media.
  2. Or, use a CD-Image mounting program like Microsoft's VirtualCD Control Panel, or third-party tools like Daemon Tools, or the tool that ships with WinImage.  These utilities will install a "Virtual CD-ROM Drive" on your computer, which you can use to mount ISO images as virtual drives. 

Once you've done one of the above, configure Virtual PC to pass the drive through to the Virtual Machine.  If done correctly, you should be able to boot to the Vista DVD.

At this point, you'll want to check out my post about preparing your Virtual Hard Disk, if you haven't done so already.

From here on out, it's just like installing any other version of Windows - just enter your product key, select the destination drive and the computer name, and let Setup work its magic.  Setup inside a Virtual Machine is pretty slow and can take a very long time, so make sure you've got a good book ready, and move onto the next section when Setup completes.

Getting Vista Going

Now that you have Vista installed, you'll notice that the CTP doesn't look very nice.  Not yet, anyway.  You'll have 4-bit color, and 640x480 screen resolution - not really the Vista you were hoping for, is it?

The Virtual Machine Additions that ship with Virtual PC 2004 do not work with the December CTP of Vista, but the Virtual Server 2005 R2 Additions do.  They are, however, UNSUPPORTED ON VISTA, just so you know.  If you don't have Virtual Server 2005 R2, there's another way to get the additions.

You can download the Virtual Server 2005 R2 Trial Edition from this website, install it, and grab the VMAdditions.ISO file, and use it with Virtual PC.  It's important to note that the R2 Additions were tested for use with Virtual Server, and only in a very rudimentary fashion with Virtual PC, so this is also UNSUPPORTED.  You'll want to keep the additions that ship with Virtual PC around and use those with your non-Vista VMs. 

So, really, if I had to choose one, I think UNSUPPORTED is really the bullet point to take away from this post... :)

So now you've got the new Additions ISO.  Mount that ISO in Virtual PC, and install the Additions.  Reboot when asked, and viola!  You've got colors!  Once you log on to Vista, you'll probably want to increase the screen resolution to something more usable.  Right-click the desktop, choose Personalize Computer.  On the left-hand bar of the window that opens, click Display Settings (you'll be prompted to elevate), and select the screen resolution you want.  You'll notice that the OK button is actually off the screen, and you can't drag the window to a place where you can see it.  Just hit the Enter key, since OK is the default button.

And now you're all set to use Vista in your VM.

Update: Added a link to the Microsoft VirtualCD program after someone was nice enough to point me to it.  Thanks Jonathan!

Comments

  • Anonymous
    February 06, 2006
    PingBack from http://thinkabdul.com/2006/02/06/running-windows-vista-on-virtual-machines/
  • Anonymous
    February 22, 2006
    There haven't really been any changes to the process of installing Vista in a Virtual Machine. ...
  • Anonymous
    February 22, 2006
    Installing Vista under Virtual Server 2005 R2 is significantly easier than installing under VPC or Virtual...
  • Anonymous
    February 25, 2006
    Has anybody got the emulated SB16 sound card to work under Vista?