Xp under virtualbox does not see usb devices. VirtualBox does not see USB in Ubuntu

VirtualBox is able to pick up the usb port with the desired device at startup.

For example, we are using a usb printer (or want to use a flash drive) that only works under Windows XP. Let's take the port with the connected printer from the main PC (of course, the printer is physically connected to a real PC).

First, everything is manual.

We select in our virtual machine (control panel at the bottom) which port we want to connect (all external usb devices will be shown).

After capturing the usb device, hover the mouse over the desired device and see the details.

We need serial number 281208003422.

Launches USB setup.

We see the filters for USB devices and create a new one.

We indicate in the filter the serial number of the port, which we learned during the first manual connection. In this case, 281208003422. And we call this filter somehow.

That's all. Now, on startup, the VirtualBox virtual machine will automatically capture this usb device to itself.

VirtualBox (Oracle VM VirtualBox) is a virtualization system designed to create a virtual machine with hardware parameters of a real computer, on which you can run any operating system. Latest version 5.2. Company website www.virt ...

I think many have already been puzzled by the question of how to configure USB on Virtualbox in their beloved Ubuntu. Sometimes it is necessary to connect a USB flash drive directly to Virtualbox, but instead you have to copy data from a flash drive to a shared folder and from this folder already use the data in the virtual system (note my article "Share XP guest folder under Ubuntu"). I also tried to solve this problem for a long time, but something didn't work out for me, and I didn't really need it then, but now I accidentally stumbled upon a video from youtube where it was shown how you can connect your devices. 1. So first add yourself to the virtualbox group by running sudo gedit / etc / group and find the line vboxusers: x: 121: and add your username there. 2. Then write in the terminal getent group vboxusers and you will see in the output something like this vboxusers: x: 121 : user if you added the user to the group correctly in the previous step, then after the three-digit number there will be your login, in my case user. From this line we need to remember gid this is a three-digit number, in my case it is 123, I specially marked it in bold, you may have a completely different number. Attention: remember this number, it will be useful to us for the next step. 3. Open in a text editor fstab: sudo gedit / etc / fstab and insert the line there: none / sys / bus / usb / drivers usbfs devgid \u003d XXX, devmode \u003d 666 0 0 where XXX, the same qid that we memorized in the previous step. Save changes and restart your computer. 4. After rebooting, start Virtualbox and go to the properties of your virtual machine. Move to the USB section and there tick the "enable USB" and "enable USB 2.0" options (I have a system in English, translated these names on the fly, maybe it won't be called so little in the Russian interface). After that, start the system and to connect USB devices in the navigation window of your virtual machine go to "Devices - USB devices" and tick the necessary devices. You can also add that USB devices are automatically attached when the virtual OS starts. To do this, in the settings of the virtual machine, in the USB section, add the required device to the filter. From the sponsor: Italian furniture factories are famous all over the world for their products. Such furniture is created in accordance with the requirements of European quality standards and will serve its owner for a long time. In addition, Italian furniture factories use natural materials in the production process. Buying furniture from Italian manufacturers means getting a quality product with a beautiful design at an affordable price.

Often, those who like to experiment have a need to use a USB device in a virtual machine. A trivial connection through the main menu implies repeated actions every time the VM starts, so in this article we will figure out how to connect a USB flash drive to a Virtualbox virtual machine by adding a filter that will allow us to use the drive without a permanent connection at startup.

An external USB drive can be connected to the virtual machine.

First of all, you need to find out which version of Virtualbox we are using. This is easy to do. Open the manager, click on the "Help" button, select the "About" item. The necessary information will be indicated below in the corresponding field. In my case, this is 4.3.12.

Go to the official Virtualbox website and look for your version of the program. If you are not using the latest, then you need to go down and find a link to the old versions of Virtualbox (Virtualbox older builds). In the details, you will find the Extension Pack for all platforms. Pay attention to this point, you cannot make a mistake here, otherwise the plugin will not work for our program. Download it.

In the Virtualbox manager, go to the "File" and "Settings" menus. Go to the plugins section, click on the "Add plugin" icon and look for our downloaded file. Select, click "Open". We are warned that plugins can lead to crashes, the usual scarecrow, if you agree, then click "Install". We accept the license agreement, move the slider to the very bottom, activate the "I agree" button, click on it. The plugin has been successfully installed, double click on the "Ok" buttons.

Add a filter

Now we select our machine in the list, click "Configure", go to the "USB" section, in order to edit these settings, it must be turned off. We set a tick in the "Enable USB 2.0 controller" checkbox, if you have a newer version, 3.0 will be available. Click on the "Add filter" button, look for your device in the list. The filter is added, click "OK". We start our car.

Permanent setup and one-time connection

The flash drive will only be available in the created system while it is turned on. When the machine is turned off, the flash drive is available in real life. This method is suitable if you do not want to connect the device every time already inside a running machine, although this can be done.

How to open a USB flash drive in a virtual machine? In the main window of Virtualbox there is an item "Properties", click on it and select the item "USB Devices" then just select the desired device, after that the manager will transfer control of the drive from the operating system of the real machine to the created one.

Conclusion

So, we figured out how to connect a USB flash drive in Virtualbox. The process itself is quite simple and will take you only a few minutes, if we want to turn off the automatic connection, then we will only need to remove the filter, and that's it. With each new article about virtual machines, we get more and more skills when working with them, train, experiment, and after a while they will become your main weapon when working with new applications or utilities.

If you have any questions - ask them in the comments!

VirtualBox is a popular program for emulating a personal computer and running various operating systems. You can connect various devices to your virtual machine, including USB devices connected to the main system.

But many users face the problem that VirtualBox does not see USB. The devices are connected to the system and work for sure, but they simply are not in the connection menu. In this article, we will look at what to do if virtualbox linux does not see the usb device. The article is intended primarily for Ubuntu, but also for users of other distributions.

Virtualbox error does not see USB

Most often, this error occurs because the user on whose behalf you launched VirtualBox does not have access to the necessary files. This can be solved very simply, you just need to add your user to the vboxusers group. To do this, run the command:

sudo usermod -a -G vboxusers $ USER

After that, you just need to log in again to make everything work. You can check if USB devices are detected with the command:

VBoxManage list usbhost

But this does not always help. You also need to see if USB controller support is enabled for the virtual machine. To do this, open the context menu for it and select the item "Setting"then go to tab "USB":

There should be a check mark opposite "Enable USB controller"and one of the available interfaces has been selected. To support USB 2.0 or USB 3.0, you need to install the Virtualbox Extensions Pack. This is a set of proprietary extensions that also include support for this technology. Chances are you can already connect the usb virtualbox.

To do this, download the file for your version of Virtualbox from the official website. Then open the menu "File" -> "Settings" -> "Plugins" and connect the downloaded file here:

In Ubuntu 16.04, this can be done easier, just run the command:

sudo apt install virtualbox-ext-pack

Done, then you can enable USB 3.0 support.

On some distributions, for example, the Red Hat family, usb in virtualbox does not work because USB connectivity is disabled for security reasons. In this case, you will have to turn it on. To do this, you must first uncomment all SUBSYSTEM lines in /etc/udev/rules.d/60-virtualbox.conf. This can be done with the command:

sudo printf "% s \\ n" "g / ^ # SUBSYSTEM / s / ^ # //" w | ed -s /etc/udev/rules.d/60-vboxdrv.rules

Then copy this file to the / usr / lib / udev directory:

sudo cp -v /etc/udev/rules.d/60-vboxdrv.rules / usr / lib / udev /

And reload the rulesets:

sudo udevadm control --reload-rules
$ sudo systemctl restart vboxdrv.service

Now you can check again whether everything still does not see the Virtualbox usb device or everything is already working.

findings

In this article, we looked at what to do if VirtualBox does not see USB in Ubuntu or other Linux distributions. In most cases, the solution is very simple. I hope this information was helpful to you.

Related entries: