Can't convert VDI to IMG
Posted: 11. Feb 2015, 16:51
Hello,
I've got a virtual machine running Windows 7 which uses a VDI and VBOX file.
When I tried to convert the VDI file to an IMG file with VBoxManage I get an error.
Input (Using CMD on Windows 8.1 x64)
Output
I searched the internet for a few hours but can't find what I am doing wrong.
Is there any known fix for this?
Dominique
I've got a virtual machine running Windows 7 which uses a VDI and VBOX file.
When I tried to convert the VDI file to an IMG file with VBoxManage I get an error.
Input (Using CMD on Windows 8.1 x64)
Code: Select all
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" VBoxManage clonehd windows7.vdi win7.img --format RAWCode: Select all
c:\Users\Dominique\VirtualBox VMs\windows7>"C:\Program Files\Oracle\VirtualBox\V
BoxManage.exe" clonehd windows7.vdi win7.img --format RAW
VBoxManage.exe: error: Could not find file for the medium 'c:\Users\Dominique\Vi
rtualBox VMs\windows7\windows7.vdi' (VERR_FILE_NOT_FOUND)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component M
edium, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDe
vType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of
file VBoxManageDisk.cppIs there any known fix for this?
Dominique