http://xmodulo.com/how-to-create-and-start-virtualbox-vm-without-gui.html
http://xmodulo.com/how-to-manage-virtualbox-vms-on-remote-headless-server.html
https://wiki.debian.org/VirtualBox
https://www.virtualbox.org/manual/ch08.html#vboxmanage-startvm
http://www.beyondlinux.com/2011/06/29/how-to-automate-virtual-machine-creation-and-runing-on-virtualbox-by-command-line/
Note that the example commands at the above link are using a syntax that is wrong. See the corrected commands below.
Delete a VM:
VBoxManage unregistervm| [--delete]
Download TinyCore:
http://distro.ibiblio.org/tinycorelinux/downloads.html
wget http://distro.ibiblio.org/tinycorelinux/7.x/x86/release/TinyCore-current.iso
Instructions for OSX ISO disk mounting
http://computerngeek.blogspot.it/2013/08/how-to-mount-virtualbox-vdi-images-on.html
Create a vm and configure it (Linux):
vboxmanage createvm -name testvm1 -register
mv TinyCore-current.iso /data/vm
http://xmodulo.com/how-to-manage-virtualbox-vms-on-remote-headless-server.html
https://wiki.debian.org/VirtualBox
https://www.virtualbox.org/manual/ch08.html#vboxmanage-startvm
http://www.beyondlinux.com/2011/06/29/how-to-automate-virtual-machine-creation-and-runing-on-virtualbox-by-command-line/
Note that the example commands at the above link are using a syntax that is wrong. See the corrected commands below.
Delete a VM:
VBoxManage unregistervm
Download TinyCore:
http://distro.ibiblio.org/tinycorelinux/downloads.html
wget http://distro.ibiblio.org/tinycorelinux/7.x/x86/release/TinyCore-current.iso
Instructions for OSX ISO disk mounting
http://computerngeek.blogspot.it/2013/08/how-to-mount-virtualbox-vdi-images-on.html
Create a vm and configure it (Linux):
vboxmanage createvm -name testvm1 -register
vboxmanage modifyvm testvm1 --memory 768 --vram 64 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0
#vboxmanage list ostypes
vboxmanage modifyvm testvm1 --ostype Linux26
vboxmanage createvdi --filename /data/vm/testvm1-disk01.vdi --size 2048
VBoxManage storagectl testvm1 --name "IDE Controller" --add ide
#vboxmanage storagectl testvm1 --name “IntelAHCI” --add ide
vboxmanage modifyvm testvm1 --boot1 dvd --hda /data/vm/testvm1-disk01.vdi --sata on
vboxmanage storageattach testvm1 --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium /data/vm/testvm1-disk01.vdi
vboxmanage storageattach testvm1 --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /data/vm/TinyCore-current.iso
VBoxManage startvm testvm1 --type headless