The --resize x option, where x is the desired new total space in megabytes enables you to change the capacity of an existing image. This adjusts the logical size of a virtual disk without affecting the physical size much.
This option currently works only for VDI and VHD formats, and only for the dynamically allocated variants. It can only be used to expand, but not shrink, the capacity.
# La doc
Posté par Donk . En réponse au message Virtualbox -> Resize VM impossible. Évalué à 4.
Extrait de la doc:
https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifymedium