Converting virtual disks between fixed and dynamic size
You can convert a dynamic sized VDI or VMDK into a fixed (and faster) fixed size disk when you deploy your VM using VirtualBox tools.
VBoxManage clonehd dynamic.vdi fixed.vdi --variant Fixed
...and if you need to resize the disk you can use:
VBoxManage modifyhd fixed.vdi --resize [megabytes]
Written by Leonardo Koch Kewitz
Related protips
3 Responses
Add your response
Add your response
Actually, the --resize flag for modifyhd only works for dynamically-allocated VDI's.
From the documentation: This currently works only for VDI and VHD formats, and only for the dynamically allocated variants.
http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvdi
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Virtualbox
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#