As briefly mentioned in
You will need to use the command line if you want to do the following:
Use a different user interface than the main GUI such as the VBoxHeadless server.
Control some of the more advanced and experimental configuration settings for a VM.
There are two main things to keep in mind when using
Second, most of these subcommands require that you specify a particular virtual machine after the subcommand. There are two ways you can do this:
You can specify the VM name, as it is shown in the
VBoxManage startvm "Windows XP"
You can specify the UUID, which is the internal unique
identifier that
VBoxManage startvm 670e746d-abea-4ba6-ad02-2a3b043810a5
You can enter
Some typical examples of how to control
To create a new virtual machine from the command line and immediately register it with
$ VBoxManage createvm --name "SUSE 10.2" --register VirtualBox Command Line Management Interface Versionversion-number (C) 2005-2018 Oracle Corporation All rights reserved. Virtual machine 'SUSE 10.2' is created. UUID: c89fc351-8ec6-4f02-a048-57f4d25288e5 Settings file: '/home/username/.config/VirtualBox/Machines/SUSE 10.2/SUSE 10.2.xml'
As can be seen from the above output, a new virtual machine has been created with a new UUID and a new XML settings file.
For more details, see
To show the configuration of a particular VM, use
To change settings while a VM is powered off, use
VBoxManage modifyvm "Windows XP" --memory 512
See also
To change the storage configuration, such as to add a storage controller and then a virtual
disk, use
To control VM operation, use one of the following:
To start a VM that is currently powered off, use
To pause or save a VM that is currently running or change some of its settings, use