How to set up USB for Virtualbox?

kst

I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working.

I followed these instructions, but I can't find the user group vboxusers. How can I continue? I would also like to upgrade to the latest version without any risk (without losing my virtual hard disk drive).

Takkat

1. Install Extension Pack

also see: How do I install the VirtualBox version from Oracle to install an Extension Pack?

USB 1.0 is supported in the version installed from the Ubuntu repositories (from VirtualBox > 4.x).

For USB 2.0 and USB 3.0 we need to install the free (but closed source) VirtualBox Extension Pack (NOT the "platform packages") from the VirtualBox download page. If you had installed VirtualBox from the repositories you have to make sure to choose the extension pack for the right version of VirtualBox. You can see the version of your installed VirtualBox in the help > About VirtualBox menu. For regular updates and bug fixes, it is recommended to install the most recent VirtualBox version from the Oracle repository.

All virtual machines need to be powered off before installing the extension.

2. Become a "vboxuser" in Host machine (local machine)

To be able to get access to an attached USB device, the Ubuntu host user needs to be in the vboxusers group. Add your user to this group by running the following command

sudo usermod -aG vboxusers <username> 

and reboot or logout/login.

3. Activate USB support in VirtualBox Manager

Shut down your virtual machine and open USB settings in the VirtualBox Manager. Tick Enable USB Controllerand USB 2.0 (EHCI) Controller or USB 3.0 (xHCI) Controller.

If these settings are greyed out, you need to shut down the virtual machine.

enter image description here

4. 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 VirtualBox Manager on the USB icon:

enter image description here

Tick the device you need in the guest, untick it if you need it in the host. If you can't see your USB device in that list, it means that VirtualBox cannot access your host USB devices. Make sure your user is added to the vboxusers group and that you restarted your 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.

enter image description here

[optional] 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.

enter image description here

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 VirtualBox User Manual.

Also see: what are the proper values for usb device in virtual box

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

분류에서Dev

How to boot from a USB drive in VirtualBox?

분류에서Dev

How to set up maven?

분류에서Dev

Install Ubuntu on USB within VirtualBox

분류에서Dev

How to turn off the boot up beep of Ubuntu Live USB?

분류에서Dev

How do I set up a server for SSH?

분류에서Dev

How to set up git for wordpress theme development

분류에서Dev

How to set up image DIV for overlay animation

분류에서Dev

Flycheck and Clutter - how can I set it up?

분류에서Dev

How to set up the gateway for wlan0?

분류에서Dev

How to set up a clear SuSE-Firewall?

분류에서Dev

How do I set up an email server?

분류에서Dev

How to set up an array with related items

분류에서Dev

How to set up webcam for skype conversation?

분류에서Dev

Oracle VirtualBox 연결 USB 장치

분류에서Dev

Mounting non-usb devices on Virtualbox VM

분류에서Dev

USB3 SSD의 Virtualbox / VMWare?

분류에서Dev

Kali Linux USB에 Virtualbox 설치

분류에서Dev

How to set up DBus query to get play state of VLC?

분류에서Dev

How can I set up logging for node-mongod-native?

분류에서Dev

How to set up custom routing for wildcard subdomains in Nancyfx

분류에서Dev

How to set up development environment for a particular version of ios

분류에서Dev

How can I set up Git branch for automatic backups

분류에서Dev

How to set up Node.JS with Express and Socket.IO?

분류에서Dev

How can I set up conditional associations in Rails?

분류에서Dev

how to set up username and passwords for different git repos?

분류에서Dev

How do you set up unit tests without Karma?

분류에서Dev

What is a "raw disk" and how are filesystems set up on one?

분류에서Dev

How can I set up a house-wide sound system?

Related 관련 기사

뜨겁다태그

보관