How to Enable USB in VirtualBox
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.
- How to Install Latest VirtualBox 6.0 in Linux
- How to Install VirtualBox 6 in Debian and Ubuntu
- How to Install Oracle VirtualBox 6.0 in OpenSUSE
- Install VirtualBox Guest Additions in CentOS, RHEL & Fedora
- How to Install VirtualBox Guest Additions in Ubuntu
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 Preferences2. Next, click on the Extension tab and then click the +
sign.
3. Select the downloaded Extension Pack and install it as shown.
Install Virtualbox Extension Pack4. Scroll through the Virtualbox License and then click I Agree button to install it.
Virtualbox License Agreement5. Enter your sudo password and allow the installation to finish.
Installing Virtualbox Extension Pack Installed Virtualbox Extension Pack Enabling USB Access to UserTo 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 GroupOnce the command runs successfully, logout and log back into the system.
Enabling USB Support in VirtualBoxStart up VirtualBox, right-click on the virtual machine that needs access to a USB device, and click Settings.
VirtualBox VM SettingsIn 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.