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