最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
解决yum update更新后Vagrant up遇到不能挂载共享目录/vagrant
时间:2022-06-30 18:23:00 编辑:袖梨 来源:一聚教程网
故障
vagrant管理的centos虚拟机在做过 yum -y update 后更新了系统以及内核
然后下一次vagrant up的时候共享目录不能挂载到/vagrant目录( /sbin/mount.vboxsf: mounting failed with the error: No such device)
详细信息
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant
The error output from the last command was:
/sbin/mount.vboxsf: mounting failed with the error: No such device
搜索资料知道原因是yum update更新了内核,但是没有更新VirtualBox的连接的问题。
需要执行
sudo /etc/init.d/vboxadd setup
相关文章
- 企查查官网-企业查询入口-企查查官网-查企业信息 03-13
- 亿万光年预约开启-亿万光年手游官网入口上线 03-13
- Jmc禁漫永久入口地址怎么进-JMC官网最新入口与在线阅读指南 03-13
- 哔咔哔咔漫画入口安卓安装包-哔咔哔咔漫画官方入口最新版本 03-13
- 夸克AI搜索网页版官方入口-夸克AI搜索官网一键直达 03-13
- 一耽女孩漫画app最新版本下载-一耽女孩官方正版安装包下载地址 03-13