1. Install software needed by VMware Tools
- Check if perl is installed in the VM
perl -v
- If If perl is not installed, run:
pkg_add -r perl
2. Prepare and install VMware Tools
Choose one of a), b), c) or d).
a) If you are running the VM inside VMware Workstation 5.5
- From VMware Workstation: go to VM> Install VMware Tools
- From the VM: mount the virtual cd drive
mount /cdrom/
- Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /cdrom/vmware-freebsd-tools.tar.gz
- Unmount the virtual cd drive
umount /cdrom/
- Now run the installer
cd /tmp/vmware-tools-distrib ./vmware-install.pl
- When asked Do you want to run vmware-config-tools.pl?, answer “Yes”.
b) If you have VMware-workstation-5.5.3-34685.tar.gz on disk
- Make sure VMware-workstation-5.5.3-34685.tar.gz is on disk inside the VM.
- Extract the VMware Tools iso
tar --strip-components=3 -zxvf VMware-workstation-5.5.3-34685.tar.gz \ vmware-distrib/lib/isoimages/freebsd.iso
- Create a temporary mount point
mkdir /mnt/vmtools-temp
- Prepare to mount the image
mdconfig -a -t vnode -f freebsd.iso -u 1
- Do the mount
mount -t cd9660 /dev/md1 /mnt/vmtools-temp
- Copy VMware Tools from the mount
cp /mnt/vmtools-temp/vmware-freebsd-tools.tar.gz /tmp/
- Extract VMware Tools to /tmp/
tar -C /tmp -zxvf /mnt/vmtools-temp/vmware-freebsd-tools.tar.gz
- Tidy up
umount /mnt/vmtools-temp mdconfig -d -u md1 rmdir /mnt/vmtools-temp rm freebsd.iso
- Now run the installer
cd /tmp/vmware-tools-distrib ./vmware-install.pl
- When asked Do you want to run vmware-config-tools.pl?, answer “Yes”.
c) If you have vmware-freebsd-tools.tar.gz on disk
- Extract VMware Tools to /tmp/
tar -C /tmp -zxvf vmware-freebsd-tools.tar.gz
- Now run the installer
cd /tmp/vmware-tools-distrib ./vmware-install.pl
- When asked Do you want to run vmware-config-tools.pl?, answer “Yes”.
d) If you cannot do any of these
- Download VMware Workstation Trial (free) from
http://www.vmware.com/download/ws/ - Go to If you have VMware-workstation-5.5.3-34685.tar.gz on disk, above.