2007
Oct 
18

VirtualBox USB Voodoo for Gutsy

Filed under: LiveCD,Ubuntu — burner @ 11:25 pm  

By default, USB support doesn’t work in Gutsy even if you download the latest and greatest here.

To remedy this:

  1. alt+f2, gksudo gedit /etc/init.d/mountdevsubfs.sh
  2. Look for the part about magic and make it say this:
  3. #
    # 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

  4. Save the file and run the script via alt+f2, gksudo /etc/init.d/mountdevsubfs.sh
  5. Restart VirtualBox and bask in the glory of a USB icon under Settings for your virtual machine

16 Comments »

1

upgraded to the latest and I don’t see a magic section in that file. Can you just add it? Thanks

Mike @ October 19, 2007 9:13 am

2

Thanx a lot !! it works perfectly! 🙂

ryke @ October 22, 2007 11:10 am

3

Thank you so much.

I have been looking for a real fix for this and there are all sorts of “work arounds” but this is the only one that worked! I really appreciate it.

Clifford @ October 24, 2007 8:59 pm

4

[…] ich ein bisschen gesucht habe (nicht gegooglelt, sondern geyahoot) fand ich dann recht schnell die Lösung auf dem Blog von buranen.info. Da unter Gutsy jene Unterstützung per default deaktiviert ist, […]

5

Vielen vielen Dank, das funktioniert hervorragend 🙂

Johannes Eva @ November 15, 2007 5:17 am

6

bei mir klappts anscheinend nicht:
usb auswahl wird weiterhin nicht angezeigt

bekomme nach:
gksudo /etc/init.d/mountdevsubfs.sh

folgende meldung
ln: Erzeugen der symbolischen Verknüpfung „/dev/bus/usb/devices“ zu „.usbfs/devices“: File exists

ist das normal..
was ist zu tun?

danke für eure tipps

Flo @ November 20, 2007 3:28 pm

7

I got the same message as flo. And the USB support is still not availible. Has anybody found a solution for this problem?

Semidark @ December 8, 2007 4:13 pm

8

Das gleiche Problem wie flo habe ich auch. Gibt es eine Lösung?

Pauschi @ December 17, 2007 4:18 pm

9

Das Problem hat sich erledigt: USB wird nun angezeigt.

Pauschi @ December 17, 2007 4:20 pm

10

hi all,

I had the same problem.

Additional to the procedure described above I had to add the following line to the /etc/fstab:

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

XXXX ist the group id of vbxusers group.

maex @ December 29, 2007 2:50 pm

11

does not work for me.

X @ December 31, 2007 8:27 am

12

Hi there, thanks for your hack, it works great, will link you in my blog.
regards Jörg

Jörg Weis @ January 7, 2008 8:04 am

13

[…] I had a problem related to USB devices with the latest VirtualBox release and Ubuntu 7.10. I found this to fix the problem and it worked out fine. Thanks to Derek Burner at http://buranen.info for his […]

14

You da man! Long live Linux!

Jeremiah McCarthy @ January 30, 2008 3:02 pm

15

i did everything like the directions say, and VirtualBox is still now showing the USB setting.

djfdat @ March 7, 2008 9:28 am

16

[…] hatte noch etwas Mühe mit der USB-Anbindung, welche ich dann mit einem Hinweis von buranen.info umschiffen konnte. Auf ubuntuusers.de gibt es ebenfalls eine Erklärung zu diesem […]

Pingback by ubuntublog.ch» Blog Archive » VirtualBox unter Ubuntu @ June 5, 2008 10:19 pm

Leave a comment