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

 

转载于:https://www.cnblogs.com/zxqblogrecord/p/10989314.html

你可能感兴趣的:(centos7 VM VirtualBox设置共享目录时报错。 /sbin/mount.vboxsf: mounting failed with the error: No such device...)