Install VBoxdrv on custom kernel
Posted: 15. May 2009, 23:05
So I built a custom kernel and installed it with:
make
make modules
make modules_install install
mv -r 2.6.29.2 /usr/src
ln -s 2.6.29.2 linux
Now I am trying to install a VirtualBox 2.2 and it cannot create the module. It says "the kernel source cannot be found at /lib/modules/2.6.29.2/build or lib/modules/2.6.29.2/source."
I made a new symlink to changing lib/modules/2.6.29.2/build and ~/source to /usr/src/2.6.29.2 but vboxdrv still will not build. It fails with "modprobe vboxdrv failed. please use 'dmesg' to find out why", but my dmesg log does not show anything relating to VBox. Is there something else I am supposed to do? The vbox-install log log shows nothing wrong since I made the symlinks, DKMS installs fine.
make
make modules
make modules_install install
mv -r 2.6.29.2 /usr/src
ln -s 2.6.29.2 linux
Now I am trying to install a VirtualBox 2.2 and it cannot create the module. It says "the kernel source cannot be found at /lib/modules/2.6.29.2/build or lib/modules/2.6.29.2/source."
I made a new symlink to changing lib/modules/2.6.29.2/build and ~/source to /usr/src/2.6.29.2 but vboxdrv still will not build. It fails with "modprobe vboxdrv failed. please use 'dmesg' to find out why", but my dmesg log does not show anything relating to VBox. Is there something else I am supposed to do? The vbox-install log log shows nothing wrong since I made the symlinks, DKMS installs fine.