Updating VMWare after new Kernel

less than 1 minute read

As I am running Ubuntu, I get kernel updates automatically.. This is cool and fine except that VMWare is built for each kernel. Once the kernel is updated VMWare stops.

Its not like I use VMWare every day, but its still a hassle to remember what to do when the kernel is updated.

So here are the steps..

1. Install the kernel headers

sudo apt-get install linux-headers-2.6.15-27-386

2. Run vmware-config.pl
Answer everyting by default, when it gets to the question about the linux headers enter /usr/src/linux-headers-2.6.15-27-386/include

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.15-27-386/include

Extracting the sources of the vmmon module.

3. Run the newly compiled vmware

steve@steve-laptop:~/downloads/vmware-distrib$ vmware

Your done, simple now you know.. Just as an aside u might have to change the kernel version numbers, this can be identified by running uname -a from a prompt to get the settings.