How To Enable USB Support for Virtualbox in OpenSUSE 11.1

**Get lasted version of VirtualBox from here.

  • After install, go to YaST > Security and Users > User and Group Management
  • Select Groups, you can see vboxusers’ group then double click to edit information
  • Remember Group ID (gid) and see at right, select username you want to allow to use VirtualBox
  • Close YaST, Open fstab file and add this line :

none /proc/bus/usb usbfs devgid=XXX,devmode=664 0 0

* XXX is Group ID (gid) that I told you to remember, it’s the ID group of vbox

  • Add following line to /etc/init.d/boot.local

mount -a

  • Restart system, then USB can work with VirtualBox

—————————————————————————————————————————————–

Extra : When VirtualBox told you to recompile kernel

In my cast, I just installed kernel-module and gcc before recompile done. you can see error in log file.

How to enable USB support in VirtualBox (Intrepid)

Easy way to enable USB support in Intrepid (not work on earlier version)

1. Open Terminal, type sudo gedit /etc/fstab

2. It’s open Gedit to edit fstab file, add this
none /proc/bus/usb usbfs devgid=46,devmode=666 0 0
to the bottom line of the file.

3. Save, goto System > Administration > Users and Groups

4. Click Manage Groups buttons, find ‘vboxusers’, select and click Properties

5. Select your login name by fill the box to add your account to vboxusers’s group

6. Restart System, and enjoy to your virtualization world

* VirtualBox have 2 version, Normal and OpenSource. The VirtualBox which in Ubuntu’s repositories is OpenSource (called VirtualBox OSE) this version is not support USB. However, you can get the Sun xVM VirtualBox which full support for all devices from VirtualBox.org, it had repository for Ubuntu’s users to use ‘apt-get’ and, can update automatically like software on Ubuntu’s repositories.