VirtualBox

Opened 9 years ago

Closed 9 years ago

#13624 closed defect (invalid)

vboxmanage convertdd says VERR_INVALID_PARAMETER

Reported by: ddeath Owned by:
Component: virtual disk Version: VirtualBox 4.3.12
Keywords: vboxmanage convertdd Cc:
Guest type: other Host type: Linux

Description

Hi there, I tried to convert bin file to vdi vie vboxmanage but it ends with error:

vboxmanage convertdd ./linux.bin 5460 --format VDI 
Converting from raw image file="./linux.bin" to file="5460"...
Creating dynamic image with size 929810 bytes (1MB)...
VBoxManage: error: Cannot create the disk image "5460": VERR_INVALID_PARAMETER

version of vboxmanage: 4.3.12r93733

I tried to convert compiled linux firmware from router AirLive WL5460: http://fs.airlive.com/GPL_Code/GPL_WL-5460AP.zip

Change History (2)

comment:1 by ddeath, 9 years ago

It may be related to the https://www.virtualbox.org/ticket/3012

I tried similar command:

vboxmanage showhdinfo linux.bin 
VBoxManage: error: Could not get the storage format of the medium '/home/ddeath/Downloads/GPL_WL-5460AP/linux.bin' (VERR_NOT_SUPPORTED)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp

It is possible that it do not recognize the format?

comment:2 by Frank Mehnert, 9 years ago

Resolution: invalid
Status: newclosed

The reason for this error message is that the linux.bin image is too small (less than 1MB). But the real problem is that you are trying to convert a file which does not contain disk image data to a virtual disk. linux.bin is not a raw disk image. There is no partition table.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use