Doubt with USB sticks

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Bodoke1969
Posts: 1
Joined: 28. Feb 2020, 22:42

Doubt with USB sticks

Post by Bodoke1969 »

Good afternoon everyone:

   I send a greeting and in turn, I share a question I have and sorry if the question sounds silly:

I have running virtualbox V6.1 on a machine with kubuntu v19.10, and I have a virtualbox virtual machine with windows 7 32bits SP1, and here is my question:

When I put my 8GB USB flash drive ScanDisk, I can see it in kubuntu, but, when I run the virtual machine with windows 7, and enable the usb in virtualbox, if it recognizes me in windows 7, but, I no longer I see in kubuntu, and if in virtualbox I disable it, I already see it in kubuntu, but, I no longer see it in windows, what can I do so that both in kubuntu and in the virtual machine with windows, I can interact at the same time?

Greetings and forgive my ignorance and I hope you can help me.
birdie
Posts: 429
Joined: 2. May 2010, 14:19
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Windows, Linux, other Unixes
Location: Artem S. Tashkinov
Contact:

Re: Doubt with USB sticks

Post by birdie »

Mount it in Kubuntu.

Use the shared folder feature of VirtualBox and pass-through the mount point to Windows (something like /media/USB-STICK).
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Doubt with USB sticks

Post by scottgus1 »

To add to birdie's good advice, the reason your USB stick is in one device or the other but not both is because USB cannot be connected to two devices at once.

Birdie's recommendation is to use the Guest Additions Shared Folders to share a folder from the USB stick into the guest. Note that GASFs are for file transfer only. See https://www.virtualbox.org/manual/ch04. ... redfolders

If you need to run programs or databases from the USB stick, set up a real Virtualbox network, Bridged or Host-Only, then use typical Linux folder sharing to share a folder from the USB stick to the guest via the network.
Post Reply