Vagrant 启动报错:the "vboxsf" file system is not available
2015-10-04 22:03
537 查看
有时候启动vagrant的时候会出现以下错误:
default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
default: Setting hostname...
default: Configuring and enabling network interfaces...
default: Mounting shared folders...
default: /vagrant => D:/opt/Vagrant/VWOS
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
vagrant ssh登陆后发现共享文件夹没了,需要在vagrant里执行以下命令。
default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
default: Setting hostname...
default: Configuring and enabling network interfaces...
default: Mounting shared folders...
default: /vagrant => D:/opt/Vagrant/VWOS
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
vagrant ssh登陆后发现共享文件夹没了,需要在vagrant里执行以下命令。
sudo /etc/init.d/vboxadd setup
相关文章推荐
- VB.net视频打开方法
- VBA第7课 编写自定义函数
- Ubuntu vbox xp虚拟机共享文件夹
- VB2005 Project中Namespace的一个问题
- 【VBS教程】:VBS简介及如何编译VBS程序等
- 【VBS教程】:作业1
- 【VBS教程1】:基本输入输出
- 历年至今TVB剧集目录(持续更新...我已看过的推荐)
- 【来日复制粘贴】输出匹配到的字符串
- vs开发调用窗体的方法
- 张亦Excel VBA——基础篇
- 整理BOM时写的关于拆分单元格的VB代码
- VB 获取文件版本
- 软件测试人员需要精通的开发语言(1)--- VBScript
- vba中的查找匹配函数
- VB.NET监视启动过程具体步骤介绍
- OpenGL3.0教程 第九课:VBO索引
- VBS 调用 HTA 实现进度条加载
- OBPS开发平台——导入功能vb代码解析
- 解决虚拟机VBox下Ubuntu无法全屏的问题