Starting a VM from the Command Line
Starting a VM from the Command Line (or via a shortcut on the desktop) is easy – just use the command: -
VBoxManage startvm name_of_virtual_machine
for example : -
VBoxManage startvm “Windows XP”
Starting a VM from the Command Line (or via a shortcut on the desktop) is easy – just use the command: -
VBoxManage startvm name_of_virtual_machine
for example : -
VBoxManage startvm “Windows XP”
Here are the steps required to get USB working on a Linux host (tested with VirtualBox 2.1.4)
1. Create a group usbusers and put yourself in it.
sudo addgroup usbusers
usermod -a -G usbusers andy
2. Note down the vendor and id numbers for the USB devices that you want to enable after running the following command: -
VBoxManage list usbhost
3. In VirtuaBox’s USB section add both of these devices, making sure you have the vendor and id numbers correct.
4. Add the following lines in /etc/fstab (you can get the ID of the usbusers group by looking in /etc/group) : -
# usbusers is the USB group (id 1001)
none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0
5. A reboot is required.
Ubuntu 8.10 works great under Sun’s Virtual Box. To get everything working perfectly, you need to install “Guest Additions”. This is done by selecting “Install Guest Additions” from the VirtualBox Menu, and then entering the following into a terminal: -
sudo /media/cdrom/VBoxLinuxAdditions-x86.run
This installs better mouse & video drivers and enables things like automatic resolution changing, and better mouse control.
For some reason, my xorg.conf file wasn’t updated properly though – the following lines should be present in /etc/X11/xorg.conf : -
Section “InputDevice”
Identifier “Configured Mouse”
Driver “vboxmouse”
Option “CorePointer”
EndSection
Section “Device”
Identifier “Configured Video Device”
Driver “vboxvideo”
EndSection