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

本文介绍了如何在Ubuntu9.04中使用VirtualBox虚拟机软件配置共享文件夹,以便于宿主机与Windows XP虚拟机之间进行文件交换。通过命令行与图形界面操作实现共享文件夹的设置,并详细说明了如何让虚拟机能够访问宿主机上的USB设备。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值