折雨的天空
问题:fusermount: user has no write access to mountpoint /mnt/hgfs与问题:无法定位软件包 open-vm-dkms
2018-12-25 我好笨


vmware里共享主机文件夹给虚拟机使用,系统是ubuntu18的



参考:



https://bbs.csdn.net/topics/350258010



这篇文章里的,对于ubuntu18来说不行。



然后又参考文章:



https://blog.csdn.net/kulala082/article/details/67635198







这篇文章中命令可以了,主要使用以下命令,首先是安装工具包,不再是open-vm-dkms







我是使用的:



apt-get install open-vm-*



挂载命令:







正确的是:
使用命令: sudo mount -t fuse.vmhgfs-fuse .host:/VM_Shared  /mnt/hgfs -o allow_other(如果卸载,就把mount -t换成umount -a)
或sudo vmhgfs-fuse .host:/VM_Shared /mnt/hgfs
 (其中.host:/Documents是共享名,只需把Documents换成使用vmware-hgfsclient 命令得到的目录,/mnt/hgfs是挂载点。)

如果每次重启之后想让系统自动挂载 #vi /etc/fstab:
在最后添加一行:
.host:/VM_Shared /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0








评论:
NN
2019-11-17 12:04 回复
.host:/VM_Shared /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0   这个添加之后系统进不去了呢
我好笨
2019-11-19 17:01 回复
@NN:.host:/VM_Shared 这部分应该是要改成你的文件夹名称的。
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容