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:

[email protected]:~# VBoxManage showvminfo

Where <vmname> is the name of your Virtual Machine

2. How to show the VM Harddrive info:

[email protected]:~# VBoxManage showhdinfo

<filename> is the name of your .vdi file

3. How to list running VM:

[email protected]:~# VBoxManage list runningvms

4. How to list available VM:

[email protected]:~# VBoxManage list vms

5. How to list available VM Harddrives:

[email protected]:~# VBoxManage list hdds

6. How to list all available ISO images:

[email protected]:~# 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.

[email protected]:~# nohup VBoxHeadless --startvm &

8. How to pause VM:

[email protected]:~# VBoxManage controlvm pause

9. How to resume VM:

[email protected]:~# VBoxManage controlvm resume

10. How to reset VM:

[email protected]:~# VBoxManage controlvm reset

11. How to power off a VM:

[email protected]:~# VBoxManage controlvm poweroff

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

[email protected]:~# VBoxManage controlvm dvdattach

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

[email protected]:~# 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