john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Virtualbox 3 1 commandline summary

virtualbox 3.1 command line commands updated

so it now REQUIRES the double --

AND memory is by default MB?

virtualbox-commandline-headless-summary

VBoxManage createvm --name VM1 --register VBoxManage modifyvm VM1 --bioslogofadein off --bioslogofadeout off

VBoxManage modifyvm VM1 --memory 3072 --acpi on --hwvirtex on VBoxManage modifyvm VM1 --nictype1 82540EM --nic1 bridged --bridgeadapter1 eth0 VBoxManage modifyvm VM1 -vrdp on -vrdpport 7777

VBoxManage modifyvm VM1 --boot1 dvd

VBoxManage createhd --filename VM1.vdi --size 10000 --register OR VBoxManage openmedium disk filename.VDI

VBoxManage modifyvm VM1 --sata on --sataportcount 2 --sataport1 VM1.vdi

VBoxManage openmedium dvd ~/.iso VBoxManage closemedium disk|dvd|floppy |filename

VBoxManage modifyvm VM1 --dvd ~/.iso

VBoxManage showvminfo VM1 | more

//start the VM... later ps aux | grep virtual
VBoxHeadless -s VM1

VBoxManage controlvm pause|resume|reset|poweroff|savestate

VBoxManage list hdds VBoxManage list dvds VBoxManage list vms

VBoxManage modifyvm VM1 -nic1 nat

for GUI Virtualbox: DON'T FORGET, right control key on keyboard "releases" mouse if stolen by virtualbox console... USE tab to navigate menus

FIREWALLS: service iptables save|stop|start

/etc/rc.d/init.d/iptables stop


VBoxManage unregistervm vmname -delete


  • « Virtualbox usb attach continued
  • Virtualbox linux commandline usb »

Published

Mar 26, 2010

Category

virtualization

~159 words

Tags

  • 1 9
  • 3 16
  • commandline 12
  • summary 2
  • virtualbox 36
  • virtualization 87