Dec
Enable USB devices in VirtualBox (Ubuntu Intrepid)
Posted in Linux | 4 Comments »Firstly, we need to enable the current user to use VirtualBox. Go to System -> Administration -> Users and Groups. Click Unlock and insert your password. Select your username and click “Properties”. Go to User Privileges tab, tick “Use VirtualBox” and click OK.

Open terminal, and type this command
$ grep vbox /etc/group
Example of the output should be vboxusers:x:<gid>:yourusername
Take note of the <gid> value. Next, edit mountkernfs.sh
$ sudo gedit /etc/init.d/mountkernfs.sh
Insert this line after domount proc “” /proc proc -onodev,noexec,nosuid. Make sure to replace <gid> with the value that you get earlier.
domount usbfs “” /proc/bus/usb usbdevfs -onoexec,nosuid,nodev,devgid=<gid>,devmode=664
Reboot.
Run VirtualBox and your guest OS. Click Devices -> USB Devices and select the USB devices that you want to use in the guest OS.


