HsinTsao

VMware下Linux虚拟机与Windows主机共享文件夹

1. 安装vm-tool

2. 开启共享文件夹
虚拟机->设置->选项->共享文件夹”右边选择“总是启用
image

还是空白就添加一个共享文件夹
上面填主机需要共享的文件夹
下面填共享文件夹名字
image

如果你不能选择共享文件夹(灰色)那么你只能重新安装VMware Tools了

3. 进入Linux 查看挂载目录/mnt/hgfs
cd /mnt/hgfs
如果有共享文件夹就完事了
如果没有尝试一下命令
vmware-hgfsclient
查看自己的共享文件夹
mount  -t  vmhgfs .host:/pyServer  /mnt/hgfs
pyServer是我自己的共享文件夹的名字

如果出现Error: cannot mount filesystem: No such device
mount -t vmhgfs-fuse .host:/pyServer  /mnt/hgfs
如果出现unknown filesystem type \'vmhgfs\'

image

vmhgfs -fuse .host:/ /mnt/hgfs

分类:

技术点:

相关文章:

  • 2022-01-08
  • 2021-07-14
  • 2021-05-17
  • 2022-01-29
  • 2021-08-23
  • 2022-01-08
猜你喜欢
  • 2022-12-23
  • 2021-07-01
  • 2021-04-25
  • 2021-06-10
  • 2022-01-08
  • 2021-08-13
  • 2022-01-08
相关资源
相似解决方案