解决VMware重新打开后找不到共享文件夹的问题

1.确保VMware设置了总是启用共享文件夹且文件夹名称对应

2.linux上输入以下命令

sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other

3.再次进入/mnt/hgfs查看

 

4.设置自动挂载共享文件夹

echo '.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0' | sudo tee -a /etc/fstab

若设置后重启系统进不去桌面,则登录root后检查/etc/fstab 

posted @ 2025-04-01 17:42  仓俊  阅读(1306)  评论(0)    收藏  举报