I have a .VDI disk on a VM that I need to extend. I have tried to do this in the GUI and VBox manager but I get the error VBOX_E_NOT_SUPPORTED
Apparently this is because it is a fixed disk, and this is not supported. The workaround is to clone the disk (which will be dynamic be default) then attach it and expand it. But I get errors when trying to do that too
Using Vbox manager and the syntax
Code: Select all
VBoxManage clonehd “C:\Backup\WorkVM\WorkVM.vdi” “C:\VMs\CloneWorkVM.vdi”Code: Select all
Syntax error: Invalid parameter '"C:\VMs\CloneWorkVM.vdi"'
C:\Program Files\Oracle\VirtualBox>VBoxManage clonehd "C:\Backup\WorkVM\WorkVM.v
di" "C:\VMs\CloneWorkVM.vdi"
VBoxManage.exe: error: Could not get the storage format of the medium 'C:\Progra
m Files\Oracle\VirtualBox\"C:\Backup\WorkVM\WorkVM.vdi"' (VERR_INVALID_NAME)
VBoxManage.exe: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component M
ediumWrap, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDe
vType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 191 of
file VBoxManageDisk.cppRunning virtual box 6.1.6 on Windows 8 64 bit host
Thanks,
Dan