自动在Linux Guest VMWare Player中挂载共享文件夹

时间:2018-11-13 15:49:16

标签: fstab

我正在尝试在vmware Player中的Linux guest虚拟机中挂载共享文件夹。如果我将此行放在/ etc / fstab文件中,则Ubuntu Linux guest虚拟机将无法启动:

.host:/ /home/tdunphy/Desktop/ vmhgfs defaults 0 0

为了正常启动linux主机,我必须进入紧急模式并从fstab中删除该行。

如果我使用mount -fav运行安装检查,我会得到以下提示:

This command is intended to be run from within /bin/mount by

passing the option '-t vmhgfs'. For example:
  mount -t vmhgfs .host:/ /mnt/hgfs/
  mount -t vmhgfs .host:/foo /mnt/foo
  mount -t vmhgfs .host:/foo/bar /var/lib/bar

如何在vmware player的linux guest虚拟机上自动挂载共享文件夹?

0 个答案:

没有答案