VirtualBox设置Shared Folder的步骤
来源:互联网 发布:2015年白酒行业数据 编辑:程序博客网 时间:2024/06/02 10:49
VirtualBox也有与VMware类似的Shared Folder的功能. 使得主机与虚拟机之间可以共享文件.
废话少说. 开工.
环境:
主机:Windows XP
虚拟机:Ubuntu 10.10
第一步:安装VBoxGuestAdditions工具. 这个类似于VMware Tool. 但容易安装得多. 先将VirtualBox安装后的目录下的VBoxGuestAdditions.iso加入到VirtualBox的虚拟光驱中. mount光驱. 取得root权限后运行 sh ./VBoxLinuxAddtions.run install. 等一会就全部安装完毕了. 重启!
第二步:在VirtualBox的菜单中找到Shared Folders设置. 增加或修改一个本地主机上的文件夹作为共享文件夹. 注意Folder Name一项将在虚拟机挂载这个目录时用到. 注意去掉Auto-mount的选项. 否则在启动的虚拟机就会自动mount. (主要是我不知道mount到哪了...)
第三步:在shell中输入mount -t vboxsf [Folder Name] /mnt/share (最后是需要mount的目录, 可以自己修改). 进去就可以看到共享的内容了.
疑难杂症:自己曾遇到过/sbin/mount.vboxsf: mounting failed with the error: Invalid argument的错误. 问题应该是出自于重复的mount同一个Shared Folder. 解决方法是先去掉Auto-mount, 再检查一下自己是不是刚刚已经手动mount过了.
- VirtualBox设置Shared Folder的步骤
- 关于virtualbox的shared folder
- VirtualBox的Shared folder功能出现broken shared folder错误
- Virtualbox set shared folder
- VirtualBox shared folder setup
- VirtualBox Guest Additions & Shared folder
- 使用virtualbox时的共享文件夹(shared folder) 问题
- [转]Virtualbox Share Folder的设置
- VirtualBox Shared Folder from Ubuntu 12.04
- problems with shared folder in virtualbox
- virtualbox中访问默认挂载的shared folder时permission denied
- Mounting a Shared VirtualBox Folder from an Ubuntu Guest
- Vagrant can't mount shared folder in VirtualBox
- 简单Folder的开发步骤
- VirtualPC2007添加Shared Folder的方法for dos虚拟机
- vmware上的ubuntu与window共享folder(shared folder disabled.)
- VirtualBox Share Folder配置
- ubuntu shared folder to windows
- 关于如何将char*转换成long型整数
- JDBC防止SQL注入(菜鸟笔记)
- AS3 中Label相关属性的设置
- JAVA面试--一道上机题
- VS2005 菜单项添加事件 VC2005消息映射
- VirtualBox设置Shared Folder的步骤
- 重载OnOK、OnCancle、OnClose
- SAP系统常用变量
- [SPC]生产统计过程控制三
- SQL 10 函数 3 日期时间函数 - 1 日期、时间、日期时间与时间戳
- 实现HTML页面在手机浏览器上全屏的方式
- 看看咱当兵的???看了顶一下!
- c#/.net提供的方法:把整型值和字符串IP互转!
- c#/.net提供的方法:把整型值和字符串IP互转!