Home » Questions » Computers [ Ask a new question ]

Is it possible to shrink a VirtualBox dynamic image?

Is it possible to shrink a VirtualBox dynamic image?

When you create a Virtual Box image you can choose to create a dynamic one, which will grow as needed so that even if your image is for 20GB, if you used only 4GB, only 4GB is taken from your hard disk.

Asked by: Guest | Views: 24
Total answers/comments: 1
Guest [Entry]

"There is tutorial at VirtualBox forums which has this question,

Q: How can I reduce the size of a dynamic VDI on disk?
There are two approaches to cleaning up and reducing the size of the file system stored on a dynamic VDI. The first is what I call in-place and the second is by doing a file system copy.
This answer addresses the first of these.

One more reference: howto resize / expand a vdi disk (linux guest)"