Oracle VM VirtualBox 下 ubuntu 虚拟机 如何 挂载共享

来源:互联网 发布:网络测速器手机版 编辑:程序博客网 时间:2024/05/19 22:48

1.设备>  安装增强功能,否则mount指令不识别。

1.设备>共享          配置虚拟机设置共享。


1.启用root,命令为 sudo passwd root,root 默认没有密码,设置自己的密码。

3. 在 /home 下 建立 share 文件夹。 命令为 mkdir share

4. 挂载mount -t vboxsf share /home/share

5.F:\CentOS-Share 下放入东西,进入/home/share 如果能看到本地电脑的文件,则表示挂载成功。

6.将mount -t vboxsf share /home/share 指令加入到 /ect/profile 文件里面,这样 每次开机,共享都会在。
 


0 0
原创粉丝点击