Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to access a USB device on a Ubuntu virtual machine

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to access USB devices on the Ubuntu virtual machine. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.

In order to access your USB device on a virtual machine on the Ubuntu host, you need to add your user name to the vboxusers group. Note that this article does not apply to the VirtualBox OSE version, so you need to install the VirtualBox4.0.x version from the software library. Add your user name to the vboxusers group in ubuntu, open the menu "system-> Administration-> users and groups", click "manage Group", move down to the "vboxusers" group and click "Properties", then check your user name and click "OK":

Log out of the system and log back in, insert your flash drive (or whatever you need), start the virtual machine and select the USB device at the bottom right. In this way, the USB device will not be available every time the virtual machine is started. If you need to be able to use USB devices every time you start a virtual machine, open VirtualBox, select a virtual machine, click "Settings" and click the "+" sign on the right in the USB column-this will display a list of USB devices that you can add to the virtual machine. If you want to set up the USB device of the virtual machine manually, run the following command: sudo gedit / etc/group

Find the "vobxusers" user group and add your user name to that line, as follows: vboxusers:x:125:andrei

"andrei" is my user name-change it to your own. Then save the file and exit the system.

So much for sharing about how to access USB devices on Ubuntu's virtual machine. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report