howtothings.co.uk
Trick to increase a fixed sized VDI using vboxmanage (Virtual Box) - Printable Version

+- howtothings.co.uk (https://www.howtothings.co.uk)
+-- Forum: Computing (https://www.howtothings.co.uk/forumdisplay.php?fid=4)
+--- Forum: Operating System and Software Support (https://www.howtothings.co.uk/forumdisplay.php?fid=17)
+--- Thread: Trick to increase a fixed sized VDI using vboxmanage (Virtual Box) (/showthread.php?tid=1321)



Trick to increase a fixed sized VDI using vboxmanage (Virtual Box) - Mark - 01-12-2013

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: