Vmware不显示共享文件夹 fuse: missing mountpoint parameter | 您所在的位置:网站首页 › 搜索不到共享文件夹的文件怎么回事 › Vmware不显示共享文件夹 fuse: missing mountpoint parameter |
vmware下安装ubuntu 18.04后,按往常的惯例安装vmware-tools,安装时提示建议使用open-vm-tools,于是放弃vmware-tools的安装,尝试使用open-vm-tools 首先安装open-vm-tools sudo apt-get install open-vm-tools安装时,apt提示建议安装open-vm-tools-desktop,一不做二不休,一起装了吧 sudo apt-get install open-vm-tools-desktop之前在虚拟机上已经设置了共享文件夹,现在通过下面的命令就可以看到已经设置好的共享文件夹名 vmware-hgfsclient然后根据wiki.archlinux.org上找到的教程配置共享文件夹 进入/etc/systemd/system目录 cd /etc/systemd/system创建一个文件,我这里命名为mnt.hgfs.service sudo gedit ./mnt.hgfs.service填入下面的内容,为了方便,就不单独配置各个共享文件夹了,直接将所有共享文件夹mount到一个目录下 [ Unit] Description= Load VMware shared folders Requires=vmware-vmblock-fuse. service After=vmware-vmblock-fuse. service ConditionPathExists=. host:/ ConditionVirtualization=vmware [ Service] Type=oneshot RemainAfterExit=yes ExecStart= ExecStart= /usr/bin/vmhgfs-fuse -o allow_other -o auto_unmount . host: / /mnt/hgfs [ Install] WantedBy=multi-user. target保存后,用systemctl命令使能这个service sudo systemctl enable mnt.hgfs.service如果没有创建/mnt/hgfs文件夹,需要创建 sudo mkdir -p /mnt/hgfs重启后检查共享目录是否已经挂载到/mnt/hgfs目录下了 © 著作权归作者所有https://my.oschina.net/u/1158620/blog/712253 |
CopyRight 2018-2019 实验室设备网 版权所有 |