LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-10-2017, 10:16 AM   #1
riscv
Member
 
Registered: Mar 2017
Posts: 34

Rep: Reputation: Disabled
Ubuntu 14.10 VM doesn't detect SDHC or USB flashdrive


Hello,

I need to use either SDHC (preferably) or a USB flashdrive on an Ubuntu 14.04 (EDIT 14.10) Virtualbox. It doesn't detect it. Could anyone please tell me how to procede ?

Code:
alpha@alpha-VirtualBox:~$ sudo parted -l
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 221GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size    Type      File system     Flags
 1      1049kB  218GB  218GB   primary   ext4            boot
 2      218GB   221GB  3487MB  extended
 5      218GB   221GB  3487MB  logical   linux-swap(v1)
And
Code:
alpha@alpha-VirtualBox:~$ lsusb
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
And
Code:
alpha@alpha-VirtualBox:~$ sudo fdisk -l

Disk /dev/sda: 221.1 GB, 221128687616 bytes
255 heads, 63 sectors/track, 26884 cylinders, total 431891968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00025c08

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   425078783   212538368   83  Linux
/dev/sda2       425080830   431890431     3404801    5  Extended
/dev/sda5       425080832   431890431     3404800   82  Linux swap / Solaris
Thank you

Last edited by riscv; 05-11-2017 at 06:00 PM.
 
Old 05-10-2017, 10:28 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
A USB device has to be enabled for that virtual machine. You can use the devices drop down menu or permanently enable it in vboxmanager but it can not be accessed by the host and a VM at the same time.
 
Old 05-10-2017, 01:14 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Verify you are in the vboxusers group, in terminal, issue:
Code:
id
If not, add yourself into it and log out, back in.

mount a USB and Fire Virtualbox > look around.

Let us know.
 
Old 05-11-2017, 07:49 AM   #4
riscv
Member
 
Registered: Mar 2017
Posts: 34

Original Poster
Rep: Reputation: Disabled
I tried for USB and it did not work. I just set a shared folder instead.

However, I need to use the SD card. And It is not detectable.

Any suggestions ?
 
Old 05-11-2017, 09:57 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by riscv View Post
I tried for USB and it did not work. I just set a shared folder instead.

However, I need to use the SD card. And It is not detectable.

Any suggestions ?
Shared folder gets the job done! Been there, done that.

"did not work"
Please, I beg you. never repeat those words in that order ever again.

Plug it in on the host.
Code:
Virtualbox > appliance > Ctrl+S > highlight|select USB > Alt+Insert
Is the device shown?

Does the device "show" on the host system?
You are in vboxusers group on the host system?
"not detectable" means what? Host or guest?

system logs show any info about this device being "not detectable", or is that Virtualbox specific?

How hard are we expected to engage for a resolution if all we have is "did not work" as motivation?

Peace.

Last edited by Habitual; 05-11-2017 at 09:59 AM.
 
Old 05-11-2017, 01:30 PM   #6
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I'd upgrade to a supported version of Ubuntu then work on the problem if it still exists. 14.10 is pleny outdated and eol quite some time ago. We are already on 17.04 now.
 
Old 05-11-2017, 01:38 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by jmgibson1981 View Post
We are already on 17.04 now.
i beg to differ.
16.04 is the current LTS.
17.04 is NOT an LTS.

nevertheless, 14.10 is indeed EOL.
 
Old 05-11-2017, 08:34 PM   #8
riscv
Member
 
Registered: Mar 2017
Posts: 34

Original Poster
Rep: Reputation: Disabled
jmgibson1981, Sorry I'm actually currently on 14.04 (downgraded from 14.10 because of some other issues). I cannot use recent version because of the specs of the project i'm working on. I suppose some tools cannot work for recent versions.

Habitual, the image attached shows that the usb device is not detected on the virtualbox settings windows (and on the guest). But the host detects it.

Was I supposed to run this on the host ? Virtualbox > appliance > Ctrl+S > highlight|select USB > Alt+Insert. Does the image answer this command ?

I did install the virtualbox extension which allowed the EHCI controller (USB 2.0), before I couldn't tick the option. Then I rebooted the machine, reinstalled the VBoxGuestAdditions. Still the USB device (or the SDHC) doesn't show.
Attached Thumbnails
Click image for larger version

Name:	device.png
Views:	41
Size:	36.6 KB
ID:	24989  

Last edited by riscv; 05-11-2017 at 11:22 PM.
 
Old 05-12-2017, 01:43 PM   #9
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by ondoho View Post
i beg to differ.
16.04 is the current LTS.
17.04 is NOT an LTS.

nevertheless, 14.10 is indeed EOL.
14.10 wasn't an LTS either, so figured LTS was irrelevant.
 
Old 05-12-2017, 03:09 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
What version of VirtualBox are you running?

Have you installed the extension pack? I assume a USB drive was inserted when you took the screen shot in post #8? Can you access the USB drive on the host?
 
Old 05-12-2017, 04:54 PM   #11
riscv
Member
 
Registered: Mar 2017
Posts: 34

Original Poster
Rep: Reputation: Disabled
michaelk, yes I have installed the extension pack (image attached). Yes the USB was inserted in the screenshot. Yes, I can access the device on the host. The virtualbox version is 5.1.18 r114002 (Qt5.6.2).
Attached Thumbnails
Click image for larger version

Name:	extension.PNG
Views:	32
Size:	27.8 KB
ID:	24994  
 
Old 05-12-2017, 05:29 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Except for upgrading to 5.1.22 not sure what else to try. Although 5.1.16 fixed a bug pertaining to USB drive recognition there still could be something unique to your flash drive.
 
Old 05-12-2017, 05:29 PM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by riscv View Post
jmgibson1981, Sorry I'm actually currently on 14.04 (downgraded from 14.10 because of some other issues). I cannot use recent version because of the specs of the project i'm working on. I suppose some tools cannot work for recent versions.

Habitual, the image attached shows that the usb device is not detected on the virtualbox settings windows (and on the guest). But the host detects it.

Was I supposed to run this on the host ? Virtualbox > appliance > Ctrl+S > highlight|select USB > Alt+Insert. Does the image answer this command ?

I did install the virtualbox extension which allowed the EHCI controller (USB 2.0), before I couldn't tick the option. Then I rebooted the machine, reinstalled the VBoxGuestAdditions. Still the USB device (or the SDHC) doesn't show.
Perfectly, Thanks.
Now since the host sees it and Vbox doesn't, in a terminal, issue:
Code:
id
and check for vboxusers group membership on the host, for your user.
Until you are in the vboxusers group, you will never see a host-USB in any appliance.

I think you're close...

Last edited by Habitual; 05-12-2017 at 05:31 PM.
 
Old 05-12-2017, 05:35 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I believe the OP is using Windows 10 as the host.
 
Old 05-12-2017, 09:32 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@riscv :

Suggest a workaround :
Upload the SDHC and USB contents to the cloud from the host, to e.g. Google Drive (15GB free space), Dropbox.

Then you also have backups.



-

Last edited by knudfl; 05-13-2017 at 03:52 AM.
 
  


Reply



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
CUPS doesn't detect USB printer anymore Geremia Slackware 10 05-24-2014 01:26 PM
Why doesn't Ubuntu 9.10 detect my USB devices? LAPIII Linux - Newbie 32 03-07-2011 05:33 PM
Fedora 10 live cd doesn't detect my usb external drive michaelbenton Linux - Software 1 06-14-2009 12:16 PM
Slack 11 : Doesn't detect USB devices & can't shutdown ?? mnemonix Slackware 7 12-17-2006 06:04 AM
RH doesn't detect my USB Modem ricky_ds Linux - Hardware 7 10-25-2004 07:21 PM

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

All times are GMT -5. The time now is 03:15 PM.

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