VirtualBox的Linux虚拟机访问Windows7的文件
第一步:安装 VirtualBox 增强工具
http://hi.iyunv.com/attachment/201202/4/0_1328365187zE67.gif
http://hi.iyunv.com/attachment/201202/4/0_1328365232SEJ0.gif
点击确定,稍等片刻,VirtualBox 的增强功能就可以安装完毕。
第2步:设置要共享给Linux 虚拟机的文件夹(目录)
http://hi.iyunv.com/attachment/201202/4/0_1328365341v5ZD.gif
点击右下角的“分配数据空间”
http://hi.iyunv.com/attachment/201202/4/0_1328365411zA7p.gif
点击“添加”
http://hi.iyunv.com/attachment/201202/4/0_1328365468G4WR.gif
选择要共享的路径,记得选中“固定分配”
第3步:重启虚拟机(或者注销虚拟机)
http://hi.iyunv.com/attachment/201202/4/0_1328365546L6k1.gif
第4步:重新登录Linux后,打开终端
输入:
# mkdir /home/download
# sudo mount -t vboxsf Download /home/download
# cd /home/download
# ls
我们对比看看实际的效果
http://hi.iyunv.com/attachment/201202/4/0_1328365851OOAW.gif
左边是windows7的文件目录,右边是Linux 里,用ls目录输出的文件清单
页:
[1]