Google
 

Monday, August 11, 2008

Christophe Fiessinger's Blog

 

How to extend the size of a virtual image (VHD)?

Let’s assume you have an EPM demo VPC with one disk and one partition of 19.53GB and you’d like to extend it to install additional software.
image

Download VhdResizer, open the VHD you want to update and set its new size to 25GB for instance (Dynamic type)
ScreenHunter_04 Aug. 06 17.01

  • Boot VHD using Windows PE (Windows Preinstallation Environment (Windows PE) 2.0 is a minimal Win32 operating system with limited services, built on the Windows Vista kernel) for instance
    Go at the command line and launch DISKPART
    LIST VOLUME (to identify VHD volume to extend)
    SELECT VOLUME n
    EXTEND
  • Done! (LIST VOLUME will show you the extended size)

ScreenHunter_02 Aug. 07 16.52
ScreenHunter_03 Aug. 07 16.54

Start the VPC and the virtual C: partition should now be 25GB (the physical VHD size should not change since it’s a dynamic disk)

Christophe Fiessinger's Blog

No comments: