Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Resize VirtualBox .vmdk disk
# http://www.midwesternmac.com/blogs/jeff-geerling/resizing-virtualbox-disk-image
# Clone the .vmdk image to a .vdi.
vboxmanage clonehd "virtualdisk.vmdk" "new-virtualdisk.vdi" --format vdi
# Resize the new .vdi image (30720 == 30 GB).
vboxmanage modifyhd "new-virtualdisk.vdi" --resize 30720
# Optional; switch back to a .vmdk.
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment