Opened 13 years ago

Closed 10 years ago

#8468 closed enhancement (wontfix)

use registervm to register machine with .vbox file

Reported by: Gary Scarborough Owned by:
Component: other Version: VirtualBox 4.0.4
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

The vmname.vbox file that is created for machines is associated with the VirtualBox application. Double clicking it in Linux (and I assume Windows too) registers the guest in the VirtualBox Manager, including the hard drive file. It would be really nice if this could be done from the command line also. I tried using registervm on the file, in case that is how it was suppose to work, and received the following errors (in case its relevant)

VBoxManage: error: Runtime error opening '/home/grs/.VirtualBox/fedora_14.vbox' for reading: -102 (File not found.).
VBoxManage: error: /home/vbox/vbox-4.0.4/src/VBox/Main/src-server/MachineImpl.cpp[430] (nsresult Machine::init(VirtualBox*, const com::Utf8Str&, const com::Guid*))
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component VirtualBox, interface IVirtualBox, callee nsISupports
Context: "OpenMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 88 of file VBoxManageMisc.cpp

Change History (2)

comment:1 by Gary Scarborough, 13 years ago

This is in error. registervm requires the full path. Works just fine now. Sorry.

comment:2 by Frank Mehnert, 10 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use