VirtualBox Missing Kernel Header Image Fix
The following is a series of steps I took in order to fix Virtual-Box 4’s missing kernel image error.
First you are going to update source
sudo apt-get update
Next you are going to search for the kernel version
apt-cache search linux-headers-$(uname -r)
Now we install the linux-header package
sudo apt-get install linux-headers-$(uname -r)
Once the package has been installed, you are ready to move on to the vbox steps
First you’ll have to install dkms
sudo apt-get install dkms
Then we tell virtual box to rebuild
sudo /etc/init.d/vboxdrv setup
That is it, once this is done you’ll be able to run virtual-box 4 again
(Source: cyberciti.biz)