• 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


Messages In This Thread
Trick to increase a fixed sized VDI using vboxmanage (Virtual Box) - by Mark - 01-12-2013, 12:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Replacing a Windows XP virtual machine with a Linux Cent OS 6.5 torrent box VM Mark 0 8,087 07-07-2014, 11:27 PM
Last Post: Mark
  Virtual Box - Windows XP won't see more than one processor Mark 0 5,478 08-12-2013, 12:05 AM
Last Post: Mark
  How to convert virtual hard drive files VDI, VMDK, VHD and RAW using VBoxManage Mark 0 6,757 15-09-2013, 07:00 PM
Last Post: Mark
  Trick To Lock Your Computer With Usb Clones 1 6,585 12-11-2011, 11:46 PM
Last Post: Mark
  How to fix Blue screen of death in windows 8 virtual box windows 7 was my idea 3 13,399 30-09-2011, 06:43 PM
Last Post: Drumm

Forum Jump: