from : https://gist.github.com/un33k/3155934
Enable Shared Folders on vmware Fusion (4.x)+ (Example OS: Linux Ubuntu 12.x as guest OS)1. First update your linux system:sudo apt-get updatesudo apt-get install -y build-essentialsudo aptitude -y safe-upgrade2. Reboot your system just in case you have a new kernelsudo shutdown -r now3. Install the required headers if you have a new kernel (a MUST, as most problems are from headers mismatch)sudo apt-get install linux-headers-`uname -r`4. Virtual Machines -> Install VMware Tools5. Mount the CD-ROM (step "0" has added a CDROM to /dev/cdromX)sudo mkdir /mnt/cdromsudo mount /dev/cdrom(x) /mnt/cdrom # (x) is the next avail. cdrom, choose highest numberNote: If for some reasons, you don't get /dev/cdrom(x), then just look into vmware fusion application directoryand look for a linux.iso. Double click on it and you should see a .tgz file. move the .tgz file to your Linux (scp)and you are ready.6. Copy VMWare Toolscd /tmpcp /mnt/cdrom/VMwareTools-<version>.tar.gz .tar xzvf VMwareTools-<version>.tar.gz7. Cancel VMware Tool InsallationBring your Linux vmware to focusFrom the menu (VirtualMachines -> Cancel VMtool Installation)8. Run VMWare Toolssudo ./vmware-install.pl --defaultNote: If you happend to have upgraded your kernal then just run this insteadsudo ./vmware-install.pl -d --clobber-kernel-modules=vmhgfs이부분이 잴 중요하다!!!!9. Restartsudo reboot10. Verifyls /mnt/hgfs/11. Done! Now enabled shared folders will show up in /mnt/hgfs/
댓글 없음:
댓글 쓰기