VirtualBox

Opened 16 years ago

Closed 15 years ago

#1507 closed defect (fixed)

internalcommands createrawvmdk fails to register with -register option if destination vmdk is not a full path

Reported by: Robert Pendell Owned by:
Component: other Version: VirtualBox 1.6.0
Keywords: Cc:
Guest type: other Host type: other

Description

If you do not specify the full pathname of the destination vmdk file then the -register parameter will fail to actually do the registration. It completes the pathname based on the default location rather than the current location that you are actually at. The vmdk file does get created however and can be registered manually. OS is Windows XP.

Output below:

E:\DD-WRT>"c:\Program Files\Sun\xVM VirtualBox\VBoxManage.exe" internalcommands createrawvmdk -filename Debian_Raw.vmdk -rawdisk \.\PhysicalDrive1 -partitions 1,5 -register VirtualBox Command Line Management Interface Version 1.6.0 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved.

RAW host disk access VMDK file Debian_Raw.vmdk created successfully. [!] FAILED calling aVirtualBox->OpenHardDisk(filename, hardDisk.asOutParam()) at line 1045! [!] Primary RC = E_FAIL (0x80004005) - Unspecified error [!] Full error info present: true , basic error info present: true [!] Result Code = E_FAIL (0x80004005) - Unspecified error [!] Text = VD: error opening image file 'G:\VirtualBox\Debian_Raw.vmdk' (VERR_PATH_NOT_FOUND) [!] Component = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916} [!] Callee = IVirtualBox, {2d3b9ea7-25f5-4f07-a8e1-7dd7e0dcf667}

Change History (2)

comment:1 by Robert Pendell, 16 years ago

Hmm... the output didn't paste correctly... Here it is again formatted correctly.

E:\DD-WRT>"c:\Program Files\Sun\xVM VirtualBox\VBoxManage.exe" internalcommands createrawvmdk -filename Debian_Raw.vmdk -rawdisk \.\PhysicalDrive1 -partitions 1,5 -register
VirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

RAW host disk access VMDK file Debian_Raw.vmdk created successfully.
[!] FAILED calling aVirtualBox->OpenHardDisk(filename, hardDisk.asOutParam()) at line 1045!
[!] Primary RC  = E_FAIL (0x80004005) - Unspecified error
[!] Full error info present: true , basic error info present: true
[!] Result Code = E_FAIL (0x80004005) - Unspecified error
[!] Text        = VD: error opening image file 'G:\VirtualBox\Debian_Raw.vmdk' (VERR_PATH_NOT_FOUND)
[!] Component   = HardDisk, Interface: IHardDisk, {fd443ec1-000f-4f5b-9282-d72760a66916}
[!] Callee      = IVirtualBox, {2d3b9ea7-25f5-4f07-a8e1-7dd7e0dcf667}

comment:2 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: newclosed

Most probably fixed in 2.2.0. Please reopen if necessary.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use