转自[https://blog.csdn.net/u011486871/article/details/79443375] [有小修改] 错误提示:Vagrant was unable to mount VirtualBox shared folders. This is usuallybecause the filesystem “vboxsf” is not available. This filesystem ismade available via the VirtualBox Gues
1.先确保virtualBox安装目录下有对应的文件VBoxGuestAdditions.iso 2.点击设备下的“安装增强功能”,之后再centos可视化界面一步一步点击即可 3.virtualBox设置共享目录 4.在linux上输入mount -t vboxsf www /var/www(ps:不要在/var/www目录上执行该命令),没有报错到这里就可以了 5.执行4时报错,/sbin/mount.vboxsf: mounting failed with the error: No su