vbox增强遇到的问题

在安装vbox增强后,设置共享文件夹并挂载(mount -t vboxsf share /mnt/shareV)出现错误: 

mount: wrong sf type ,bad option ,bad superblock balabala。。。

打开/sbin 看到mount.vboxsf是红色的(估计是坏了、、)

rm mount.vboxsf

ln -s /opt/VboxGuestAddition-x.x.xx/lib/VBoxGuestAdditions/mount.vboxsf(添加一个软连接)

解决了

这里用sudo命令时遇到一个问题 moon is not in the sudoers file 明显就是在sudo权限文件里没有我的用户moon

切换到root用户:

visudo(打开编辑配置文件/etc/sudoers)

找到root ALL=(ALL) ALL

扫描二维码关注公众号,回复: 228450 查看本文章

在下面添加一行 username ALL=(ALL) ALL

猜你喜欢

转载自xiaoxiaoher.iteye.com/blog/2371141
今日推荐