您尚未登录。

#1 2016-09-19 21:44:11

roadgo
会员
注册时间: 2012-04-07
帖子: 380

VirtualBox虚拟机中使用U盘等USB设备的设置方法

http://www.linuxidc.com/Linux/2012-01/52502.htm
默认安装完Virtualbox,新建系统后,插入U盘,实机可以使用,但是虚拟机中不能正常使用USB设备.这个时候我们需要简单地设置.下面介绍的就是在Ubuntu系统下,使用virtualbox安装windows.

第一步:先运行virtualbox,但是不要运行虚拟系统,实机插入U盘,在虚拟机的设置按照如下图:



第二步:如果碰到提示,缺少”Oracle VM VirtualBox Extension Pack”,需要先下载:https://www.virtualbox.org/wiki/Downloads ,没提示错误,可以跳过本步.

VirtualBox 4.1.4 Oracle VM VirtualBox Extension Pack All platforms
Support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack. The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL).
Please install the extension pack with the same version as your installed version of VirtualBox! If you are using VirtualBox 4.0.14, please download the extension pack here.
如果你安装的是VirtualBox 4.1.4,直接点击”All platforms”,下载安装及可.

第三步:如果碰到”You can change this by adding your user to the ‘vboxusers’ group.”这个错误提示:

Failed to access the USB subsystem.VirtualBox is not currently allowed to access USB devices. You can change this by adding your user to the ‘vboxusers’ group. Please see the user manual for a more detailed explanation.

将用户名添加到vboxusers组,重启或注销后即可解决.

sudo usermod -G vboxusers -a john,其中john是你要使用vbox的当前用户名,
重启或注销

第四步:不要拔出U盘,运行虚拟系统,在”设备”–>”分配USB设备”中,把U盘选上,然后就可以正常使用U盘了.

离线

#2 2016-09-20 08:28:49

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: VirtualBox虚拟机中使用U盘等USB设备的设置方法

virtualbox-ext-oracle 不是社区源有吗 0.0

离线

页脚