VMware and Kernel updates

This week I made my laptop dual boot Windows 7 and Ubuntu 12.11 workstation. This morning I updated the Kernel to 3.5.0-26. After restart I tried running VMWare Player and it failed.

Seems that kernel update did not download update or install the latest lunix-headers that VMWare were missing for the new kernel. I located to command lines to download the the linux-headers.

First I ran the following command to see what version of the kernel I had installed.

uname -r

Next I downloaded the linux-headers for that kernel.

sudo apt-get install linux-headers-3.5.0-26-generic

This downloaded the linix-headers for 3.5.0-26 and 3.5.0-26-generic. The files that I needed were added to the /usr/src/ folder.

I then tried to run VMWare Player again. It asked me here the header files were for the kernel were. The application allowed me to browse to the folder /usr/src/linux-headers-3.5.0-26-generic/ and select it. Then VMWare Player used those linux-header files to compile to the code it needed.

Once completed I was able to start and run VMWare Player.