Progress state: VBOX_E_NOT_SUPPORTEDVBoxManage.exe: error: Failed to resize medium VBoxManage.exe: error: Resizing to new size 85899345920 is not yet supported for medium 'C:\Users\Tony\VirtualBox VMs\KDE\KDE.vdi' VBoxManage.exe: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component MediumWrap, interface IMedium VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleModifyMedium(struct HandlerArg *)" at line 816 of file VBoxManageDisk.cpp
After some research, I found that if you set your VDI properties as Fixed when initially setting up your VirtualBox image, it cannot be resized directly through VirtualBox. You can however resize this via the command prompt using VBManage command in the VirtualBox folder.
Step 1: Open up a Command Prompt window and navigate to the VirtualBox folder
cd "C:\Program Files\Oracle\VirtualBox\"
Step 2: Since resize only supports dynamic VDI’s, we will need to verify that your vdi file format is Fixed default with the following command:
VBoxManage showhdinfo "C:\Users\<USERNAME>\VirtualBox VMs\<VDI Folder>\<VDI Name>.vdi" <USERNAME> = your Username <VDI Folder> = You may have another folder before you are in the directory where your VDI is located <VDI Name> = The name of your VDI file
Step 3: Cloning your vdi file will automatically convert this to dynamic and you can do this with the following command:
Step 5: Finally, after this is completed, you will need to unmount the old VDI file and mount the cloned and resized VDI file to your VM:
– Right-click on the VM and click on Settings – Click on the Storage tab – Click on your vdi and then click on the Disk icon next to the dropdown in the Attributes section, click Choose File and choose your cloned VDI file.