• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trick to increase a fixed sized VDI using vboxmanage (Virtual Box)
#1
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:
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to convert virtual hard drive files VDI, VMDK, VHD and RAW using VBoxManage Mark 0 6,447 15-09-2013, 07:00 PM
Last Post: Mark
  Trick To Lock Your Computer With Usb Clones 1 6,015 12-11-2011, 11:46 PM
Last Post: Mark

Forum Jump: