[not SOLVABLE] USB using in Linux and also in VirtualBox

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Chriske
Level 3
Level 3
Posts: 126
Joined: Wed Jun 06, 2018 3:21 am

[not SOLVABLE] USB using in Linux and also in VirtualBox

Post by Chriske » Sat Jun 09, 2018 3:24 pm

Install LM18.5 - Virtual Box - W7.
All ok
File sharing ok.
USB visible/usable in LM18.5, NOT in W7. Is it possible to access USB ports in W7 also..?
Thanks
Chris
Last edited by Chriske on Sun Jun 17, 2018 6:29 am, edited 2 times in total.

User avatar
Spearmint2
Level 15
Level 15
Posts: 5733
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: USB

Post by Spearmint2 » Sat Jun 09, 2018 4:10 pm

Doesn't sound like you are trying to access shared folders, but instead wanting Windows to see and read the file system on the USB drive. Won't happen since windows is restricted to FAT and NTFS partitions. It also can't see past the first partition on a USB drive. Only through sharing across the LAN will you be able to view shared files and folders on the Linux part. There is a ext reader program you can install into Windows, but then again you run into windows only seeing the first partition on a USB device, although it can see them in Device Manager as existing, but unrecognized. You will need a third party program if want to access other than using LAN with shared folders.

https://www.howtogeek.com/112888/3-ways ... m-windows/
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
AndyMH
Level 5
Level 5
Posts: 712
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: USB

Post by AndyMH » Sun Jun 10, 2018 4:20 am

Add yourself to the vboxusers group. Without this you can't access USB devices from your VM. When you've done that you should be able to get at USB devices by right clicking on the USB icon in VB - then select the one you want. Once you have selected a USB device in win, that device is then no longer available to mint. Note you're running win7 in your VM - out of the box win7 doesn't support USB3, I had to download and install additional drivers.

I assume you have installed guest-additions into win7?

And as the previous post noted, if you have multiple partitions on your USB drive, win will only see one.
Attachments
Screenshot from 2018-06-10 09-12-58.png
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

Chriske
Level 3
Level 3
Posts: 126
Joined: Wed Jun 06, 2018 3:21 am

Re: USB

Post by Chriske » Sun Jun 17, 2018 4:47 am

Oops, almost missed this one Andy.
I already was a VB-group-user.
But wait a minute, if I would be able to use USB in W7(VB) connection to USB will be lost in Linux..? Or did I misunderstood..?

Chriske
Level 3
Level 3
Posts: 126
Joined: Wed Jun 06, 2018 3:21 am

Re: USB

Post by Chriske » Sun Jun 17, 2018 4:53 am

Silly question I presume(so sorry in advance... :oops: ). Or maybe it's beyond the possibilities of Linux OS, so here goes...

I have four USB ports on my laptop. Would it be possible to have two USB ports reserved to Linux and the other two to W7...?

User avatar
AndyMH
Level 5
Level 5
Posts: 712
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: USB

Post by AndyMH » Sun Jun 17, 2018 5:12 am

You have to select them each time you boot the VM, as far as I'm aware you can't 'reserve' them in advance.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

Chriske
Level 3
Level 3
Posts: 126
Joined: Wed Jun 06, 2018 3:21 am

Re: USB

Post by Chriske » Sun Jun 17, 2018 5:15 am

So again, I cannot use USB in both OS'es when running W7 in a VB..?

User avatar
thx-1138
Level 6
Level 6
Posts: 1232
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: USB

Post by thx-1138 » Sun Jun 17, 2018 5:19 am

https://forums.virtualbox.org/viewtopic ... 35&t=82639
USB devices cannot be shared at the bus level. That means that two computers (a host and a guest) cannot share the same device.
Think of it as having a USB stick, a printer, a webcam or a WiFi adapter hooked into two computers at the same time. You simply can't.

Post Reply

Return to “Hardware Support”