After upgrading to Ubuntu9.04, the kernel is upgraded to 2.6.28-14-generic. Check uname-a: Linuxubuntu2.6.28-12-generic #43-effectusmpfrimay119: 27: 06UTC2009i686GNU/Linux. At this time, the original drv of vb is unavailable. Reinstallvirtualbox-ose-source arrived
After upgrading to Ubuntu 9.04, the kernel is upgraded to 2.6.28-14-generic. View uname-:
Linux ubuntu 2.6.28-12-generic # 43-Ubuntu SMP Fri May 1 19:27:06 UTC 2009 i686 GNU/Linux
In this case, the original drv of vb is unavailable. Reinstall virtualbox-ose-source: An error occurred while compiling drv:
Error! Your kernel source for kernel 2.6.28-12-generic cannot be found
/Lib/modules/2.6.28-12-generic/build or/lib/modules/2.6.28-12-generic/source.
Never think that this is for you to download l source code ~ At that time, as long as the first install linux-headers-2.6.28-12-generic this package is good!
Moreover, after installing the headers package, it will automatically trigger the compilation of the vb drv-which is of course the credit of the dkms package.