VMware Player ubuntu与windows主机共享文件夹

技术 · 01-22 · 213 人浏览
  1. VMware Player编辑ubuntu虚拟机设置,选项,共享文件夹,总是允许,添加选择windows目录。
  2. 在ubuntu终端输入

vmware-hgfsclient

  1. 手动挂载

vi /etc/fstab

增加如下配置:

.host:/ /mnt fuse.vmhgfs-fuse allow_other,defaults 0 0

如下:

 /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda3 during installation
UUID=a56c4a3e-28be-4caa-b10f-b8ac36a0c790 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
.host:/ /mnt fuse.vmhgfs-fuse allow_other,defaults 0 0
UUID=9B9D-E56F  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

豫ICP备17047052号-1