Created
August 13, 2015 08:24
-
-
Save Starefossen/319f36ff30694a775806 to your computer and use it in GitHub Desktop.
Resize VirtualBox .vmdk disk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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