dont see host attached usb drive on windows guest

Discussions related to using VirtualBox on Linux hosts.
Post Reply
josefcarel
Posts: 6
Joined: 16. Aug 2022, 07:45

dont see host attached usb drive on windows guest

Post by josefcarel »

I have already installed the Virtualbox Extensions and then in settings via USB try to add the drive connected to the host, but the USB does not appear anywhere.
I don't know what the problem is, I hope some help
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: dont see host attached usb drive on windows guest

Post by mpack »

What exactly is the guest OS?

In fact, best provide a VM log. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
rashed4004
Posts: 7
Joined: 6. Aug 2022, 17:45

Re: dont see host attached usb drive on windows guest

Post by rashed4004 »

wondering if updated Virtualbox is having any issue with USB. i am having same issue but on Ubuntu 22.04 guest
josefcarel
Posts: 6
Joined: 16. Aug 2022, 07:45

Re: dont see host attached usb drive on windows guest

Post by josefcarel »

rashed4004 wrote:wondering if updated Virtualbox is having any issue with USB. i am having same issue but on Ubuntu 22.04 guest
Attached the log file
Thanks
Josef
Attachments
windows 10-2022-08-16-09-49-28.log.zip
(35.39 KiB) Downloaded 4 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: dont see host attached usb drive on windows guest

Post by mpack »

@Josefcarel: Although you have installed the extension pack, you don't seem to have enabled USB2 or USB3 support in the VM settings. Your Win10 guest supports USB3, so that is preferred.

Also, please reduce the number of allocated cores to 2. Your host has 4 cores total, so it obviously can't afford to dedicate 4 cores to a VM.

Also, Windows 10 would probably enjoy having 3D graphics acceleration enabled.
josefcarel
Posts: 6
Joined: 16. Aug 2022, 07:45

Re: dont see host attached usb drive on windows guest

Post by josefcarel »

mpack wrote:What exactly is the guest OS?

In fact, best provide a VM log. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
Attachments
windows 10-2022-08-16-09-49-28.log.zip
(35.39 KiB) Downloaded 1 time
fth0
Volunteer
Posts: 5661
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: dont see host attached usb drive on windows guest

Post by fth0 »

@josefcarel: You've attached the same log file again. ;)
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: dont see host attached usb drive on windows guest

Post by mpack »

fth0 wrote:@josefcarel: You've attached the same log file again. ;)
Yes, and I don't really know why, since the answer I already gave should be enough. I would think perhaps it's a double post, except that it comes 3 hours after the first copy, and 2 hours after I answered! :?
josefcarel
Posts: 6
Joined: 16. Aug 2022, 07:45

Re: dont see host attached usb drive on windows guest

Post by josefcarel »

I proceeded according to your advice. Lower the CPU number to 2 and ensure 3D acceleration. Immediately, Windows 10 started erratic behavior. It became very slow and restarted several times. In the end the VM crashed and although I returned the previous settings I could no longer save the situation. Now I am without Windows and without Virtualbox which I completely erase it and I have to start all over again.

Thanks for the tips.
Last edited by mpack on 17. Aug 2022, 13:28, edited 1 time in total.
Reason: Remove unsupported "P-sep" characters from post.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: dont see host attached usb drive on windows guest

Post by mpack »

The erratic behaviour may have been due to the 3D acceleration - I meant to note that it isn't always compatible with the graphics drivers on Linux hosts, so if it doesn't work you simply turn it off again.

And note: although I made a number of recommendations in one post, that doesn't mean that you have to apply all of them in one session. By applying and testing each change separately you can more readily identify any change that causes problems. This is preferable to simply starting over again without an understanding of what caused your problems last time.
josefcarel
Posts: 6
Joined: 16. Aug 2022, 07:45

Re: dont see host attached usb drive on windows guest

Post by josefcarel »

Anyway, I appreciate all your help, and I hope I can find the solution. At last I installed everything again, Virtualbox and Windows 10 and but I can't access any USB connected to the host. Thanks again
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: dont see host attached usb drive on windows guest

Post by scottgus1 »

Linux host not finding USB devices despite everything set up correctly
missing file in host OS:
viewtopic.php?f=7&t=103014&p=500584#p500584
VB not installed properly:
viewtopic.php?f=7&t=103101&p=501132#p501075
josefcarel
Posts: 6
Joined: 16. Aug 2022, 07:45

Re: dont see host attached usb drive on windows guest

Post by josefcarel »

I found the solution on the Ask Ubuntu site. It was necessary to create a group Vboxusers by means of the command: sudo usermod -a -G vboxusers "$USER". I had to reboot the Ubuntu system for the group to take effect. Then in Virtualbox in Settings, USB, proceed to add the device that you want to connect to the Guest. I hope this helps someone else.
Josef
Last edited by mpack on 18. Aug 2022, 11:41, edited 1 time in total.
Reason: Remove "Psep" characters again.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: dont see host attached usb drive on windows guest

Post by mpack »

The information that you need to add your name to the group "vboxusers" (not Vboxusers) is given in the user manual, section 2.3.4. The whole of section 2.3 is required reading for Linux hosts users!
Post Reply