VirtualBox Commands List

Valic —  February 14, 2013 — 1 Comment

If you installed VirtualBox following this guide Run Virtual Machines and you are new to VirtualBox, then the following commands will help you to gather information and control your Virtual machines:

1. How to show the VirtualBox VM info:

root@debian:~# VBoxManage showvminfo

Where <vmname> is the name of your Virtual Machine

2. How to show the VM Harddrive info:

root@debian:~# VBoxManage showhdinfo

<filename> is the name of your .vdi file

3. How to list running VM:

root@debian:~# VBoxManage list runningvms

4. How to list available VM:

root@debian:~# VBoxManage list vms

5. How to list available VM Harddrives:

root@debian:~# VBoxManage list hdds

6. How to list all available ISO images:

root@debian:~# VBoxManage list dvds

7. How to Start a Virtual Machine:

Here you need to use the nohup command and add & to the end of command to run process in background so Virtual Machine will continue to run if you are closing the console.

root@debian:~# nohup VBoxHeadless --startvm &

8. How to pause VM:

root@debian:~# VBoxManage controlvm pause

9. How to resume VM:

root@debian:~# VBoxManage controlvm resume

10. How to reset VM:

root@debian:~# VBoxManage controlvm reset

11. How to power off a VM:

root@debian:~# VBoxManage controlvm poweroff

12. How to attach a DVD / CD to a running VM:

root@debian:~# VBoxManage controlvm dvdattach

13. How to detach  a DVD / CD from a running VM:

root@debian:~# VBoxManage controlvm dvdattach none


Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

Trackbacks and Pingbacks:

  1. VirtualBox Lista de Comandos | @l30bravo - March 10, 2013

    […] Fuente: […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.