virtualbox上的共享文件夹和usb的配置

VirtualBox 在ubuntu 9.04(host linux)下虚拟win xp
1、安装增强功能并重启
2、在ubuntu 9.04 终端执行(也有图形界面的)
VBoxManage sharedfolder add "XP" -name "dxn" -hostpath "\home\share"
VBoxManage sharedfolder add "VM name 指定要使用共享文件夹的虚拟机名称" -name "共享的文件夹名称" -hostpath "主机共享文件夹所在路径"
3、启动虚拟机(本例为 Windows XP),点击开始菜单中的“运行”,并输入 cmd,然后执行以下指令:
net use Z: \\vboxsvr\share use Z: \\vboxsvr\共享的文件夹名称


This is how a default installation of VirtualBox in Ubuntu 9.04 shows the USB devices, and we need to fix it.

Go to System -> Administration -> Users and Groups…

Click the "Unlock" button…

Type your password and click the "Authenticate" button….

Click on the "Manage Groups" button…

In the "Groups settings" window that will appear, scroll down until you see the vboxusers entry. Select it and then click on the "Properties" button…



Another window will appear, called "Group ‘vboxusers’ Properties. Just check the box in front of your username and click the "OK" button when you’re done…

Close the "Group settings" and "Users Settings" windows and log out(有可能需要重启,logout有时不行). Log in and open up VirtualBox, start your virtual machine and you will see that you can now access the USB devices!

你可能感兴趣的:(linux应用)