【发布时间】:2014-12-14 07:41:09
【问题描述】:
我正在尝试使用 Virtual Box、Virtual Box Guest Additions 和 Vagrant 运行 Linux VM,并在我的 Windows 7 机器上安装一个文件夹。我已经尝试了this question 中的建议,但仍然遇到同样的错误。
我正在运行以下版本:
虚拟盒子:4.3.18 r96516
Virtual Box Guest 添加:4.3.18
流浪者:1.6.5
流浪插件:
流浪登录:1.0.1
流浪共享:1.1.2
vagrant-vbguest: 0.10.0
当我运行 vagrant reload 时出现以下错误:
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`,
nolock,vers=3,udp,noatime core /tbm
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant`,nolock,vers=3,udp,noa
time core /tbm
The error output from the last command was:
stdin: is not a tty
unknown mount option `noatime'
valid options:
rw mount read write (default)
ro mount read only
uid =<arg> default file owner user id
gid =<arg> default file owner group id
ttl =<arg> time to live for dentry
iocharset =<arg> i/o charset (default utf8)
convertcp =<arg> convert share name from given charset to utf8
dmode =<arg> mode of all directories
fmode =<arg> mode of all regular files
umask =<arg> umask of directories and regular files
dmask =<arg> umask of directories
fmask =<arg> umask of regular files
我试过卸载、安装、更新 vagrant-vbguest 插件:
vagrant plugin install vagrant-vbguest
我尝试在运行 vagrant ssh 后运行以下命令,但仍然收到相同的错误消息:
sudo ln -s /opt/VBoxGuestAdditions-4.3.18/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
【问题讨论】:
标签: linux ubuntu windows-7 vagrant virtualbox