vagrant up报错:unable to mount VirtualBox shared folders

vagrant up报错:unable to mount VirtualBox shared folders

大家好,又见面了,我是全栈君。

vagrant up报以下错误:

 

1

2

3

4

5

6

7

8

9

10

11

12

 

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 /vagrant

The error output from the command was:

/sbin/mount.vboxsf: mounting failed with the error: No such device

 

参考文档

看到有2个方法:

1.

 

1

2

 

vagrant plugin install vagrant-vbguest

vagrant vbguest

 

2.

 

1

2

 

vagrant plugin install vagrant-winnfsd

vagrant plugin install vagrant-vbguest

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/111992.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 难得清静的生日– 记我的本命年

    难得清静的生日– 记我的本命年

    2021年7月22日
    69
  • YUI中js的继承示例

    YUI中js的继承示例无标题文档一个简单的例子。在这个例子中,可以看到,用var定义的私有变量,是不能被继承的。所有能被继承的,一定是通过this关键字,在内在地址中和这个对象的地址捆在一起的变量。因为复合对象传的不是值

    2022年7月4日
    20
  • SSAS介绍

    SSAS介绍文章提纲 商业智能 BI BusinessInte 基本概念 SSAS SQLServerAna 相关工具 开发 管理和客户端 总结 一 商业智能 BI BusinessInte 基本概念商业智能的概念在 1996 年最早由加特纳集团 GartnerGroup 提出 加特纳集团将商业智能定义为 商业智能描述了一系列的概念和方法 通过应用基于事实的支持系统来辅助商业决策的制定 商业智能技术提供使企业

    2025年10月2日
    2
  • PreparedStatement的用法「建议收藏」

    PreparedStatement的用法「建议收藏」一、用法:PreparedStatement是Statement的子接口,Statement在使用的过程中,直接拼写SQL是很容易出错的且难用的,PreparedStatement带有模版的思想,减少了出错的机率。1、写sql模版,并和PreparedStatement绑定StringsqlsqlTemplate="insertempVALUE(?,?,?)";Prepar…

    2022年6月8日
    35
  • 如何在Windows上下载,安装或卸载PyCharm?「建议收藏」

    如何在Windows上下载,安装或卸载PyCharm?「建议收藏」PyCharmisaPythonIDEthatprovideseasinesstodevelopedPythonApplication.PyCharmprovidesalotofusefulfeatureslikesmartcodecompletion,codeinspection,on-the-flyerrorhighlighting,qui…

    2022年8月29日
    3
  • Map集合循环遍历的几种方式[通俗易懂]

    packagecn.jdbc.test;importjava.util.HashMap;importjava.util.Iterator;importjava.util.Map;importjava.util.Map.Entry;/***Map集合的循环遍历*@data2018.1.21**/publicclassTestMap{…

    2022年4月17日
    68

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号