本文介绍了VirtualBox:mount.vboxsf:挂载失败,错误:没有这样的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在OS X创建的文件夹 myfolder
,将其作为共享文件夹添加到虚拟机,打开虚拟机,在CentOS创建的文件夹 / home / user / myfolder
并键入:
sudo mount -t vboxsf myfolder / home / user / myfolder
并输出:
/sbin/mount.vboxsf: :没有这样的设备
我做错了什么?
UPDATED:
已安装访客添加
解决方案
这是由以下人员解决的:
yum install gcc kernel-devel make
解决方法在这里:
I'm using VirtualBox with OS X as host and CentOS on the guest VM.
In OS X I created folder myfolder
, added it as shared folder to the VM, turned on the VM, in CentOS created folder /home/user/myfolder
and typing:
sudo mount -t vboxsf myfolder /home/user/myfolder
and have output:
/sbin/mount.vboxsf: mounting failed with the error: No such device
What I'm doing wrong?
UPDATED:
Guest Additions
installed.
解决方案
This was resolved by:
yum install gcc kernel-devel make
workaround is here: https://gist.github.com/larsar/1687725
这篇关于VirtualBox:mount.vboxsf:挂载失败,错误:没有这样的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!