Begin main content

Installing vmware tools on Ubuntu Jeos

It's not as easy as you might think.

Firstly, the official vmware tools won't install on kernel versions 2.6.24. Fortunately you can get some simple source patches from http://projects.tuxx-home.at/?id=vmware_updates

Once you've got the modules installed, if you're beady eyed (or analy retentive) you will notice that the network interface is still using the legacy pcnet32 emulation. You see the vmware tools has tried to create a /etc/modules.conf file to configure the hardware, but Ubuntu shed that file a long time ago in favour of modules.d.

You have two simple solutions from what I can see - either edit your .vmx file (the config file on your host machine) by adding the following line:

ethernet0.virtualDev = "vmxnet" 

Or else you can force the kernel to never load the pcnet32 module:

echo "blacklist pcnet32" >> /etc/modules.d/blacklist
modprobe -r pcnet32
update-initramfs -u

Easiest thing to do after that is reboot. You might notice your interface gets loaded as eth1 instead of eth0 (and thus not be configured). This is because vmware may have assigned your new interface a new mac address. Simply delete the ethernet interface lines from /etc/udev/rules.d/70-persistent-net.rules and then:

/etc/init.d/udev restart

Again a restart at this point is simplest.

09:31 PM, 26 May 2008 by Mark Aufflick Permalink | Short Link

Fantastic entry

Thank you so much for sharing. Please keep blogging !! Concise, great analysis. Quality techology posts make the community better. You are making a difference.

by Unregistered Visitor on 11/12/08

Hey thanks

I do try to blog whenever I solve a tricky problem that took me too long to solve. I save many many hours of my life from tips on other blogs, so I only try to do the same. Thanks for the encouragement!

by Mark Aufflick on 11/16/08

Thank you!

I've been searching for this exact information for hours. Thanks a lot!

by Unregistered Visitor on 01/10/09

there's a patch for esx 3.0.3

that gives you a working tools for that kernal

by Unregistered Visitor on 09/22/09

Add comment