How to Enable USB in VirtualBox

Channel: VirtualBox Linux
Abstract: click on the Extension tab and then click the + sign. Virtualbox Extension 3. Select the downloaded Extension Pack and install it as shown. Install Vi

If your data center depends on VirtualBox and your virtual machines depend on the USB device, you’ve perhaps noticed that USB doesn’t support by default unless you’ve manually enabled it.

In this article, we will explain to you how to enable USB support on Virtualbox. The current version of VirtualBox 6.0 comes with support for USB 3.0, and to take advantage of it, you need to install the latest version of VirtualBox Extension Pack.

This tutorial presumes that you already installed VirtualBox on your Linux and VirtualBox guest additions on your virtual machines. If you haven’t, you can install it using the following articles.

  1. How to Install Latest VirtualBox 6.0 in Linux
  2. How to Install VirtualBox 6 in Debian and Ubuntu
  3. How to Install Oracle VirtualBox 6.0 in OpenSUSE
  4. Install VirtualBox Guest Additions in CentOS, RHEL & Fedora
  5. How to Install VirtualBox Guest Additions in Ubuntu
How to Install the VirtualBox Extension Pack

To install the latest version of Extension Pack, head over to the Virtualbox Downloads page and grab the file for All supported platforms.

1. Once you’ve downloaded, open up VirtualBox –> Click File –> Preferences in the Menu.

VirtualBox Preferences

2. Next, click on the Extension tab and then click the + sign.

Virtualbox Extension

3. Select the downloaded Extension Pack and install it as shown.

Install Virtualbox Extension Pack

4. Scroll through the Virtualbox License and then click I Agree button to install it.

Virtualbox License Agreement

5. Enter your sudo password and allow the installation to finish.

Installing Virtualbox Extension Pack Installed Virtualbox Extension Pack Enabling USB Access to User

To allow a user to access the USB subsystem, you need to add the user (running VirtualBox) to the vboxusers group using the following command.

$ sudo usermod -aG vboxusers <USERNAME>

Where USERNAME is the name of the user running the VirtualBox.

Add User to vboxusers Group

Once the command runs successfully, logout and log back into the system.

Enabling USB Support in VirtualBox

Start up VirtualBox, right-click on the virtual machine that needs access to a USB device, and click Settings.

VirtualBox VM Settings

In the virtual machine’s Setting tab, click on USB to see the available USB devices. Click on the + sign to add a new device.

Enable USB Support in VM

Once USB device added, start up the virtual machine to have access to the data on the USB device. If you want to enable more USB devices, go back into the Settings –> USB and add the devices.

Ref From: tecmint

Related articles