0% found this document useful (0 votes)
3 views6 pages

How To Get USB Working in Virtual Box On Ubuntu

Uploaded by

Müller Nato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views6 pages

How To Get USB Working in Virtual Box On Ubuntu

Uploaded by

Müller Nato
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

How to Get USB Working in Virtual Box on Ubuntu ... http://productivelinux.com/2008/11/09/how-to-get-u...

This site is currently on indefinite hiatus. For fresh, new Linux &
productivity content, head on over to nathanrhale.com/linux/ and subscribe to
the Linux-only feed.

Search

Subscribe via RSS


Get email updates

Crossplatform Computing, Tutorials

How to Get USB Working in Virtual Box on


Ubuntu Intrepid Ibex
November 9th, 2008 | 12 Comments

Ofertas em Belo Horizonte


Receba um incrível Cupom por dia. Até 70%
de desconto. Confira!
ClubeUrbano.GROUPON.com.br/Ofertas

ECOM: CAN to USB Adapter


Robust, automotive grade, low-cost USB to
CAN cable. 5-year warranty.
www.CANCapture.com/ecom.html

Linux & FOSS Software


Free FOSS & Linux Software Systems
Evaluations, Comparisons & Reports!
FOSS.TechnologyEvaluation.com

Just a quick post for those of you settling into the latest version of Ubuntu!
Enabling USB in Sun VirtualBox is a little different in Intrepid Ibex than other
versions. Remember, you’ll have to have the closed source, Personal Use and
Evaluation version of VirtualBox for this one. The Open Source Edition
(VirtualBox OSE) doesn’t have usb support!

First, fire up a terminal and open your fstab file:

sudo gedit /etc/fstab

Then, add the following lines at the end:

#Make USB Work in Sun VirtualBox


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

1 de 6 23-12-2010 23:45
How to Get USB Working in Virtual Box on Ubuntu ... http://productivelinux.com/2008/11/09/how-to-get-u...

Save and exit.

Issue this command:

sudo mount -a

Open up VirtualBox, and you should be able to set up USB for your virtual
machine! More info can be found at this Ubuntu Forums thread.

Share and Enjoy:

You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently
closed, but you can trackback from your own site.

VMware Backup Software novastor.com/software


Agentless Backup & Restore Dramatic Cost
Savings.Unlimited VMs

Face Recognition Login www.Luxand.com/FaceSDK


Detect Faces and Facial Features Add Facial
Recognition to Your Apps

Escolha o Novo Windows 7 Microsoft.com/Win7


Conheça os Recursos que Fazem Dele o Melhor
Sistema Operacional.

Vibracon - The Original www.machinesupport.com/vibracon/


Adjustable Steel Machinery Chock Successful for
over 20 years

12 Responses to “How to Get USB Working in Virtual Box on


Ubuntu Intrepid Ibex”

1. Torben on December 7th, 2008 at 1:08 am

2 de 6 23-12-2010 23:45
How to Get USB Working in Virtual Box on Ubuntu ... http://productivelinux.com/2008/11/09/how-to-get-u...

Thank you,
highly appreciated! :)

2. zcat on December 11th, 2008 at 8:03 pm

Why devgid=46. This is system specific.


>grep vboxusers /etc/group
Will give you the gid, mine was 128….

Thanks
http://ubuntuforums.org/showthread.php?t=962726&
highlight=virtualbox+fstab

3. Marie on December 17th, 2008 at 6:01 am

Thanks it was a huge help, one of the best explained ways I’ve read so far.

4. Tom on December 28th, 2008 at 9:01 am

Thank you, thank you! awesome and clearly explained and to the point it
works as showed unlike others that are too wordy and worse yet they
don’t work like this one. You are great! thanks again.

5. Bjrn Grønbæk on January 11th, 2009 at 6:03 pm

Thank you, that worked like a charm.

6. rich on January 18th, 2009 at 5:50 am

Works a treat, many thanks!

7. Eamonn on January 18th, 2009 at 5:56 am

Nice one!

8. Andy D. on March 30th, 2009 at 3:45 pm

zcat:

I believe it’s supposed to be devgid=46 (at least it works for me). If you do
‘grep 46 /etc/group’, you’ll see that it corresponds to the plugdev group,
which is probably true for all Ubuntu distributions.

A little bit of searching brought up the following description of the


plugdev group:

————

3 de 6 23-12-2010 23:45
How to Get USB Working in Virtual Box on Ubuntu ... http://productivelinux.com/2008/11/09/how-to-get-u...

From http://lists.debian.org/debian-devel/2004/11/msg00201.html

…’plugdev’…
Every user who is a member of this group can access hotpluggable
devices (digital cameras, USB drives etc.). pmount can only be executed
by members of this group (it is root:plugdev 750), hal runs in this group
to be able to detect file systems (but it does not run in ‘disk’), and udev
assigns the ‘plugdev’ group to removable devices (static drives remain in
group ‘disk’).
————–

Since removable devices are to be assigned to the plugdev group, it


makes sense that we use devgid=46 when we make this usb-related
device. :) I hope this clairifies.

9. ibrahim on September 30th, 2009 at 10:12 am

Thanks a lot!!

it worked perfectly on Ubuntu 9.04 - the Jaunty Jackalope

10. Accéder à ses périphériques USB avec VirtualBox sous Linux on October
6th, 2009 at 9:21 am

[...] How to Get USB Working in Virtual Box on Ubuntu Intrepid Ibex ]
Share and [...]

11. Bookmarks for October 4th through October 15th | David.R.Gilson on


October 17th, 2009 at 4:58 am

[...] How to Get USB Working in Virtual Box on Ubuntu Intrepid Ibex [...]

12. M. Aaaalonso on November 6th, 2009 at 9:40 am

Thank you very much! It works on PCLinuxOS too. Much obliged!

M. Alonso

« Ubuntu 8.10 Intrepid Ibex Ships Without Proprietary Graphics Support


Open Source Twitter Client Gwibber Adds Replies Tab »

4 de 6 23-12-2010 23:45
How to Get USB Working in Virtual Box on Ubuntu ... http://productivelinux.com/2008/11/09/how-to-get-u...

About
ProductiveLinux helps you get the most of out Linux and associated
software...so that you can get things done. We offer helpful links, tutorials,
software reviews, and even a podcast! Find out more...

((• Podcast •))


MP3 Podcast Feed

5 de 6 23-12-2010 23:45

You might also like