[Solved] Resize VDI (VBoxManage)
Posted: 22. Aug 2017, 11:00
I tried to expand a dynamics VDI file of 32GB size to 64GB using VBoxManage command-line. This are my steps :
1) Open Prompt Dos session (with run as administrator)
2) Navigate to C:\Program Files\Oracle\VirtualBox folder (I use latest VirtualBox 5.1.26 version)
3) launch VBoxManage with this statement:
But I receive this error:
The help file, on the the [--resize x] option says:
This currently works only for VDI and VHD formats, and only for the dynamically allocated variants, and can only be used to expand (not shrink) the capacity.
Then, why I get this error?
How to expand my VDI?
Thank!
1) Open Prompt Dos session (with run as administrator)
2) Navigate to C:\Program Files\Oracle\VirtualBox folder (I use latest VirtualBox 5.1.26 version)
3) launch VBoxManage with this statement:
Code: Select all
C:\Program Files\Oracle\VirtualBox>vboxmanage modifymedium "C:\VirtualBox VMs\Windows 10-1703-en\Windows 10-1703-en.vdi" --resize 64Code: Select all
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize medium operation for this format is not implemented yet!This currently works only for VDI and VHD formats, and only for the dynamically allocated variants, and can only be used to expand (not shrink) the capacity.
Then, why I get this error?
How to expand my VDI?
Thank!