主机文件夹设置
kali Debian与主机共享文件

kali/ Debian与主机共享文件:
https://blog.csdn.net/Jiajiajiang_/article/details/83540791

出错: Error: cannot mount filesystem: No such device
发现是VMWare tools后/mnt中有hgfs但没共享文件
解决安装VMWare tools后/mnt中有hgfs但没共享文件
此时在linux中进入 /mnt/hgfs 文件夹,但发现共享的文件没有显示
使用以下办法解决(root权限):

  1. vmware-hgfsclient 命令查看当前有哪些共享的目录,这里我只使用了share文件夹

  2. 使用 mount -t vmhgfs .host:/share /mnt/hgfs 命令挂载该共享文件夹 其中.host:/Documents是共享名,只需把Documents换成
    用vmware-hgfsclient 命令得到的目录,/mnt/hgfs是挂载点
    借鉴:https://blog.csdn.net/cindy_cheng/article/details/50456977
    如果每次重启之后想让系统自动挂载
    #vi /etc/fstab: 在最后添加一行: .host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0

相关文章:

  • 2021-05-09
  • 2021-05-24
  • 2021-12-14
  • 2021-12-14
  • 2021-07-14
猜你喜欢
  • 2021-06-04
  • 2021-12-07
  • 2021-12-13
  • 2021-12-18
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
相关资源
相似解决方案