Page 1 of 1

How to start commandline Virtualbox?

Posted: 23. Sep 2011, 20:23
by Krishgeek
Hi,

I am using virtualbox 4.1.2 Version on windows XP host. Can anyone please tell me how can i start Virtualbox using command line, I wanted to add one DHCP server for internal network adapter.
I got the commands but I want the way to start virtualbox using command line interface, so i can change into my GUI virtualbox.

Really appreciate your help.

Re: How to start commandline Virtualbox?

Posted: 23. Sep 2011, 20:37
by Perryg
have you tried just typing virtualbox

Re: How to start commandline Virtualbox?

Posted: 23. Sep 2011, 20:46
by Krishgeek
Hi,

Can you tell me where should i type it.

As per virtualbox 4.1.2 user guide I can start command line from host command prompt. I tried to find out but no luck :(

Can you please share the steps to start Command line Virtualbox on Windows XP host system.

Scenario:

I have installed virtualbox GUI on windows Xp 32 bit host, I have two guest OS & i wanted start the internal network between that guest systems using Internal network adapter. For that i need to start/add DHCP for internal network by command line(As per document).

Please help.

Re: How to start commandline Virtualbox?

Posted: 23. Sep 2011, 21:19
by Sasquatch
One of the Guests is going to be a DHCP server for the other? What has this to do with starting VirtualBox? And what document are you talking about? Are you sure you read and understand chapter 6 of the User Manual?

Re: How to start commandline Virtualbox?

Posted: 23. Sep 2011, 21:25
by Krishgeek
Yes, I have read chapter 6.

Please find below paragraph from chapter 8, I just want to know the steps/ way to run the mentioned command.

"The "dhcpserver" commands allow you to control the DHCP server that is built into VirtualBox. You may find this useful when using internal or host-only networking. (Theoretically, you can enable it for a bridged network as well, but that will likely cause conflicts with other DHCP servers in your physical network.)

Use the following command line options:

If you use internal networking for a virtual network adapter of a virtual machine, use VBoxManage dhcpserver add --netname <network_name>, where <network_name> is the same network name you used with VBoxManage modifyvm <vmname> --intnet<X> <network_name>
."

I hope you understand what i mean to say?

Please reply.

Re: How to start commandline Virtualbox?

Posted: 23. Sep 2011, 21:36
by Perryg
You need to be in a command window and in the folder that has VBoxManage.exe. Use the Windows search to find the exact location.
It should be in the program files\Oracle ... unless you installed it in a different location

Re: How to start commandline Virtualbox?

Posted: 23. Sep 2011, 21:54
by Krishgeek
Yes, Got it.


Thanks for your help.

Are there any other tools which i can use with Virtualbox?

Re: How to start commandline Virtualbox?

Posted: 23. Sep 2011, 23:04
by Perryg
Depends on what you mean. VBoxManage does it all.