LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12:38 PM   #1
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
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, 02:07 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
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, 03:01 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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 03:03 PM.
 
Old 10-18-2014, 06:08 PM   #4
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
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, 06:19 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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, 10:56 PM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

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

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

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
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



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 04:58 PM
[SOLVED] Virtualbox OSE and USB devices ReaperX7 Linux - Software 2 08-04-2011 10:43 PM
[SOLVED] Slackware 13.37, VirtualBox, and USB devices. kgs Slackware 16 05-18-2011 08:38 PM
Cannot use any USB devices in VirtualBox davidguygc Linux - Hardware 7 06-14-2010 08:36 AM
[SOLVED] Virtualbox 2.2.4 + Slackware 12.2 = no usb devices Slackovado Slackware 6 03-14-2010 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 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
Open Source Consulting | Domain Registration