Resize VMDK/VDI

Resize VMDK/VDI

Clone the .vmdk image to a .vdi.

$ vboxmanage clonehd "virtualdisk.vmdk" "new-virtualdisk.vdi" --format vdi

Resize the new .vdi image (102400 == 100 GB)

$ vboxmanage modifyhd "new-virtualdisk.vdi" --resize 102400

Convert back to a .vmdk (optional)

$ vboxmanage clonehd "cloned.vdi" "resized.vmdk" --format vmdk

Last updated