Created
September 28, 2022 21:05
-
-
Save ph00lt0/81297d227f6c824a7cbc08d9f19ff426 to your computer and use it in GitHub Desktop.
Shrink size vm
This file contains 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
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