Error reading the block table when trying to clone VDI
Posted: 28. Jul 2020, 19:18
I just performed a compress on my VDI file and can't open it in Virtualbox. When I trying running anything with VBOXmanage I get the error below. Any help is appreciated.
C:\Program Files\Oracle\VirtualBox>vboxmanage clonevdi "D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI" "D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V03.VDI" --format VDI
VBoxManage.exe: error: Could not open the medium 'D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI'.
VBoxManage.exe: error: VDI: Error reading the block table in 'D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI' (VERR_INVALID_FUNCTION).
VBoxManage.exe: error: VD: error VERR_INVALID_FUNCTION opening image file 'D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI' (VERR_INVALID_FUNCTION)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MediumWrap, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "CloneTo(pDstMedium, ComSafeArrayAsInParam(l_variants), NULL, pProgress.asOutParam())" at line 987 of file VBoxManageDisk.cpp
C:\Program Files\Oracle\VirtualBox>
C:\Program Files\Oracle\VirtualBox>vboxmanage clonevdi "D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI" "D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V03.VDI" --format VDI
VBoxManage.exe: error: Could not open the medium 'D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI'.
VBoxManage.exe: error: VDI: Error reading the block table in 'D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI' (VERR_INVALID_FUNCTION).
VBoxManage.exe: error: VD: error VERR_INVALID_FUNCTION opening image file 'D:\VirtualBox VMs\Pharma VM\SDS_Pharma_V1221_V02.VDI' (VERR_INVALID_FUNCTION)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MediumWrap, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "CloneTo(pDstMedium, ComSafeArrayAsInParam(l_variants), NULL, pProgress.asOutParam())" at line 987 of file VBoxManageDisk.cpp
C:\Program Files\Oracle\VirtualBox>