ubuntu上virtualbox无法找到usb设备解决
Posted Combine Art and Sciences
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu上virtualbox无法找到usb设备解决相关的知识,希望对你有一定的参考价值。
How to set up USB for Virtualbox?
USB in different versions of Virtual Box
For use of USB in Virtual Box 3.x you need a PUEL-version. From Virtual Box > 4.x USB 1.0 is supported in the OSE version installed from software center. For USB 2.0 or USB 3.0 (from Virtual Box > 5.x) we need to install an extension pack free for download from Oracle. This will make our Virtual Box a PUEL-Version (see this question on details on how to install Virtual Box from the Oracle repository).
To change settings of a virtual machine needs the guest to be powered off.
Become a "vboxuser" !!
To be able to get access to an attached USB device the Ubuntu host user needs to be in the vboxusers
group. This can be done from Users and Groups after having installed the gnome-system-tools or from the command line by
sudo usermod -aG vboxusers <username>
We need a reboot or logout/login for group membership to take effect. On a Windows host a special kernel module will provide USB access.
Activate USB support in Virtual Box Manager
We need to activate the virtual USB driver in our guest OS.
Note that we can only change these settings when the virtual machine is in shut down state.
In the USB settings from Virtual Box Manager tick "Enable USB Controller" For enabling the USB 2.0 driver also tick "Enable USB 2.0 (EHCI) Controller".
Select host USB device for access from the guest
To grant access to USB devices we need to select a device to disable in the host and to enable in the guest (this is a precaution to avoid simultaneous access from host and guest). This can be done from the panel Devices menu or by right mouse click in the bottom panel of the Virtual Box Manager on the USB icon:
Tick the device you need in the guest, untick it if you need it in the host. The selected device will immediately be accessible from the guest. A Windows guest may need additional drivers:
- Windows 7 needs an additional driver for USB 3.0 support.
- Windows 10 does not accept an NTFS formatted USB pen drive.
Use USB filters for permanent access in the guest
By defining USB filters we can define USB devices that will automatically be presented to the guest when booting the guest OS.
Click on the green + symbol on the right to add a known device.
Note, that some devices may lead to a boot failure of the guest. We can not use these devices for filters.
Read more on USB support in the Virtual Box User Manual.
以上是关于ubuntu上virtualbox无法找到usb设备解决的主要内容,如果未能解决你的问题,请参考以下文章
ubuntu14.04上Virtualbox安装win7(使用Ghost镜像安装,启用USB设备支持,设置共享目录)
ubuntu下的virtualbox虚拟机XP,USB不能用怎么办?