As of writing (2017-04-06), there is no native tooling to resize a fixed-size VDI. Those on the internet saying they can resize one are misinformed. You will get this error message:
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize medium operation for this format is not implemented yet!
To “resize” a fixed-size VDI, it must be cloned to a larger sized VDI.
Step 1 – Create the larger VDI and move data:
Method 1 – Using VBoxManage:
VBoxManage clonehd [old-VDI] [new-VDI] --variant Standard VBoxManage modifyhd [VDI] --resize [megabytes] VBoxManage clonehd [new-VDI] [newnew-VDI] --variant Fixed
Disadvantage of this method is you need to make two additional full copies of the disk.
Method 2 – Using Clonezilla:
- Create and attach a new, larger fixed-size VDI using the VirtualBox interface.
- Attach and boot with a Clonezilla ISO.
- Use Device-to-device setting to clone the drive. Remember to press F12 on boot to select CD-ROM.
Step 2 – Expand the underlying partitions:
- De-attach Clonezilla ISO and attach GParted ISO.
- Boot similarly and resize/move partitions as needed.