howtothings.co.uk

Full Version: Trick to increase a fixed sized VDI using vboxmanage (Virtual Box)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I had a virtual machine with a 10GB fixed VDI which is now full.. a trick is to convert the fixed VDI in to a dynamically expanding VDI, increase the size of it and then convert it back in to a fixed VDI.

VBoxManage can be found in: C:\Program Files\Oracle\VirtualBox\

Convert a Fixed size VDI in to a dynamically Expanding VDI
VBoxManage clonehd [old-VDI] [new-VDI] --variant Standard

Increase the size of a dynamically expanding VDI
VBoxManage modifyhd [VDI] --resize [megabytes]

Convert dynamic VDI back to fixed VDI
VBoxManage clonehd [old-VDI] [new-VDI] --variant Fixed

Go to settings in Oracle VM VirtualBox, tell the virtual machine to use the new VDI.
I then had to boot the VM to a gparted disk and expand the drive to use the extra space..

:thumbsup: