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

 

上一篇:linux命令之date,hault,shutdown,reboot,init,poweroff


下一篇:Ansible--Ad-Hoc