An error is displayed when virtualbox uses modifyhd command to expand capacity: Resize medium operation for this format is not implemented yet

Virtualbox implemented capacity using the modifyhd command: Resize Medium Operation for this Format is not implemented yet
The 10gb virtual disk you created requires more space and you don’t want to use the additional virtual disk method.
through checking the data, we found that the VBoxManage modifyhd command provided by VirtulBox can be solved. The specific usage of this command:
VBoxManage modifyhd
[– type normal|writethrough| shareable>0
readonly>1 multiattach]
[– autoreset on>2 off]
[– property]
[– compact]
[– resize>3 — resizebyte]

pengdeMacBook-Air:windows pengchen$ cd VirtualBox\ VMs/windows/

Modify fixed size virtual hard disks to dynamically allocate storage to hard disks:

pengdeMacBook-Air:windows pengchen$ VBoxManage modifyhd windows-disk1.vmdk -type normal

Modify the size of the virtual hard disk to 50G:

C:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd e:\vbox\Ubuntu12.04\Ubuntu1204-201302-disk1.vmdk --resize 30000
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!

The original virtual machine is in VMDK format, and this command only supports VDI format. What to do
find VBoxManager can be used to convert virtual hard disk storage file format

C:\Program Files\Oracle\VirtualBox>VBoxManage clonehd e:\vbox\Ubuntu12.04\Ubuntu1204-201302-disk1.vmdk  e:\vbox\Ubuntu12.04\Ubuntu1204-201310-disk1.vdi --format VDI
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: 455b7aa4-d776-4254-8353-d9b5b3fa109b

Finally, VBoxManager is used to set the expansion capacity of the transferred VDI file

C:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd e:\vbox\Ubuntu12.04\Ubunt
u1204-201310-disk1.vdi --resize 30000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

I didn’t report that mistake
Note: after opening the virtual machine, the actual disk size has not changed. At this time, you need to use the disk management tool to expand your partition size.
From above: https://blog.csdn.net/weiguang1017/article/details/52252448?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4& Depth_1 -utm_source=distribute. Pc_relevant. None-task-blog-blogcommendfrombaidu -4
my action pictures

Read More: