Skip to content

Instantly share code, notes, and snippets.

@ph00lt0
Created September 28, 2022 21:05
Show Gist options
  • Save ph00lt0/81297d227f6c824a7cbc08d9f19ff426 to your computer and use it in GitHub Desktop.
Save ph00lt0/81297d227f6c824a7cbc08d9f19ff426 to your computer and use it in GitHub Desktop.
Shrink size vm
dd if=/dev/zero of=zerofillfile bs=1M
rm zerofillfile
(shut down VM)
Host: VBoxManage modifyhd --compact (insert path to VDI file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment