2009
10.24

Virtual Machine Software

After some pretty disappointing experiences with VMWare on Ubuntu, I tried out VirtualBox.

WinXP runs very fast in VirtualBox.

Use the non-open source version of VirtualBox. Do not install the virtualbox-ose version from the Gutsy repos or else you do not get USB support.

Add following line /etc/apt/sources.list:

deb http://www.virtualbox.org/debian gutsy non-free

The innotek public key for apt-secure can be downloaded here. You can add this key with

apt-key add innotek.asc

You may need to install some additional libraries on your Linux system in order to run VirtualBox (I didn’t)- in particular, you will need libxalan-c, libxerces-c and version 5 of libstdc++.

Now install VirtualBox from synaptic.

The following is required to get USB support working.

Edit the file /etc/udev/rules.d/40-

permissions.rules (for this, you must have administrative privileges)

3.1 Search for the following lines

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device",                    MODE="0664"

3.2 Change them to the following

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0666"

Basically, in the file /etc/init.d/mountdevsubfs.sh you need to edit the lines:

Code:
#
    # Magic to make /proc/bus/usb work
    #
    #mkdir -p /dev/bus/usb/.usbfs

    #domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
    #ln -s .usbfs/devices /dev/bus/usb/devices
    #mount --rbind /dev/bus/usb /proc/bus/usb

to look like this (removing four #’s):

Code:
#
     # Magic to make /proc/bus/usb work
     #
     mkdir -p /dev/bus/usb/.usbfs

     domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
     ln -s .usbfs/devices /dev/bus/usb/devices
     mount --rbind /dev/bus/usb /proc/bus/usb

To copy VMs, ( for example, to copy the VM named ARMDev to XPTemplate) issue the command:

VBoxManage clonevdi ARMDev.vdi XPTemplate.vdi

No Comment.

Add Your Comment