Page 1 of 1

Convert .vdi to .vmdk error

Posted: 17. Jan 2013, 12:54
by echauvin
Hello,

i'm trying to convert a file .vdi in .vmdk
OS : Windows 7 x86, Oracle VM VirtualBox 4.2.6

I open cmd prompt and type :
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonehd "C:\Users\install\Desk
top\OEERP2_V2013-disk1.vdi" "C:\Users\install\Desktop\openerp01.vmdk" --format VMDK --variant Standard
Result :
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Failed to clone hard disk
VBoxManage.exe: error: Could not create the clone medium 'C:\Users\install\Desktop\openerp01.vmdk' (VERR_VD_READ_OUT_OF_RANGE)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium
VBoxManage.exe: error: Context: "int __cdecl handleCloneHardDisk(struct HandlerArg *)" at line 682 of file VBoxManageDisk.cpp
An idea of the problem

Best regards

Erwan

Re: Convert .vdi to .vmdk error

Posted: 17. Jan 2013, 13:45
by mpack
I don't recognize the error, but the message "read out of range" IMHO implies a problem reading the VDI rather than writing the VMDK.

"Out of range" I imagine means that the block map is telling it to read from beyond the end of file. Suggesting perhaps that the VDI has been truncated. Did you recently move it between PCs, via a removable drive? If so, did you bear in mind that FAT32 formatted drives have a 4GB limit on individual file sizes?

Re: Convert .vdi to .vmdk error

Posted: 17. Jan 2013, 15:27
by echauvin
the file is 7.2 go
I tested the conversion on two computers, the transfer between the two is passed through the network.
the file is read by virtualbox

Re: Convert .vdi to .vmdk error

Posted: 17. Jan 2013, 16:12
by echauvin
it's OK

I retried the conversion after restarting the physical computer. and reinstall the software virtualbox, and it works

Thank you

Bye