Frank Vielma's Blog Programming, science, engineering, and more…
How To Shrink a Window’s Virtualbox VM
Posted on {16-Feb-2011} No comments- Perform a hard disk defragmentation (windows)
- Download sdelete and extract it to your desktop.
- Form a windows console to run:
sdelete -c c:/
This will add zeroes to all the free space in your C: drive - To run the following command from linux:
VboxManage modifyvdi /path/to/your/VM.vdi compact

