2009-08-05

Share folder of Debian VM

VM guest and host share data by hgfs service.
Eniviroment:
  • Host: WindowsXP
  • Guest: Debian 5.0 Lenny Server
  • VMware: VMware player 2.5.2
1) Install vm tools in Debian VM. Or directly download a Vmware Tools installed Appliance.
2) Check the boot log, if VMTools deamon is started.
2) Edit *.vmx, add following text in the end.

isolation.tools.hgfs.disable = "FALSE"
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "D:\work\share\"
sharedFolder0.guestName = "win-share"
sharedFolder0.expiration = "never"
sharedFolder.maxNum = "1"

3) Enable the share fold by menu:
VMware Player->Share folders->Always enable

share folder is found at /mnt/hgfs/${sharedFolder0.guestName}

No comments:

Post a Comment