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.

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.

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

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

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

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

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.

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.

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.

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.