Skip to content

Instantly share code, notes, and snippets.

@JulesAaelio
Last active January 30, 2018 15:40
Show Gist options
  • Save JulesAaelio/1a4a5d1532b317521fbd3a6a1448df5f to your computer and use it in GitHub Desktop.
Save JulesAaelio/1a4a5d1532b317521fbd3a6a1448df5f to your computer and use it in GitHub Desktop.
[vmware] Enable share folder between debian 9 and host

[VMWARE] Share files between windows host and debian 9

Install open vm tools

sudo apt-get install open-vm-tools

Create the folder and set it up in vmware

  • On the host machine : create a new folder that will contain shared files.
  • On vmware (cf. shared_folder_steps.png below)
    • Select the target virtual machine.
    • Click VM > Settings.
    • Select Option tab.
    • In the left panel select "Shared folder"
    • Select "Always enabled"
    • Click the Add button, follow the steps and click Finish. Be sure to keep "Enable this share" selected.

Mount the shared folder on the virtual machine

  • Connect as root to the virtual machine.
  • Edit the mounting configuration file
nano /etc/fstab 

Add the following line :

.host:/<vmware_name_of_the_transfer>       /mnt/<name_of_destination_file>   fuse.vmhgfs-fuse defaults  0       0
  • Save with Ctrl+O and Ctrl+X
  • Reboot the machine :
systemctl reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment