VirtualBox USB Voodoo for Gutsy

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

  2. 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.

  3. Pingback: VirtualBox bietet unter Ubuntu 7.10 kein USB an » blog.yoda.ch

  4. 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

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

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

  7. 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.

  8. Pingback: No USB Devices in VirtualBox and Gutsy 7.10 « God@Home’s WeBlog

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

  10. Pingback: ubuntublog.ch» Blog Archive » VirtualBox unter Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *