Virtualbox, Ubuntu and USB

Have you tried to install VirtualBox on a Debian-based system and had all kinds of problems? Typically it all starts with “sudo apt install virtualbox” and then you realize that you can’t install the Oracle VM VirtualBox Extension Pack. You can’t see any of your USB devices. You can’t update the software…UGH

Here’s a fix. If you already installed using the terminal, you can first “sudo apt remove virtualbox” and then “sudo apt autoremove”. Then bring up your web browser and go to the official Oracle VM VirtualBox website. From there, you can download the .deb package. Launch it and install.

Once your program is installed, open VirtualBox and navigate in the toolbar to File/Preferences and then to the Extensions icon. Make sure the Extension Pack is installed. If not, you can download it and install with the ‘plus’ icon on the right.

Now you can create your virtual machine using ‘New’ icon or alternatively, use the “Add” icon to add an existing machine from a folder. To get your USB device working with your virtual machine, either right click on the VM and go to settings, or select the “Settings” icon to the right of it. Toward the bottom of the icon panel on the left, you will see ‘USB’. Select that and you should see USB 1.1, 2.0, and 3.0 options. Pick the relevant one and then the “+” icon on the right. You should see a list of options. Once you add the USB device, it should be available once you boot your virtual machine. Enjoy!

Leave a comment

Your email address will not be published. Required fields are marked *