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

 

Ifrunning CentOS as a guest OS in a VM the same development and dkmspackages should be installed in the VM prior to installing VBox GuestAdditions.

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

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

           

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

猜你喜欢

转载自blog.csdn.net/qq_43668159/article/details/87354794