最新下载
热门教程
- 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
相关文章
- 《斗罗大陆:武魂觉醒》混沌之子魂骨搭配方案推荐 06-16
- 最火全球交易所数字资产交易TOP10-去中心化比特币交易所币安推荐 06-16
- 《大侠立志传》全丙级刀怎么获取 06-16
- Namada Token是什么意思?解析NAM代币背景与生态价值 06-16
- 最新2025正规虚拟币交易平台榜单-最安全现货交易app币安推荐 06-16
- 《宝可梦大集结》快龙技能详尽介绍 06-16