VirtualBox Share Folder配置

来源:互联网 发布:神舟战神 知乎 编辑:程序博客网 时间:2024/05/19 01:07

以下信息参考了博客 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

原创粉丝点击