解决 VirtualBox 共享文件夹出现 “mount wrong fs type”错误

  • Post author:
  • Post category:其他


环境

本机 win7 64位

虚拟机软件:VirtualBox 4.3.10,

虚拟机系统: Utunbu Kylin 13.10

想在本机和虚拟机中建立共享文件夹,步骤网上一堆,可参照:http://wenku.baidu.com/link?url=cUWrJcQ_tdw-hdM5y-_8GsO3YAUvxUjKI_KRuZwTFNArbqq5s0MAT-Kw-cqLbKU5qf78DLHNiltGKeb1Z_w5uXxda0SCnTfoRrUa1xhpVN3

但是在utunbu中运行命令: $ sudo mount -t vboxsf VMShard /mnt/vmshard/

得到错误:

mount:文件系统类型错误、选项错误、VMShard 有坏超级块,

缺少代码页或助手程序,或其他错误

(对某些文件系统(如 nfs、cifs) 您可能需要

一款 /sbin/mount.<类型> 助手程序)

有些情况下在 syslog 中可以找到一些有用信息- 请尝试

dmesg | tail  这样的命令看看。

于是在网上一大通查找,最后终于找到一个解决办法,执行如下命令即可成功:

$ cd /sbin

$ sudo rm mount.vboxsf

$ sudo ln /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/mount.vboxsf

$ sudo mount -t vboxsf VMShard /mnt/vmshard/

原理也不清楚,可参考这个内容:


I finally fixed it but I’m too new to post the answer :(. The symlink for mount.vboxsf was broken. Here’s what I ran to correct it: cd /sbin sudo rm mount.vboxsf sudo ln /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/mount.vboxsf Hope this is of use to someone else!




URL:http://superuser.com/questions/736024/cannot-share-host-directory-with-virtualbox-guest-mint-16-64-bit







版权声明:本文为yyh30原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。