Page 1 of 1

dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 07:59
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

Re: dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 09:29
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.

Re: dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 10:30
by rashed4004
wondering if updated Virtualbox is having any issue with USB. i am having same issue but on Ubuntu 22.04 guest

Re: dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 12:02
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

Re: dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 13:00
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.

Re: dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 15:04
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.

Re: dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 18:27
by fth0
@josefcarel: You've attached the same log file again. ;)

Re: dont see host attached usb drive on windows guest

Posted: 16. Aug 2022, 19:07
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! :?

Re: dont see host attached usb drive on windows guest

Posted: 17. Aug 2022, 07:00
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.

Re: dont see host attached usb drive on windows guest

Posted: 17. Aug 2022, 13:31
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.

Re: dont see host attached usb drive on windows guest

Posted: 17. Aug 2022, 19:34
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

Re: dont see host attached usb drive on windows guest

Posted: 17. Aug 2022, 19:48
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

Re: dont see host attached usb drive on windows guest

Posted: 18. Aug 2022, 11:12
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

Re: dont see host attached usb drive on windows guest

Posted: 18. Aug 2022, 11:39
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!