码迷,mamicode.com
首页 > 系统相关 > 详细

vagrant故障记--升级虚拟机linux内核导致无法挂载共享文件夹

时间:2015-09-07 19:25:03      阅读:257      评论:0      收藏:0      [点我收藏+]

标签:

==> 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:
    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

 

vagrant故障记--升级虚拟机linux内核导致无法挂载共享文件夹

标签:

原文地址:http://www.cnblogs.com/edwardteng/p/4789592.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!