Quick Guide: Installing VMware Tools with Fedora 12

Running on vSphere 4.1, I installed a VM with Fedora 12 on it (Kernel version: 2.6.32.21-168.fc12.x86_64) and when I tried to install VMware Tools, I kept  getting an error at the step that said:
“What is the location of the directory of C header files that match your running kernel?”

There are countless posts around the internet with people looking for help with this.

I searched and searched online but could not find a solution that worked for me, until I came across this site, which I followed and it worked perfectly!
http://www.crazyhawt.com/2010/01/25/quick-guide-installing-vmware-tools-with-fedora-12/

The steps are copied below for reference (from the above site).

  1. Download Fedora 12.
  2. Install the OS.
  3. Boot up the virtual machine.
  4. Open up the Terminal.
  5. Run “su” and type your root password to gain administrative control.
  6. Run “yum update” to update all the packages to the newest version.
  7. Reboot.
  8. Open up the Terminal.
  9. Run “yum install kernel-devel kernel-headers gcc mkinitrd”
  10. Reboot.
  11. Click the menu option in your VMware application to install VMware tools. This should put a compressed folder on the desktop.
  12. Expand the zip file and using the terminal, navigate into the newly created directory.
  13. As the root user, type “./vmware-install.pl”
  14. When it asks you questions and prompts you for a response, just hit enter. Everything should be properly configured at this point.
  15. Reboot when the script finishes. That’s it!
This entry was posted in vSphere and tagged , , by virtualdennis. Bookmark the permalink.

About virtualdennis

I have over 18 years helping small to large enterprise businesses nationwide with their enterprise storage, backup and recovery, disaster recovery and system virtualization solutions. He holds numerous storage and virtualization certifications and has personally delivered over 300 complex enterprise solution implementations. He has been privileged to speak at various national events on the topics of datacenter virtualization, end-user virtualization, hyper-converged infrastructure and disaster recovery.

2 thoughts on “Quick Guide: Installing VMware Tools with Fedora 12

  1. While booting itself I am getting the below error
    “Installing VMware Tools, please wait….
    mount: special device /dev/hda does not exist
    mount: no medium found on /dev/sr0
    mount: no medium found on /dev/sr0
    mv: cannot stat ‘upgra32’ : No such file or directory
    mv: cannot stat ‘upgra64’ : No such file or directory
    mv: cannot stat ‘upgrade.sh’ : No such file or directory
    unmount: /tmp/vmware-toolsmnt0: not mounted
    eject: unable to find or open device for: ‘/dev/1”

    and VMware tools keeps on getting downloaded..

    What will be the error

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s