/sbin/mount.vboxsf: mounting failed with the error: Protocol
2013-11-06 14:14
471 查看
这个问题发生在用virtualbox装虚拟机后:
当时的情况是这样的:虚拟机内的centos要访问mac宿主机下的共享目录时,在虚拟机centos内的terminal用mount挂载这个共享目录比如说xyz.
错误方法:
sudo mount -t vboxsf /home/XXX/xyz /mnt/hgfs/share
然后报如题的错误:/sbin/mount.vboxsf:mounting failed with the error:protocol
解决办法:
sudo mount -t vboxsf xyz /mnt/hgfs/share
原因是在虚拟机共享目录设置时已经指定了这个文件,所以挂载时只要指定其目录名即可。
当时的情况是这样的:虚拟机内的centos要访问mac宿主机下的共享目录时,在虚拟机centos内的terminal用mount挂载这个共享目录比如说xyz.
错误方法:
sudo mount -t vboxsf /home/XXX/xyz /mnt/hgfs/share
然后报如题的错误:/sbin/mount.vboxsf:mounting failed with the error:protocol
解决办法:
sudo mount -t vboxsf xyz /mnt/hgfs/share
原因是在虚拟机共享目录设置时已经指定了这个文件,所以挂载时只要指定其目录名即可。
相关文章推荐
- /sbin/mount.vboxsf: mounting failed with the error: Protocol
- /sbin/mount.vboxsf: mounting failed with the error: Protocol
- VirtualBox "/sbin/mount.vboxsf: mounting failed with the error: Invalid argument"解决办法
- /sbin/mount.vboxsf: mounting failed with the error: No such device
- VirtualBox "/sbin/mount.vboxsf: mounting failed with the error: Invalid argument"解决办法
- Win10x64下Vbox安装Ubuntux64共享文件夹报错:/sbin/mount.vboxsf: mounting failed with the error: Protocol error
- XP下Virtualbox虚拟Ubuntu共享文件夹设置(mounting failed with the error: Protocol error)
- XP下Virtualbox虚拟Ubuntu共享文件夹设置(mounting failed with the error: Protocol error)
- XP下Virtualbox虚拟Ubuntu共享文件夹设置(mounting failed with the error: Protocol error)
- XP下Virtualbox虚拟Ubuntu共享文件夹设置(mounting failed with the error: Protocol error)
- XP下Virtualbox虚拟Ubuntu共享文件夹设置(mounting failed with the error: Protocol error)
- XP下Virtualbox虚拟Ubuntu共享文件夹设置(mounting failed with the error: Protocol error)
- Retrieving the COM class factory for component with CLSID … failed due to the following error: 80070005.
- CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......
- Error:Execution failed for task ':app:compileDebugJavaWithJavac'.> Compilation failed; see the compi
- Error:Execution failed for task ':app:compileDebugJavaWithJavac'.> Compilation failed; see the compi
- failed to load resource the server responded with a status of 500 (internal server error)
- Compiler Error Message: The compiler failed with error code 128. 的问题解决
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- 树莓派启动:ERROR: The partition with /var/lib/mysql is too full! failed!