≡ Menu

Expand VirtualBox VDI

I recently ran out of space on a vdi and was surprised to learn there is no “Expand” or “Resize” option within Virtual Media Manager or VBoxManage.

My initial search didn’t turn up any quick and easy solutions, so I kept searching. I finally came across this blog post which uses gparted and diskpart to get the job done on Windows based guests as well as provides the steps to accomplish the same on Linux Guests.

Something worth noting is that earlier versions of Windows don’t allow you to extend system or boot volumes, so a 3rd Party utility may be necessary if diskpart throws the error below. I ended up using EASEUS Partition Master since gparted didn’t properly expand the volume.

Diskpart failed to extend the volume. Please make sure the volume is valid for extending

Comments on this entry are closed.

  • przemoc February 26, 2011, 8:05 pm

    It looks that my previous comment was filtered. I add only that my tool, vidma – Virtual Disks Manipulator, since version 0.0.3 supports resizing dynamic VDI files (fixed ones were supported from the beginning).