Kernal version problem when installing vb on lubuntu 14.10

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Eric!
Posts: 7
Joined: 30. Mar 2015, 08:52

Kernal version problem when installing vb on lubuntu 14.10

Post by Eric! »

Hi,

I'm using a linux build for a Asus C720 of Lubuntu:
Linux unicorn 3.17.1-031701-generic #201410150735 SMP Wed Oct 15 11:36:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I've tried installing from the repositories and from the .deb packages but I keep running into the problem of the vboxdrv not running:
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.

You will not be able to start VMs until this problem is fixed.
4.3.18_Ubuntur96516
and modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found.
I have the dkms package installed.
ii dkms 2.2.0.3-1.1ubuntu5.14.10 all Dynamic Kernel Module Support Framework
ii virtualbox-dkms 4.3.18-dfsg-2ubuntu1 all x86 virtualization solution - kernel module sources for dkms
I've looked into installing the headers with

sudo apt-get install linux-headers-$(uname -r)
Bu this produces:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-3.17.1-031701-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-3.17.1-031701-generic' has no installation candidate
Anyone know what exactly is going on or what I could try? Should I just install linux-headers-generic?

Thanks!
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Kernal version problem when installing vb on lubuntu 14.

Post by loukingjr »

I've owned an Asus C720 for quite awhile. It doesn't have one of the BIOSes that allow Linux or any other OS to be directly installed. Therefor people use something like ChrUbuntu. The problem is, ChrUbuntu uses the ChromeOS kernel and can't be replaced. There are also no public headers for the ChromeOS kernel that VirtualBox could build from. I don't know of anyway to get VirtualBox running so it can create guests in an Asus C720.

Maybe I missed something new.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Eric!
Posts: 7
Joined: 30. Mar 2015, 08:52

Re: Kernal version problem when installing vb on lubuntu 14.

Post by Eric! »

This C720 is configured to a legacy boot which allows me to dual boat it either with chromeOs or with something else. So the Lubuntu is a full distro install image. (I've also swapped out the SDD to 128G so there is about 100G free for the Lubuntu.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Kernal version problem when installing vb on lubuntu 14.

Post by loukingjr »

Then just be sure to install the matching headers for the running kernel.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Kernal version problem when installing vb on lubuntu 14.

Post by loukingjr »

FWIW, I looked up some info to see if things had changed since I bought my Chromebook and it doesn't appear things have. The only way I can find to "dual boot" a Chromebook is to use ChrUbuntu or Crouton. It is possible to install a different OS altogether by using the SeaBIOS but that doesn't seem to allow dual booting.

I'm not sure where you got the 3.17 kernel from. It's not in the normal Lubuntu 14.10 repos, which means neither are the headers.

When you are in Lubuntu what do you get when you type uname -r in the terminal?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Eric!
Posts: 7
Joined: 30. Mar 2015, 08:52

Re: Kernal version problem when installing vb on lubuntu 14.

Post by Eric! »

3.17.1-031701-generic

Using these mainline packages worked from h t t p : / / kernel DOT ubuntu DOT com should preceed the /~kernel-ppa/ (links not allowed fo new members to post)
curl -O /~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb
curl -O /~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701_3.17.1-031701.201410150735_all.deb
dpkg -i linux-headers-3.17.1-*.deb
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: just about all that run

Re: Kernal version problem when installing vb on lubuntu 14.

Post by loukingjr »

so it's working for you now?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Eric!
Posts: 7
Joined: 30. Mar 2015, 08:52

Re: Kernal version problem when installing vb on lubuntu 14.

Post by Eric! »

Yes. I can bring up a virtualbox image now and do things inside of it with no problems. I'm still having some problems with getting vagrant and a few other tools up and running together with VB the way I want but that is unrelated. Thanks for your help.
Post Reply