Environment:
Ubuntu 16.04 LTS
VirtualBox 5.1.26 r118224
Virtual machine system: Windows 7 SP1 64
Install extensions:
Download here:
Http://download.virtualbox.org/virtualbox/5.1.26/Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.vbox-extpack
Http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html#extpack
Installation:
"Management", "Global Settings", "Extensions"
During installation, you will be prompted to enter an administrator password.
To add a user right:
1, add USBFS User group (will have vboxusers and vboxsf two user groups after loading)
sudo groupadd usbfs
2. Add your Linux users to the Vboxusers, usbfs two groups
Jim Vboxusers Jim
To set up virtual machine hardware:
Note: This is based on the personal hardware, I use ich9+usb3.0 here. If the reference to this setting is not recognized properly, then you can switch to try in turn.
When the virtual machine is started, it will prompt to install the hardware, if you choose USB2.0 should not be installed driver, if it is 3.0 need to download the driver, here is recommended 360 driver master to install quickly.
Install the drive to restart the virtual machine. Then shut down the machine.
The physical machine Ubuntu also restarts.
Open the VirtualBox again, start the virtual machine, and insert the USB drive. Will find the lower right corner of the USB settings can be recognized, check the USB drive device. or select "Device" from the menu bar
After selection, it can be recognized normally.
Other systems:
Mac estimates are similar.
Windows does not recommend this, and VMware is better than this compatibility.
Reference:
http://blog.csdn.net/harry_helei/article/details/46972125
Https://jingyan.baidu.com/article/d5a880eb63e14913f047cc41.html
Http://www.linuxidc.com/Linux/2013-06/85501p2.htm
http://162810.blog.51cto.com/152810/1930527
https://forums.virtualbox.org/viewtopic.php?f=8&t=69852
Ubuntu 16.04 VirtualBox 5.1 method of using USB stick/USB device