Hello Peter,

When you create a VM in the GUI, it is automatically registered.  When 
you create it in VBoxManage, using the "createvm" option, you can pass 
the "-register" switch to register it.  If you do not, "createvm" will 
create an XML file in your $HOME/.VirtualBox directory.  It is this 
which must be registered with VirtualBox in order to start it.

Regards,

Michael

Peter wrote:
> Le Mercredi 28 Février 2007 10:54, Michael Thayer a écrit :
>> Hello Peter,
>>
>> You may not have registered the VM when you created it.
>>
> 
> I am trying like this but, again, it does not work:
> 
> # vboxmanage registervm /vol2/virtualbox/OpenBSD_4_0-T1.vdi
> 
> VirtualBox Command Line Management Interface Version 1.3.99
> (C) 2005-2007 InnoTek Systemberatung GmbH
> All rights reserved.
> 
> Informational: VirtualBox object created (rc=00000000).
> [!] FAILED calling virtualBox->OpenMachine(Bstr(argv[0]), 
> machine.asOutParam()) at line 1917!
> [!] Primary RC  = 0x80004005
> [!] Full error info present: true , basic error info present: true
> [!] Result Code = 0x80004005
> [!] Text        = Could not load the settings 
> file '/vol2/virtualbox/OpenBSD_4_0-T1.vdi' (VERR_OPEN_FAILED).
> FATAL ERROR: An exception occurred! Type:UTFDataFormatException, 
> Message:invalid byte 1 () of a 1-byte sequence.
> Location: '/vol2/virtualbox/OpenBSD_4_0-T1.vdi', line 1, column 1
> [!] Component   = Machine, Interface: IMachine, 
> {fd443ec1-0009-4f5b-9282-d72760a66916}
> [!] Callee      = IVirtualBox, {00
> 
> 
> I cannot see how to register it via the GUI either.
> 
> PM


_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to