On last.fm: Free iPhone/iTouch Streaming Radio App
BNET Business Network:
BNET
TechRepublic
ZDNet

January 10th, 2009

How-to: Getting started with .VHD files in Windows 7

Posted by Adrian Kingsley-Hughes @ 4:18 pm

Categories: How to ..., Windows 7

Tags: Microsoft Windows 7, VHD, Microsoft Windows, Operating Systems, Software, Adrian Kingsley-Hughes

Special Report: Windows 7

Some of you seem confused about how Windows 7 goes about supporting .VHD files as used by Virtual PC, Windows Server 2008 R2 and Hyper-V. Here’s a quick how-to work with .VHD files in Windows 7.

OK, let’s begin with a Windows 7 beta 1 install. Fire up a Command Prompt and type the following:

diskpart

Note: Press ENTER after each line to execute the commands.

You’re now ready to create a blank .VHD file. The following command creates a 16GB VHD file in a folder called virtual (you can put the .VHD anywhere, but create any folder in advance):

create vdisk file=c:\virtual\win7.vhd type=fixed maximum=16000

It’ll take a few minutes for the .VHD file to be created - took about 10 minutes on my test system. Diskpart will tell you once it’s done.

OK, now to install Windows 7 beta 1 into the .VHD. Pop the Windows 7 beta DVD into the DVD drive and reboot the system and boot up off the disc. Once the Windows 7 installer is up and running, choose your language and once you’re on the Install now screen, press SHIFT+F10 to bring up a Command Prompt.

Into the Command Prompt window, and first check to find out what drive letter has been assigned to your system partition (for me it was d:\). Make a note of the drive letter.

Next –>

Pages: 1 2

Adrian Kingsley-HughesAdrian is a technology journalist and author who has devoted over a decade to helping users get the most from technology. He also runs a popular blog called The PC Doctor. See his full profile and disclosure of his industry affiliations

Want to get in touch? Got a tip? Feel free to drop me a note! I ALWAYS respect anonymity. I'm also on Twitter (@the_pc_doc)

Right to Reply: Should any industry representatives wish to comment on any posts on Hardware 2.0, I will be happy to publish their reply verbatim on this blog.

Subscribe to Hardware 2.0 via Email alerts or RSS.

  • Talkback
  • Most Recent of 13 Talkback(s)
RE: How-to: Getting started with .VHD files in Windows 7
But I think it's a little difficult for me. I always right-click vhd file and choose "mount to new drive", I forgot to say you need to install WinMount.(www.winmount.com/mount_vhd.html)... (Read the rest)
Posted by: colorzone Posted on: 02/03/10 You are currently: a Guest | | Terms of Use
Native or still virtual?  crazlunatic | 01/10/09
It's being run nativly....  JoeMama_z | 01/10/09
More helpfull info....  JoeMama_z | 01/10/09
RE: How-to: Getting started with .VHD files in Windows 7  daryl@... | 01/11/09
That should work....  JoeMama_z | 01/11/09
Jusy FYI...  logicearth@... | 01/11/09
Yikes!  V@... | 01/11/09
There would be more..  logicearth@... | 01/11/09
RE: How-to: Getting started with .VHD files in Windows 7  LPraveen | 01/11/09
WARP.....  JoeMama_z | 01/12/09
RE: How-to: Getting started with .VHD files in Windows 7  BitTwiddler | 01/13/09
RE: How-to: Getting started with .VHD files in Windows 7  Daren253 | 11/12/09
RE: How-to: Getting started with .VHD files in Windows 7  colorzone | 02/03/10

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

advertisement
Click Here

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads