How to start commandline Virtualbox?

Discussions about using Windows guests in VirtualBox.
Post Reply
Krishgeek
Posts: 6
Joined: 23. Sep 2011, 20:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

How to start commandline Virtualbox?

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to start commandline Virtualbox?

Post by Perryg »

have you tried just typing virtualbox
Krishgeek
Posts: 6
Joined: 23. Sep 2011, 20:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: How to start commandline Virtualbox?

Post 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.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: How to start commandline Virtualbox?

Post 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?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Krishgeek
Posts: 6
Joined: 23. Sep 2011, 20:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: How to start commandline Virtualbox?

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to start commandline Virtualbox?

Post 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
Krishgeek
Posts: 6
Joined: 23. Sep 2011, 20:02
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows XP

Re: How to start commandline Virtualbox?

Post by Krishgeek »

Yes, Got it.


Thanks for your help.

Are there any other tools which i can use with Virtualbox?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to start commandline Virtualbox?

Post by Perryg »

Depends on what you mean. VBoxManage does it all.
Post Reply