LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2014, 01:38 PM   #1
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 811

Rep: Reputation: 264Reputation: 264Reputation: 264
Virtualbox not recognizing USB devices


Hi,
I'm trying to use Virtualbox, and I want to give the guest OS a USB flash drive. However, when I go to add a USB filter, it says that there aren't any USB devices attached. I can confirm that the host (Arch) sees it, both through gparted and lsusb.

Any ideas on what's going on?

Thanks!
 
Old 10-18-2014, 03:07 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,983

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
I access usb devices in VirtualBox by booting the guest OS, then click the Devices tab and the drop down menu shows usb devices,
select one. Actually, I just checked the method you are using and my usb shows there also so I don't know what the problem would be.
 
Old 10-18-2014, 04:01 PM   #3
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Have you installed the extension pack?

I had the same problem as you do and after installation of the extension pack my USB devices were recognized.

Only when I saw your post it rung a bell, and I remembered that I installed the extension pack. But shame on me I don't recall exactly what it is or how to install it. Check the VirtualBox web site.

Another issue is that you should be member of the virtualbox group. But changes that you are not are slight. Check anyway.

Restart your host after installing the extension. IIRC the VB kernel module must be reloaded in order for the extension pack takes effect. Add a USB filter to allow USB devices to pass thru. Click Devices on the menu bar of your VM to connect the USB.

jlinkels

Last edited by jlinkels; 10-18-2014 at 04:03 PM.
 
Old 10-18-2014, 07:08 PM   #4
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 811

Original Poster
Rep: Reputation: 264Reputation: 264Reputation: 264
I checked, and I have the extension installed. Even after a reboot, it still won't allow me to add any USB devices.

When I tried to add myself to the virtualbox group (using gpasswd), it told me that the group didn't exist.

If we can't fix it, that's fine, I accomplished what I was planning to do by another way. I wanted to install Tails to the USB, but dd'ing the ISO wouldn't work, and according to the website the only way to install to USB is from the live system. I just burned the DVD and borrowed my sister's laptop, since it's the only BIOS-based computer with a CD drive... and that just got really off-topic...

Thanks!
 
Old 10-18-2014, 07:19 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,362

Rep: Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001Reputation: 2001
Quote:
Originally Posted by maples View Post
When I tried to add myself to the virtualbox group (using gpasswd), it told me that the group didn't exist.
The group is vboxusers, not virtualbox.
 
Old 10-18-2014, 11:56 PM   #6
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by suicidaleggroll View Post
The group is vboxusers, not virtualbox.
I stand corrected

jlinkels
 
Old 10-19-2014, 04:09 PM   #7
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 811

Original Poster
Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by suicidaleggroll View Post
The group is vboxusers, not virtualbox.
That was the problem!

For anyone else who has this problem, I run
Code:
gpasswd -a <username> vboxusers
as root.

Thanks!
 
  


Reply

Tags
virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to get usb devices working on VirtualBox? Ryanms3030 Linux - Virtualization and Cloud 1 02-07-2014 05:58 PM
[SOLVED] Virtualbox OSE and USB devices ReaperX7 Linux - Software 2 08-04-2011 11:43 PM
[SOLVED] Slackware 13.37, VirtualBox, and USB devices. kgs Slackware 16 05-18-2011 09:38 PM
Cannot use any USB devices in VirtualBox davidguygc Linux - Hardware 7 06-14-2010 09:36 AM
[SOLVED] Virtualbox 2.2.4 + Slackware 12.2 = no usb devices Slackovado Slackware 6 03-14-2010 04:38 PM


All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration