VirtualBox

Ticket #1507 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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

Reported by: shinji Owned by:
Priority: major 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

comment:1 Changed 6 years ago by shinji

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 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Most probably fixed in 2.2.0. Please reopen if necessary.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use