Open rogerxu opened 8 years ago
Linux Guest
$ sudo dd if=/dev/zero of=EMPTY bs=4096k
$ sudo rm -rf EMPTY
Showdown the guest VM
Run VBoxManage modifyhd
command with the --compact
option
Windows Host:
VBoxManage.exe modifyhd "c:\path\to\thedisk.vdi" --compact
How to compress VirtualBox disk image file *.vdi?