virtualbox上的共享文件夹和usb的配置
VirtualBox在ubuntu9.04(hostlinux)下虚拟winxp
1、安装增强功能并重启
2、在ubuntu9.04终端执行(也有图形界面的)
VBoxManagesharedfolderadd"XP"-name"dxn"-hostpath"\home\share"
VBoxManagesharedfolderadd"VMname指定要使用共享文件夹的虚拟机名称"-name"共享的文件夹名称"-hostpath"主机共享文件夹所在路径"
3、启动虚拟机(本例为WindowsXP),点击开始菜单中的“运行”,并输入cmd,然后执行以下指令:
netuseZ:\\vboxsvr\shareuseZ:\\vboxsvr\共享的文件夹名称
ThisishowadefaultinstallationofVirtualBoxinUbuntu9.04showstheUSBdevices,andweneedtofixit.
GotoSystem->Administration->UsersandGroups…
Clickthe"Unlock"button…
Typeyourpasswordandclickthe"Authenticate"button….
Clickonthe"ManageGroups"button…
Inthe"Groupssettings"windowthatwillappear,scrolldownuntilyouseethevboxusersentry.Selectitandthenclickonthe"Properties"button…
Anotherwindowwillappear,called"Group‘vboxusers’Properties.Justchecktheboxinfrontofyourusernameandclickthe"OK"buttonwhenyou’redone…
Closethe"Groupsettings"and"UsersSettings"windowsandlogout(有可能需要重启,logout有时不行).LoginandopenupVirtualBox,startyourvirtualmachineandyouwillseethatyoucannowaccesstheUSBdevices!