On 09/04/10 19:13, Leonardo Carneiro - Veltrac wrote:
> VirtualBox --startvm<vmname|UUID>     start a VM by specifying its UUID
> or name
>
>
>
> Stefano Mossa wrote:
>> Is it possible to automatically start the guest operating system when
>> starting VirtualBox?
>> S
>>

Yeah, you don't actually need to start VirtualBox at all to run a VM. A similar 
command to that which Leonardo gives above can be made into a shortcut or a 
script that you can call any time:

VBoxManage startvm <vmname|UUID>

That should open the VM and boot the guest OS in a window. If you *do* then 
start the VirtualBox GUI, you will see that the guest is in the running state.

You could also have a script or shortcut to run something like

VBoxManage controlvm <vmname|UUID> savestate

to save and close your guest at any time.

I use stuff like this in my Linux boot scripts to control virtual machines if 
the system is rebooted, but also on a windows box I use for product demos: it's 
handy to be able to click a shortcut on the desktop and start the Linux guest 
which runs the web server without messing about with the GUI.


-- 
Peter Ford, Developer                 phone: 01580 893333 fax: 01580 893399
Justcroft International Ltd.                              www.justcroft.com
Justcroft House, High Street, Staplehurst, Kent   TN12 0AH   United Kingdom
Registered in England and Wales: 2297906
Registered office: Stag Gates House, 63/64 The Avenue, Southampton SO17 1XS

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to