Page 1 of 1

Unable to unstall virtualbox in ubuntu 9.04 64bit

Posted: 21. Aug 2009, 10:06
by siuchi
I have no problem with using ubuntu and virtualbox before.
I rebooted my machine. And i cant use the it again. Below is the error message.
PLease help me, i had 8 vms was running. But they all can't use now. Many of Thanks


Error! Your kernel source for kernel 2.6.28-15-server cannot be found at
/lib/modules/2.6.28-15-server/build or /lib/modules/2.6.28-15-server/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

Re: Unable to unstall virtualbox in ubuntu 9.04 64bit

Posted: 21. Aug 2009, 19:49
by Sasquatch
You don't have the linux-headers-server package installed. Without it, you can't create kernel modules. See my Howto: Install Linux Guest Additions + Xorg config section Preparations for what you need to be able to build kernel modules. You can skip the rest of the howto, as it is about the GA, and you're still on the Host.