Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I use a usb stick in the virtual machine ? When I opened 'settings', a warning opened by itself and said that I had to add my user to the group vboxusers. I did that (sudo adduser naomi vboxusers), but the warning is still displayed, and the usb stick is still not recognized by the VM, although it is by the host. If I click 'add' on the 'usb' tab of the settings, it says 'no device available'.


share|improve this question
up vote 3 down vote accepted

seems you have the wrong command, the correct one is in the VirtualBox Documentation

sudo usermod -a -G vboxusers username

(Where username is the user you want to add)

There you go, after you do that all you need to do is open Vbox and select Devices > USB > "Whatever usb device you want to add"

share|improve this answer
Okay, how can I undo the command I used then? – NaomiJO Sep 14 '12 at 16:06
Well in either case I tried this command too, and usb still doesn't work. – NaomiJO Sep 14 '12 at 17:29
Have you installed the "Oracle VM Virtualbox extension pack" in the correct version? It should work (at least works for me). Is the group vboxusers displayed when you type groups in a terminal? You have to logout and back in after adding a group btw. – Axel Sep 14 '12 at 17:37
Yes sorry, I hadn't logged out yet. – NaomiJO Sep 14 '12 at 22:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.