Aug
10
2017
0
Shrinking VirtualBox disk images
Since moving to an SSD drive space is a limited resource. For several development tasks I am using a virtual machine whose disk image (dynamically allocated storage) has grown to approximately 45.5 GB. To free up some space quickly (relative term) I decided to shrink this particular disk image.
At the time of this writing the VirtualBox tool ‘modifyhd’ of VBoxManage only supports the disk format ‘VDI’.