Resizing a VirtualBox VDI

Expanding drive space in VirtualBox has gotten easier!  Just clone the VDI (this step isn’t required, but if something goes wrong you’ll be happy you did it), then zap the clone with this:

VBoxManage modifyhd <absolute path to file> --resize <size in MB>

Fire up the clone.  If you’re running a modern Windows OS you can use Disk Manager to expand the partition to fill the volume.  Otherwise check out gparted.


Post a comment

You may use the following HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">