Create a VM
VBoxManage –help
VBoxManage createvm --name "MyvmServer" --register
VBoxManage modifyvm "MyvmServer" --memory 256 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0
VBoxManage createhd --filename MyvmServer.vdi --size 10000 --register
VBoxManage storagectl "MyvmServer" --name "IDE Controller" --add ide
VBoxManage storageattach "MyvmServer" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium MyvmServer.vdi
VBoxManage storageattach "MyvmServer" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /home/MyvmServer.iso
Start a VM with VboxHeadless
VBoxHeadless --startvm "MyvmServer"
VBoxManage controlvm "MyvmServer" poweroff
VBoxManage controlvm "MyvmServer" pause
VBoxManage controlvm "MyvmServer" reset
VBoxHeadless –help
Import an existing VM
VM with the name myvm that needs to be reused. A directory contains myvm in the VirtualBox directory. The myvm directory will contain the myvm.xml file. Copy the myvm directory (including the myvm.xml file) to the new Machines directory.
In addition copy the myvm.vdi file from the old VDI directory to the new one.
Register the imported VM:
VBoxManage registervm somedirectory/myvm/myvm.xml
Reference Page
The above link contains more info on VM's.
A place to where I can record my Technical stuff that should be accessible from anywhere. It is mainly technical stuff I find interesting and I suppose it can be looked on as a modern Lab-book.
Thursday, 12 May 2011
Wednesday, 11 May 2011
Remove CentOS Xen
Subscribe to:
Posts (Atom)
Defender 300tdi Lucas 10AS Alarm Immobiliser (Spider) Problems
We have a 1997 Landrover Defender 300tdi that has given immobiliser problems intermittently. I had initially fixed the fuel solenoid as we w...
-
Server failure This server failed with the error "E171F PCIE Fatal Err B0 D3 F0" during power up. Upon inspection it was found th...
-
I bricked my MR3220 router with an OpenWRT firmware upload. I did manage to get it back by soldering a 4 pin header on its pcb to allow conn...
-
I make no guarantees for the information contained herein, I also cannot be held responsible for data loss as a result of your actions, we m...