VirtualBox Share Folder配置

本文档总结了如何在VirtualBox中配置主机与虚拟机之间的共享文件夹。针对Ubuntu主机和Windows客户机,介绍了安装Guest Additions驱动、创建共享文件夹、通过命令行或图形界面挂载文件夹的步骤。

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

以下信息参考了博客 http://ubuntuguide.net/how-to-share-folder-between-virtualbox-host-and-virutal-machinesguests

这里简单小结一下

准备

安装 guest additions驱动。在虚拟机窗口,点击 Devices->Install guest additions,自动下载安装

Ubuntu Host, Windows Guest配置

1.First,create the shared folder in ubuntu host,assuming the folder is /home/user_name/vbshare:

mkdir ~/vbshare

2.Boot up Windows guest and go to Devices->Shared Folders
virtualbox_share

Click the button at right to create a share.
In Folder Path navigate to the folder you created in step one and select it.Check “Make Permanent”.
virtualbox_share2
3.For Windows guest,navigate to Start->Run and type:

cmd

In dos console,use this command:

net use t: //vboxsvr/vbshare

For Vista guest,open your Windows Explorer, click on the Map Network Drive.Type following in Folder area and check “Reconnect at logon”.

//vboxsvr/vbshare

4.Open My computer,you will see the shared folder:
virtualbox_share3

Windows Host and Ubuntu guest:

1.Create an folder,assuming it is:

c:/vbshare

2.Same to the step 2 above.
3.In ubuntu guest,open terminal(Applications->Accessories->Terminal).Using following command mount the folder:

sudo mkdir /media/vb_share
sudo mount -t vboxsf vbshare /media/vb_share

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值