Virtualbox Hardy Ubuntu (host) USB Support in Windows XP (guest)

For purposes of this tutorial, I will assume that you already have installed Virtualbox (th Personal Use & Evaluation License Version), have installed Windows XP as a guest, and have also installed Guest Additions. Here are the steps from here:
  • sudo gedit /etc/init.d/mountdevsubfs.sh. Uncomment these lines (arount line 42):
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

  • sudo /etc/init.d/mountdevsubfs.sh start
  • Virtualbox - Settings: Make sure to enable USB
  • created a group named "usbfs" and added yourself to it.
  • sudo gedit /etc/fstab
  • Add (make sure that the devid is correct for "usbfs" in System - Administration - Users and Groups):
usbfs /proc/bus/usb usbfs devgid=1003,devmode=0666 0 0
  • sudo mount -a (which will remount everything in fstab)
That did it for me! Hope this helps someone.

Technorati Tags: ,

Comments

Anonymous said…
Thanks, it worked. I had already uncommented the lines in fstab, but what was missing was apparently the creation of the usbfs group and adding me to it.
Anonymous said…
Hello. Facebook takes a [url=http://www.onlinecasinos.gd]roulette[/url] venture on 888 casino freight: Facebook is expanding its efforts to mention real-money gaming to millions of British users after announcing a give out with the online gambling associates 888 Holdings.And Bye.

Popular posts from this blog

Base64 decode to file

Swiftboating from the Left - Paul Harris's "The Real McCain"