D(one) IT

IT Tips, Tricks & Such

Expand Windows boot volume

During a VMware VDI project, I ran into the situation of having to increase the system boot volume from a deployed template.

I found that my options were:

  1. Boot VM with a Live CD containing Gparted. Follow these steps.
  2. Connect boot volume to another VM and go through Diskpart. Follow these steps.
  3. Small Dos utility from Dell ExtPart (Works on 32bit OS only). Follow these steps.
  4. Starting in Windows Vista/ Server 2008: Extend boot volume from Disk Management or Diskpart locally. Follow these steps.

I found that ExtPart was the best option working with XP and Server 2003 VMs.

  • Power off VM
  • Increase drive size using vSphere Client
  • Power on VM
  • Open a Command prompt
  • Run extpart [ volume . sizetogrowinMB ]

Example: extpart c: 2048 (Increases C drive 2 GB)

  • No Reboot required.
  • I would then issue an Sdelete script to zero out all the free space to reduce backup size.
Advertisements

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

%d bloggers like this: