Adding a Second Hard Drive to VirtualPC Step by Step

Microsoft Virtual PC defaults the hard disks for it’s virtual machines to 16 gig in size. For most instances that’s large enough, but you could have cases where you simply need more disk space. Or, perhaps you’d like to keep your demo or project code in a separate virtual hard disk than the main virtual disk your applications run on. Regardless of your reason, creating a second hard drive for your virtual machine is fairly easy.

A few up front points, in these instructions I’ll be doing what I believe to be the most common scenario for most folks and be using Windows XP for my guest system.

First, before you launch your Virtual PC click on it once and select the settings button. Now go to Hard Disk 2. Change the option button from “None” to “Virtual hard disk file”. Next, click on Virtual Disk Wizard.

The first screen is simply the welcome screen, just click next.

[Second VHD 1]

On the next screen it asks about disk options. Take the default of “Crate a new virtual disk” and click next.

[Second VHD 2]

You are now asked about what type of disk you’d like to create, a hard or floppy disk. Take the default of “A virtual hard disk” and click next.

[Second VHD 3]

Now you are prompted for the name and location. I stored this with my other VHD files, so enter the path and location you want and click next.

[Second VHD 4]

The next screen asks what type of drive you want to select. The default, “Dynamically expanding” is the default, and is what we’ll be using. This is a great option as it puts a small file on your drive and lets it slowly expand as you need it to grow.

“Fixed size” creates just what it sounds like, a fixed size hard disk. The one main use I could think of is to create a virtual disk the same size as a DVD. You can then store your files on it prior to burning to a DVD. Downside is that the drive always takes the same amount of disk space.

“Differencing” is a big topic, but in brief a differencing drive is based on another VHD file. Once you create a differencing drive, the original is locked and cannot be changed; all changes are written to the differencing disk. Why would you want to do this?

Well let’s say you were teaching a class and wanted to let the students work on labs. You’d create your base image with your software loaded, and then create a differencing disk. Your students would write their changes to the differencing disk. After that class was done all you have to do is create a new differencing disk instead of having to recreate your entire disk image.

Final is linked to a hard disk. It saves your info out to the real hard drive. This is considered an advanced option, and to be honest I haven’t experimented much with it so that’s all I’ll say for now.

As I said, we’ll go with the default for now, and pick “Dynamically expanding”. Click Next to continue.

[Second VHD 5]

Next we are prompted for the maximum size of the VHD. In this demo we’ll take the default of 16 gig and click next, however if you’d like to change it go ahead, enter the maximum number of megabytes you want, when you’re done click Next.

[Second VHD 6]

OK, you’re up to the final screen, this just asks you to confirm your choices. Click on Finish to complete the process.

[Second VHD 7]

You should see a small message saying you’ve created the disk. Just click Close to close this message.

[Second VHD 8]

Now that you’ve created your drive, you need to tell Virtual PC to use it. If you recall, in the settings window we’ve already selected the “Virtual hard disk file” option. Now click the Browse button and pick the vhd file we just created.

[Second VHD 9]

OK, now we’ve got Virtual PC all setup. Click on OK to close the settings, then click on Start to start the Virtual PC. Once you’ve logged in, open up a My Computer window. Here’s a snapshot of mine.

[Second VHD 10]

OK, I can hear you now. “Hey, I created another drive, where’d it go?” Well, it’s there, the problem is you haven’t formatted it yet so Windows XP doesn’t know what to do with it. Let’s fix that now.

Open up Control Panel, and go into Administrative Tools. Now double click on Computer Management. Now click on Disk Management under Storage in the tree. The minute you do, you’ll be presented with the “Initialize and Convert Disk Wizard”. After taking a look at the opening screen, click Next.

[Second VHD 11]

The next screen asks which disks you want to convert. Here, you see Disk 1 is selected, which is correct (your C drive is disk 0, then each additional drive is 1, 2, etc.) Click Next.

[Second VHD 12]

Now it asks about converting disks to Dynamic disks. Check this on, and pick next. (Note in the pic below I haven’t checked it on yet, you will need to.)

[Second VHD 13]

Finally, you are presented with the Finish window. Click Finish to complete.

[Second VHD 14]

Now the window shows Disk 1 as initialized, but it’s still not quite ready to use yet.

[Second VHD 15]

Hang on, we’re almost done. Right click in the Disk 1 area, and select New Volume. This launches the New Volume wizard. On the opening screen just click Next.

[Second VHD 16]

Now you are presented with the Select Volume Type. Simple is the only option enabled, so let’s just select Next.

[Second VHD 17]

The next screen is prompting you to see how much disk space you want to allocate to this new volume. In our case we’ll use all the space, so we’ll just click Next.

[Second VHD 18]

In the next dialog we’re asked what drive letter to assign to our new volume. You can pick any available letter, but I think I’ll just take the default of E and click Next.

[Second VHD 19]

Now the wizard will prompt about formatting. We need to format this drive, so we definitely want to do this. I did change the default volume label from “New Volume Label” to “VSDriveE” since I’m using this with a vhd I use for Visual Studio. However, you should name it something appropriate to your use. Other than that, I’m leaving the other options alone and clicking Next.

[Second VHD 20]

Finally we’re nearing the end. The next screen is the “Completing the New Volume” wizard. Here we are simply confirming our choices. Take a quick look, if all looks well, click Finish.

[Second VHD 21]

While it formats, it will show you the progress in the status window, as you see below.

[Second VHD 22]

OK, that’s it, you’re done. Close the Computer Management window, then the Administrative Tools window. When you return you new computer, you will see your new drive, ready to go!

[Second VHD 23]

Well there you go. Seems like a lot of steps, but it took a lot longer for you to read this than it will take you to actually do it. If you do create new drives, drop a comment and let us know what creative uses you use your second drive for.

About these ads

99 Responses to “Adding a Second Hard Drive to VirtualPC Step by Step”

  1. amit chawathe Says:

    thank you
    helped in the middle of the night, when hope was dim ;-))

  2. greasy chip butty Says:

    excellent – i have been scratching my head for 2 days – doh!

    i was using windows 2000 as my virtual pc but the method was practically the same – cheers

  3. Johnny T Says:

    This was gr8, been wondering how to do this for ages. realy dou moment when i found out it was this easy.

    thanks

  4. nikitonipongo Says:

    Lifesaver, awesome job
    Gracias

  5. Divs Says:

    Thanx dude…….u saved me frm a big headache. Urs shld b first hit. Keep posting more abt virtual m/c scenarios…..:)

  6. VV Says:

    Great job!
    By any chance, does anyone know how to expand the size of a Virtual Hard Drive?

  7. slands10 Says:

    Same as above – cheers!

  8. Adam Says:

    Thanks a lot, that was a great help!

  9. drat80 Says:

    Now that’s what a pro does. thanks for the help!

  10. sam Says:

    this is a great post and was incredibly helpful!
    thanks!

  11. Marcel Says:

    Did it in a few minutes with these great instructions with clear pictures. Good work.

  12. Microsoft Virtual PC 2007 is FREE ! Says:

    [...] 98SE on Vista Virtual PCinsertVideo(‘YouTube’, ‘ABEOpFU0h-g’, ‘videoYouTubeBig’, ”, false);How-ToAdding a Second Hard Drive to VirtualPC Step by StepFixing Ubuntu 7.04 Fiesty Fawn Mouse under Virtual PC 2007Networking TutorialHow does networking [...]

  13. AC Says:

    thanks so much!!!

  14. uday Says:

    awesome, u helped me, u saved my time. thanks for sharing ur knowledge

  15. Differencing Disks in Virtual PC 2007 « Arcane Code Says:

    [...] expanding, and it’s what you’d want to use if you are installing an OS from scratch or are creating a second hard drive for your virtual machine. Fixed size would be used if you are creating a disk for something like a USB drive and want to [...]

  16. Dave Williams Says:

    Excellent article. Saved the day!!!

  17. Teezoy Says:

    The Question is how to Expand current drive. Not ADDING an addtional drive. How can we expand that Single Drive (C) without using a 3rd party like Partition Magic?

  18. arcanecode Says:

    Teezoy – I don’t know of any way built into VPC to do that. That’s why when I create a virtual drive I just set it to the max size (I think 130,577 or something close) and set to dynamically expanding. That way it’ll grow as needed.

  19. Ashay Says:

    Thanks for such a nice documented steps.
    It helps a lot.

  20. venky Says:

    Thank you very much…
    Really helped me a lot.

  21. Jan Doggen Says:

    Teezoy,
    You can’t do that. The only way to enlarge your HD is to make a second larrger disk, then use a disk imaging tool to copy disk 0 to disk1, then in VM settings remove the first HD and put the second HD in its place. You can Google for more info.

  22. Huge Says:

    Thanks! It bothers me days to see the second drive.

  23. Michael Paladino Says:

    Same as the others. Thanks for the article. It really helped me out of a bind, and I couldn’t find the information anywhere else.

  24. Shantanu Mishra Says:

    Great Tutorial
    Nice easy step by step illustration
    I was stuck after I created the drive and was unable to locate the newly added drive

  25. Monica Says:

    You totally and completely rock. I have been banging my head against a wall for 2 days prior to finding your tutorial

  26. Justin Smith Says:

    An addendum, I did find that you have to shutdown the session running inside Virtual PC in order to make these changes.

  27. Matt Says:

    Thanks so much dude!

  28. SeanC Says:

    Cheers, should have known this but late in the evening so missed part about formating

  29. polo santiago Says:

    THANKS SO MUCH!!!

  30. Nigel B Says:

    THANKS! From Red Bull Racing F1 Team!!

  31. Ravindra Joshi Says:

    Thanks a lot!! Really saved lot of time by giving clear description and pictures. Awesome posting :)
    Thanks again,
    Ravindra.

  32. Amy Says:

    It’s a great article. It’s really helpful!
    Thanks a lot

  33. Rob Says:

    Thanks, great article. Had me baffled for ages, why is there nothing in the virtual PC documentation!

  34. Mik Says:

    thank you!

  35. Sachin Kainth Says:

    This is the best article I have read in a long time. To the point and very helpful. I wish Virtual PC would at least hint to you that you that there are extra steps beyond the configuration steps in its console.

    Thank you very much.

  36. Ragnar Says:

    Just what I needed. I have installed WHS as a VM with Windows Server 2003 as host OS. I will use the WHS for storage of all my data and to access them remotely.
    A bit disappointed that the max disk size was only 130 Gig
    Regards, Ragnar

  37. Jesper Says:

    With me it only can create the new disc to a new parion instead of volume, but in seems to run correctly after…

    When I chose the Disc Management the window you’re talking about does’nt show at my pc.

    Can it be bacuse I have installed Home Edition as a Virtial HD?

  38. KZ Says:

    If we don’t convert to dynamic disk, what will possibly happen? (Of course, a basic disk.) But, my question is – it’s still usable, rite?

  39. Tiger Says:

    Very helpful! Helped my XP Virtual PC to recognise the additional fixed size virtual hard drive I created using Virtual PC 2007 on Vista Premium! Many thanks.

  40. RAL Says:

    Thanks. This was what I was looking for. Worked like a charm.

  41. mir saman Says:

    thank you
    it was great.

  42. Pradeep Nulu Says:

    Thanks Much. It really helped!!

  43. ZT Says:

    Procedure is good. Thx.

  44. Abhi Says:

    it doesnt get better than this… thanks a ton

  45. Esmee Says:

    this saved my butt. Thanks!

  46. Gonçalo Says:

    Aaawwweeesssooommmeeeeeeee…

  47. Kiran Says:

    Thanks a lot.
    Its working for Win 2008 VPC also

  48. Roman Says:

    Unfortunately – the limit for the disk is 64GB. We needed more, so we have to use additional disks. What so more – we have more flexibility with two smaller disk files than with one very big disk file. Thank you very much for detailed explanation. It helped me a lot.

  49. veera Says:

    oh. god. Excellant.. save my job.. Thanks a lot….

  50. karliana Says:

    thx very much…. :D

  51. Venu Says:

    You are a genious, you understand other peoples plight.

  52. Navin Says:

    Very helpful. Helped me in getting my job done.

  53. Anonymous Coward Says:

    Thanks!
    Helped me a lot!

  54. Amanda Says:

    Thanks! I was fumbling through the process of adding the 2nd drive and then it didn’t show up in my computer. You made my day with this.

  55. step Says:

    Thanks. Stopped me going in circles reinstalling the drive, been happening for the last 2 hours…

  56. milsz Says:

    Thanks! Gr8 helpful blog…

  57. Roar Says:

    Thanx alot!!

  58. jeth Says:

    great guide! helped me big time.. thx!

  59. Shayne Says:

    Anyone know of a link that can show me how to do the exact same thing with Windows 98se? I cant see the new disk in DOS, so i cant fdisk and format it.

  60. Pankaj Says:

    Thanks this is a good doc

  61. xm8 Says:

    thanks, that helps a lot.

  62. aki Says:

    Walaweh! A great document. just simply helps me a lot.

  63. Jacques D. Says:

    A great document! Helped me tremendously!!
    Thank you!

  64. Leo Says:

    I am trying to make a file server and i have installed win 2003 server on my VM. To creat a file server I need 4 virtual HDD. in the Virtual Machine Console there is HDD 1/2/3 how do i add the 4th Virtual HDD to complete my File server Lab. Please help.

  65. Paul J Lay Says:

    Very good walk through. Couldn’t find better information anywhere else. This was the first time I needed to do this since the old FDISK days. Thanks for helping me out.

  66. Eileen Says:

    saved my bacon! thanks. first disk not enough room for databases needed to restore. now for each database (all over 100 gig) I have a new drive for. again, THANKS!!

  67. Muammar Says:

    You just saved my day:)
    Thanks mate!!

  68. Juha Says:

    Thank you sooo much!

  69. Al Says:

    Thanks for this !

  70. Rizki P Says:

    Good article bro… Thanks so much..

  71. James E Says:

    May you live long…greetings and hailing from Calabar Nigeria…..You saved me so much

  72. mohammed Says:

    Thanks dude,it was really a great help.

  73. azad Says:

    very helpful -

  74. XZeeR Says:

    thanx alot :), very useful and easy to read guide

  75. Matt Says:

    Excellent! Great article :)

  76. sam Says:

    Muchas gracias por la publicación
    Thanks a lot for your article (in spanish)

  77. RSG Says:

    Good job! This was a great help to me as I needed a specific drive letter to match the paths that I had defined in the configuration files for an application that I had planned on porting over to the virtual machine. I was told (and think, instinctively knew) that I could add an additional HD to my virtual server but the process was not as intuitive as I would have imagined. Needed a quick guide. Did a Google search first thing this morning; found this how-to and had my new, formatted drive up and running within 1/2 hour.

    Thanks!

  78. Todd McDermid Says:

    For those wanting to do the same task in Windows 7 that has Virtual PC “built-in” – follow the instructions here: http://www.howtogeek.com/howto/5291/how-to-create-a-virtual-hard-drive-in-windows-7/

  79. bal Says:

    found this very informative and easy to follow instruction

    many thanks

  80. Tom Says:

    Thanks, this helped me a lot!

  81. BBD Says:

    Really useful many thanks. FYI I’m using the second drive for SQL.

  82. AX Says:

    It’s a great job, thanks a lot!

  83. steve Says:

    good job, no wonder i cannot find my 2nd HD , because i need to go to XP and format it

  84. Ravi Kanth Says:

    Nice article….

  85. Luis Says:

    It works
    Thank you so much :)

  86. Ken Rae Says:

    running win vpc on windows 7, using win2003 server OS inside and fantastic job.
    thank you – Ken Oxford UK.

  87. Ned Says:

    (*****) Works like a charm!

  88. Mark F Says:

    Thanks for this. Without it I could have wasted hours waiting for the penny to drop.

  89. Nomes Bebes Says:

    Good article bro… Thanks so much..

  90. Nomes Femininos Says:

    You just saved my day:)
    Thanks mate!!

  91. nombres nino Says:

    Same as above – cheers!

  92. Ben Says:

    Arcane Thanks for this post, again you have helped me out again. As for Teezoy, you cannot expand a virtual hard disk once you create it. It behaves just like any other hard disk.

  93. sam Says:

    Great Step by Step!!!

  94. wwew Says:

    Buen post. Gracias por el aporte.

  95. shapewear Says:

    This worked like a charm! Thank you so much!

  96. ashik Says:

    mercy

  97. himan Says:

    thanks a lot

  98. WoW Says:

    (((WoW))) Thank You Very Very Much!!! (@_@)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 104 other followers

%d bloggers like this: