linux主机用virtualbox虚拟winxp中使用USB设备

主机操作系统是centos 5.2,安装了virtualbox 3.2.10,在virtualbox中安装了windows xp sp2。但是U盘和MP3等设备一直无法在windows虚拟机中使用。
解决方法:http://wiki.centos.org/HowTos/Virtualization/VirtualBox

VirtualBox requires the user have write access to "usbfs" devices for USB access. As root perform the following:

 

mkdir /vbusbfs
echo "none /vbusbfs usbfs rw,devgid=$(awk -F : '/vboxusers/ {print $3}' /etc/group),devmode=664 0 0" >> /etc/fstab
mount -a

 


 

If running CentOS as a guest OS in a VM the same development and dkms packages should be installed in the VM prior to installing VBox Guest Additions.

执行以上操作后问题解决:将MP3连接到主机上,不需要mount,在虚拟机中点击USB图标可以看到有一项ROCK MP3,选中即可在windows xp中使用。

另外,自己还按照网络上一些论坛里讲的方法进行了操作:把登录用户添加到vboxusers群组中。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值