Lor*_*ein 16 linux vmware-fusion macos
我刚刚在 VMware Fusion Pro 5 中安装了 Ubuntu 13.04。我将虚拟机配置为只读共享我的主目录,但没有 /mnt/hgfs 目录,也没有 /etc/fstab 行。
我该怎么做才能在 Ubuntu VM 中安装我的 Mac 主目录?
Lor*_*ein 27
出于某种原因,自动安装的 VMWare 工具没有完成这项工作,但 Ubuntu 有一个名为 vmware-hgfsmounter 的工具,如果我安装了它,那么我可以这样做:
sudo apt-get install open-vm-tools
sudo mkdir /mnt/hgfs
sudo mount -t vmhgfs .host:/ /mnt/hgfs
Run Code Online (Sandbox Code Playgroud)
运行这些命令后,/mnt/hgfs 现在应该包含您的共享。
lak*_*tak 11
对于我必须使用的 Ubuntu 16.04 vmhgfs-fuse
,请参阅https://github.com/vmware/open-vm-tools/issues/199#issuecomment-335525133:
这会影响共享文件夹客户端,因为我们已从内核模式组件切换到 FUSE 文件系统组件以提供共享文件夹文件系统。
这会产生一个新的挂载命令,用于创建共享文件系统。对于 Linux 内核版本,我们使用 FUSE 文件系统,这意味着您现在应该使用以下命令:
sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other
Run Code Online (Sandbox Code Playgroud)
小智 11
sudo mkdir /mnt/hgfs
Run Code Online (Sandbox Code Playgroud)
先用上面的命令,再用下面的命令:
sudo /usr/bin/vmhgfs-fuse .host:/ /mnt/hgfs -o subtype=vmhgfs-fuse,allow_other
Run Code Online (Sandbox Code Playgroud)
我在 Ubuntu 18.x 上使用 macOS 和 VMware Fusion。
归档时间: |
|
查看次数: |
65696 次 |
最近记录: |