VirtualBox Kernel Issues

6 replies [Last post]
grimlok
Offline
Joined: 04/16/2013

Hello all. I updated my kernel to the newest GNU kernel from jxself and I am getting this error when trying to install virtualbox:

Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 4.2.0-gnu cannot be found at
/lib/modules/4.2.0-gnu/build or /lib/modules/4.2.0-gnu/source.
...failed!

Any ideas?

grimlok

mYself
Offline
Joined: 01/18/2012

VirtualBox 5.0.4 has a fix for Linux 4.2 so you might just try and check it out.

Legimet
Offline
Joined: 12/10/2013

Or you can use virt-manager.

lovesong
Offline
Joined: 09/11/2015

Today I tried KVM & QEMU. Yes, it is much easier.

For my case, I need an extra argument '-show-cursor' as in following

$ sudo kvm -m 1024 -cdrom trisquel_7.0_amd64.iso -show-cursor -boot d trisquel.img

grimlok
Offline
Joined: 04/16/2013

The solution I found was to do this command:

sudo apt-get install linux-headers-`uname -r`

and then run this:

sudo /etc/init.d/vboxdrv setup

Thanks all for your suggestions though!

grimlok