====== Gentoo VMWare ======
* [[Gentoo]]
* [[VMWare]]
* [[https://wiki.gentoo.org/wiki/VMware_Player|Gentoo Wiki: VMWare Player]]
==== Setup Gentoo as a VMWare Guest ====
=== VMWare Host ===
Set up the new guest as a 2.6 Linux guest.
=== Kernel ===
I'm using gentoo-sources 3.8.13 for the kernel. Kernel config located [[http://beandog.org/gentoo/vmware/3.8.13-gentoo.config|here]].
=== vmware-tools ===
You can use the ISO tools that ship with VMWare or you can install them from portage. I recommend portage, since they are newer.
flaggie app-emulation/vmware-tools +vmware_guest_linux
emerge vmware-tools --autounmask-write
The ebuild will provide an ISO that has a tarball of the tools to install.
**Note:** The vmware-tools-9.2.3.1031769 ebuild provides VMwareTools-9.2.3-1031360.tar.gz.
mount -t iso9660 -o loop /opt/vmware/lib/vmware/isoimages/linux.iso
tar xf VMwareTools-9.2.3-1031360.tar.gz
cd vmware-tools-distrib/
perl vmware-install.pl
The init script doesn't run with Gentoo's init system, so add a local entry to start it on boot:
echo /etc/init.d/vmware-tools start > /etc/local.d/vmware-tools.start
echo /etc/init.d/vmware-tools stop > /etc/local.d/vmware-tools.stop
chmod +x /etc/local.d/vmware-tools.*
Reboot the server so the vmtools daemon starts properly.
To see if you have the latest version, check the downloads page [[https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/5_0|here]]. The "VMware Player for Linux 64-bit" bundle details will give the latest build number. That number matches the ebuild version.