Expand A Virtual Hard Disk

by Bill Owens 27. February 2009 22:45
Posted by Matt Wittemann of ICU-MSCRM


I recently created a new virtual server for development purposes, and made the newbie mistake of leaving the maximum hard drive size set to 16GB. Even though I set it up to be a dynamically expanding hard disk, it was only after I installed Windows Server 2008, SQL Server 2008, CRM, SharePoint, Office, Visual Studio and 25 other tools, that I realized I was about to run out of space on my system drive. As a Microsoft fan, I use Virtual PC 2007, which in this case meant that my toolset was a little limited in managing my VPC images.
After doing a bit of searching, I came across numerous posts that had a lot of cumbersome ways to expand the system partition on a virtual machine. Laziness being the mother of invention, I was determined to find a simpler way. And I am glad to report that not only did I find an easy way, but it was also totally free. Here's what I did:
1) Download and install VMWare's VCenter Converter.
2) Convert my VHD to a VMWare hard drive. VMWare Converter lets you specify a new size for the new hard drive. I set it to 40GB. The conversion took about 15 minutes, and the result was a 14GB vmdk hard drive file. (No need to boot it up in VMWare).
3) Downloaded and install the VMDK2VHD utility - also free - from http://vmtoolkit.com/files/folders/converters/entry8.aspx.
4) Launched the VMDK2VHD and pointed it at the file I had just created with VM's Converter.
About 40 minutes later I had a new VHD file. I pointed my original VMC file to use this new VHD file, started it up, kept my fingers crossed, and...voila! I now have a bunch of free space on my image!

Tags: ,

Page List

About the author

I work for a consulting firm in Dublin Ohio called Affiliated Resource Group. For the last five years I have been spearheading our Microsoft Dynamics CRM practice. I have a deep appreciation for the Microsoft CRM platform and I am very excited about it. You might even describe me as a Microsoft CRM Advocate. I have many battle scars from my experience with the product and I’m constantly being asked questions about CRM and how-to-do something in it. Hence, this BLOG is to help disseminate that knowledge and information to everyone. As of last year I was posting links to many other blogs to help spread the knowledge, but now with the community.dynamics.com doing that for me, I will be following that practice unless a really juicy article catches my eye. Many people have asked where my post are for the first half of 2010, my company had me posting to another blog and maintain two was near impossible. I am now down to just this blog. So good luck and I hope that this blog may help in some way. If you have suggestions or questions, please email me them.

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012 BillOnCRM