increase Virtualbox disk size vdi

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MOLO_FP
Posts: 1
Joined: 2. Nov 2021, 13:52

increase Virtualbox disk size vdi

Post by MOLO_FP »

I am getting the following error when i try to resize the disk of Guest: WIndows

the command line: vboxmanage modifyhd "/home/molofp/VirtualBox VMs/Windows 10/Windows 10.vdi" --resize 50000


%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Failed to resize medium
VBoxManage: error: Shrinking is not yet supported for medium '/home/molofp/VirtualBox VMs/Windows 10/Windows 10.vdi'
VBoxManage: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleModifyMedium(HandlerArg*)" at line 816 of file VBoxManageDisk.cpp
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: increase Virtualbox disk size vdi

Post by scottgus1 »

MOLO_FP wrote:Shrinking is not yet supported
The value for the resize is smaller than the VDI is now, according to the error message.

The number is interpreted as megabytes. so that's 50,000 megabytes, which is less than 50GB.
Post Reply