How to start a VirtualBox machine via command line (without GUI)?

I know that this is possible, but I don't know how...

I am just trying to start a VirtualBox VM called ubuservloc from the command line, but without success.

0

5 Answers

Only needed:

VBoxManage startvm "VM name" --type headless

For example:

VBoxManage startvm ubuservloc --type headless
8

Try this,

virtualbox startvm ubuservloc
1

stop

VBoxManage controlvm "vm_name" poweroff

start

nohup VBoxHeadless -startvm "vm_name" & 
  • To list virtual machines:

    VBoxManager list vms
  • To Start a virtual machine:

    VBoxManage startvm YOUR_VIRTUAL_MACHINE_NAME
  • To stop a virtual machine:

    VBoxManage controlvm Android poweroff
  • in windows 10
    1. open Oracle VM VirtualBox -> select vm_name right click -> create Shortcut in Desktop
    2. select shortcut -> properties -> shortcut -> target -> copy
    3. open cmd run (change 'VirtualBox.exe' -> 'VBoxHeadless.exe')
"C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --comment "linux_mint" --startvm "14f426cc-845d-46cb-9f6e-4dbb31a3769a"

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like