Last active
June 25, 2023 04:21
-
-
Save rdbox/6ae946461e29da8a17aaab8d9b48530d to your computer and use it in GitHub Desktop.
Ubuntu guest VMware shared folders vmhgfs-fuse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Данные Команды добавляют в автозагрузку shared folders VMware | |
# Вариант 1. | |
a. Install open-vm-tools, apt-get install open-vm-tools. | |
b. Install open-vm-tools-dkms, apt-get install open-vm-tools-dkms. | |
c. Run /usr/bin/vmware-hgfsclient, it will display your shared folder. | |
d. Update your /etc/fstab using the details below: | |
.host:/{shared-folder} /{path-to-mount-on} vmhgfs defaults,ttl=5,uid=1000,gid=1000 0 0 | |
e. Restart VMware | |
f. Run mount -t vmhgfs .host:/[your_shared_folder] /mnt/hgfs | |
g. To check whether mounting is successful, run df -kh | |
# Вариант 2. | |
.host:/vmshared /mnt/hgfs fuse.vmhgfs-fuse allow_other,uid=1000,gid=1000,auto_unmount,defaults 0 0 | |
sudo vmhgfs-fuse -o allow_other -o auto_unmount -o uid=1000 -o gid=1000 .host:/shared_folder /mnt/shared_folder |
Super helpful. Thank you! I used this to auto-mount my company OneDrive folder on my Window host into the /home/{usr} directory of my Linux VM.
I'm glad it helped you good developments))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Super helpful. Thank you! I used this to auto-mount my company OneDrive folder on my Window host into the /home/{usr} directory of my Linux VM.