centos7 VM VirtualBox设置共享目录时报错。 /sbin/mount.vboxsf: mounting failed with the error: No such device

 

 执行  mount -t vboxsf workspace /mnt/workspace

解决办法:

yum clean all
yum update
yum install kernel
yum install kernel-devel
yum install kernel-headers
yum install gcc
yum install make  
reboot


cd /opt/VBoxGuestAdditions-*/init  
./vboxadd setup
reboot

 

posted on 2019-06-07 21:52  running-fly  阅读(2861)  评论(0编辑  收藏  举报

导航