错误信息:

Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrantThe error output from the command was:mount: unknown filesystem type 'vboxsf'

解决方法:

# 安装 vbguest 插件
vagrant plugin install vagrant-vbguest
# 重启虚拟机
vagrant  reload

问题2:The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

解决方法:(该方法未能解决我的问题,请跳转 windows 安装vagrant reload 失败; No Virtualbox Guest Additions installation found.)

虽然vagrant up启动报错,但是vagrant ssh还是能登陆虚拟机的,进入虚拟机后,执行如下命令

sudo rm -f /etc/udev/rules.d/70-persistent-net.rules

对, 问题就处在在持久网络设备udev规则(persistent network device udev rules)是被原VM设置好的,再用box生成新VM时,,这些rules需要被更新。而这和Vagrantfile里对新VM设置private network的指令发生冲突。删除就好了。

再次启动就没问题了。。

参考:https://zhuanlan.zhihu.com/p/259833884

vagrant共享目录出现“mount:unknown filesystem type ‘vboxsf‘”错误解决方法(亲测可行)相关推荐

  1. Vagrant挂载目录失败mount: unknown filesystem type ‘vboxsf’

    一.背景 ​ 最近在玩Mac OS下的虚拟机,然后有朋友推荐了我Vagrant,但是在设置完跟宿主机共享目录然后启动虚拟机的时候,出现了vagrant mount: unknown filesyste ...

  2. 【debug】mount: unknown filesystem type ‘nfs’

    本地windows系统安装了kali,想在kali上挂载本地磁盘,发现报错 mount: unknown filesystem type 'nfs',解决方法如下: # 下载nfs客户端 sudo a ...

  3. mount: unknown filesystem type 'smbfs' 问题解决

    2019独角兽企业重金招聘Python工程师标准>>> 起因:想要通过samba协议把网络上其他机器mount到本地目录下, 使用如下命令: $ sudo mount -t smbf ...

  4. 无法挂载 NTFS格式的分区:mount: unknown filesystem type ‘ntfs’

    问题:       # mount –t ntfs /dev/sdb1 /mnt/usb       mount: unknown filesystem type 'ntfs'       这是由于C ...

  5. linux 挂载错误 mount: unknown filesystem type LVM2_member 解决方法

    系统启动到request_module: runaway loop modprobe binfmt-464c挂起 利用U盘系统,挂载硬盘出现:mount: unknown filesystem typ ...

  6. mount: unknown filesystem type 'ntfs'(转载)

    转自:http://www.siutung.org/post/455/ 今天将USB移动硬盘挂在CentOS上准备将压缩包拷贝下来的.   结果挂载移动硬盘的时候却提示: mount: unknown ...

  7. mount: unknown filesystem type 'LVM2_member'解决方案

    From: http://hi.baidu.com/williwill/item/7a36fdd92340b2ee55347f13 系统启动到request_module: runaway loop ...

  8. ubuntu挂载移动硬盘出现错误:mount:unknown filesystem type ‘exfat‘

    问题: 在ubuntu服务器上插上一个硬盘,系统能识别到该硬盘,但是不能挂载该硬盘,挂载时出现以下错误提示: mount:unknown filesystem type 'exfat' 意思是,该硬盘 ...

  9. mount gives unknown filesystem type 'vboxsf' 解决方法

    综述 mount gives unknown filesystem type 'vboxsf' 挂载的时候报错! 解决方法 安装virtual box的增强件: sudo apt-get instal ...

  10. centos挂载硬盘时提示mount:unknown filesystem type 'LVM2_member'的解决方案

    我写博文主要是为了记录自己学习中遇到的问题 centos挂载硬盘时提示mount:unknown filesystem type 'LVM2_member'的解决方案 我的是因为重新挂载了LV后面再挂 ...

最新文章

  1. CSS3与动画有关的属性transition、animation、transform对比
  2. junit5_使用junit做其他事情
  3. linux 跟踪程序执行过程,用pvtrace和Graphviz实现对linux下C程序的函数调用跟踪
  4. NYOJ 179 LK's problem
  5. 《ArcGis地图数据资料》(DataMap)ArcGis 9.0
  6. 【Android】Windows环境安装Android Studio教程
  7. centos7安装VLC播放器
  8. 今天完成了share memory的测试
  9. 服务器添加管理员隐藏账号,绝招:隐藏管理员账号 三分钟搞定
  10. Selenium API-WebDriver 方法
  11. override(C# 参考)
  12. 20. Prefer pass-by-reference-to-const to pass-by-value
  13. 挥泪推荐6款非常非常非常实用的软件!
  14. python爬虫requests设置代理ip_Python 爬虫的代理 IP 设置方法汇总
  15. 2019年电赛D题简易电路特性测试仪试题ad5933测量小阻抗值
  16. Kafka 数据丢失问题
  17. 还在用PDF做简历?落后了!
  18. 学计算机要不要懂绘画,学绘画 学修图 你需要一台怎样的电脑
  19. 多模态语义检索 | 基于 MetaSpore 快速部署 HuggingFace 预训练模型
  20. 记录--Spyder打开时出现“An error occurred while starting the kernel“

热门文章

  1. 计算机组成原理--填空,简答,判断,计算大题
  2. 计算机专业教师技能比赛,青年教师展风采,技能比赛促提升
  3. Fortran中分配数组大小
  4. 实验一计算机网络基础知识,计算机网络实验基础知识 集线器的使用
  5. Golang ------ torrent文件解析
  6. 新概念二册 Lesson 15 Good news佳音 ( 陈述句直接引语变间接引语)
  7. 康托尔、哥德尔、图灵——永恒的金色对角线(rev#2)
  8. Mysql自增主键用完了怎么办
  9. 生产制造业如何谋求数字化转型?需要哪些信息化系统做支撑?
  10. 【好文】敏捷中国十八年目睹之怪现状