VirtualBox (Virtualisation)

Open baby

VirtualBox (Virtualisation)

Postby intodis » 20 Oct 2007, 20:51

This will install virtualbox (alternatively follow instructions at virtualbox for setting up repository ...)

You will have to find the deb download file name for your version,

Double click the deb file to install.

Then simply install and afterwards do this,

Open the System/Administration/Users and Groups. Find the vboxusers group edit it and add your user to it.
Code: Select all
sudo chmod -R 660 /dev/vboxdrv
sudo chgrp vboxusers /dev/vboxdrv

Then to get USB working

Create group named usb (record the group id for next step), and add active user to it. Then
Code: Select all
sudo gedit /etc/fstab

Add this line
Code: Select all
# Virtualbox USB hack: 1002 is the USB group
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0

from the wiki 9.4.6. USB not working

If USB is not working on your Linux host, make sure that the current user has permission to access the USB filesystem (usbfs), which VirtualBox relies on to retrieve valid information about your host's USB devices.

The permissions for usbfs can be changed by editing the /etc/fstab file.

For example, most Linux distributions have a user group called usb or similar, of which the current user must be a member. To give all users of that group access to usbfs, make sure the following line is present:

# 85 is the USB group
none /proc/bus/usb usbfs devgid=85,devmode=664 0 0

Replace 85 with the group ID that matches your system (search /etc/group for "usb" or similar).

Alternatively, if you don't mind the security hole, give all users access to USB by changing "664" to "666".
Site Admin
Posts: 204
Joined: 30 Mar 2006, 20:57

Return to Ubuntu/Linux

Who is online

Users browsing this forum: No registered users and 2 guests