Vbox error

Discussions related to using VirtualBox on Linux hosts.
Post Reply
robdob
Posts: 1
Joined: 16. Oct 2016, 19:28

Vbox error

Post by robdob »

Hello and thanks for the help!

I have a fresh live kali light install, updated and all, no issues.

Now I need virtualbox and it's giving me loads of headaches.

I get the following message. After I try various solutions on the web, it just changes slightly the requests but the first part is always the same.

WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-amd64.

You will not be able to start VMs until this problem is fixed.
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

DKMS is installed.
I've tried purging and reinstalling. I've installed it from kali sources, from virutalbox sources and from binary. The result is the same. I've also tried various online solutions to this seemingly commong problem but to no avail.

I see something potentially weird though.

dpkg -l | grep linux-headers produces the following:

ii linux-headers-4.7.0-kali1-amd64 4.7.5-1kali3+b1 amd64 Header files for Linux 4.7.0-kali1-amd64
ii linux-headers-4.7.0-kali1-common 4.7.5-1kali3+b1 amd64 Common header files for Linux 4.7.0-kali1
ii linux-headers-amd64 4.7+75+kali1 amd64 Header files for Linux amd64 configuration (meta-package)

uname -r does this:
4.6.0-kali1-amd64

When I try apt-get install linux-image-4.7.0-kali1-amd64 I get:

Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-4.7.0-kali1-amd64 is already the newest version (4.7.5-1kali3+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I would aprreciate this very much
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Vbox error

Post by Perryg »

Just because a kernel is installed does not mean that it is booting to that kernel. This is done with the boot loader. See kali on how to fix this as it is an OS issue not a VirtualBox one.
Post Reply