Fixing USB issue on virtualbox in Fedora

本文提供了一个简单的解决方案来解决Fedora 16环境下VirtualBox无法识别USB设备的问题。通过将用户添加到vboxusers组并在fstab文件中进行配置,可以实现在VirtualBox虚拟机中正常识别和使用USB设备。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在fedora 16的virtualbox中使用usb

1. 取得vboxusers的gid(假设为1001):cat /etc/group | grep vboxusers

2. 将当前用户加入vboxusers组:useradd -aG vboxusers t0nsha

3. 在/etc/fstab文件新增一条记录(1001为第一得到的gid):none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0

4. 重启,即可在virtualbox虚拟机中使用usb设备了。


Having issue on USB using virtualbox? or your having a problem that you cannot use any usb device to detect inside virtualbox? here’s a simple solution just to detect the device based on my experience using fedora 16 installed with virtualbox :

1. Once you install virtualbox, you need to access the user and groups

2. Go to groups and look for vboxusers

3. Double click to go to properties and add your account

4. Once done,you need to edit the /etc/fstab file and just add this line

none /proc/bus/usb usbfs devgid=991,devmode=664 0 0

Note: You need to change the 991 to the group ID which you can locate on the user and groups.

5. reboot your machine

Now you can test to plug any USB device the virtualbox will detect it without an error..


FROM: http://rjiansevilla.com/2011/11/13/fixing-usb-issue-on-virtualbox-in-fedora/


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值