[SOLVED] Ubuntu 14.10 VM doesn't detect SDHC or USB flashdrive
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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?
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).
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.