解决Vagrant up遇到不能挂载共享目录/vagrant

2016-12-14 3426点热度 1人点赞 0条评论

故障
vagrant管理的centos虚拟机在做过 yum -y update 后更新了系统以及内核
然后下一次vagrant up的时候共享目录不能挂载到/vagrant目录( /sbin/mount.vboxsf: mounting failed with the error: No such device)

详细信息

搜索资料知道原因是yum update更新了内核,但是没有更新VirtualBox的连接的问题。
需要执行


rsync could not be found on your PATH

问题描述

下载安装cygwin,选择rsync

2016-12-14_184936.png

这里选择cn 结尾的域名,速度比较快

2016-12-14_185037.png

view-->Full,Search-->rsync

图中显示我已经安装过了,如果没有安装会显示Skip,鼠标点击一下就是选中。

安装完成之后把安装目录添加到系统变量中

顺便把VirtualBox也添加到系统变量中

2016-12-14_185125.png

六度

这个人很懒,什么都没留下

文章评论