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>
Error reading the block table when trying to clone VDI
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Error reading the block table when trying to clone VDI
Does this mean you tried to compact it? What was the method you used? Did the host D drive suffer a problem lately?Geobosox wrote:I just performed a compress on my VDI file
Try running Mpack's CloneVDI on the original disk file. If CloneVDI cannot make sense of the original VDI, then it's toast, and a backup copy is needed.
Re: Error reading the block table when trying to clone VDI
Thanks for the response. Turns out that there was a disk issue that I finally resolved and the VM is now working fine.
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Error reading the block table when trying to clone VDI
Great! Glad you're up and running.