Linux-Libre Kernel Headers
Hey all,
I was wondering where I could pick up the kernel headers for the newest iterations of the linux-libre kernel. I used to be able to get it by using this command: sudo apt-get install linux-headers-`uname -r` but it says they are nowhere to be found. The reason for doing this is to make VirtualBox work.
Any help would be appreciated.
Thanks,
grimlok
Help? :-)
Hello. I am not sure of what you mean.
You can install jxself kernel
https://jxself.org/linux-libre/
Or if that is not what you need, perhaps look at this
https://www.fsfla.org/ikiwiki/selibre/linux-libre/
Hope that helps :)
It's the kernel header files I guess. VirtualBox uses them to interface with the kernel. Everytime Linux-Libre updates I need to run that command so that my system has the most up-to-date version of the header files. The most current versions of the kernel does not seem to have them in the repository though. So I was wondering where and how I can go about getting them.
https://kernelnewbies.org/KernelHeaders
grimlok
If you're using the kernel package from my repository you get the headers automatically.
Also, you know that VirtualBox has freedom problems right? Not all of it can be compiled with a free compiler. Debian has moved it out of their Main repository for this reason. So for your freedom's sake please use something else.
Is there something other than VirtualBox? Unfortunately I need to use it to access some things at work being that I work in a ::cough:: ::cough:; Windows environment... How do I check where the headers are? Because when I run the command 'sudo /etc/init.d/vboxdrv setup' it tells me my system isn't set up to build kernel modules. And then refers me to apt-get for said kernel headers which then fails for my particular version of the kernel.
I am running the 4.8.11 linux-libre kernel.
Like I said, this wasn't a problem with earlier versions and I can see that there are earlier and later versions listed when I run 'sudo apt-get install linux-headers'
And I am using your repository Jason.
Thanks again!
grimlok
Is it Guest Additions that won't work without the headers or what?
I am trying to just run my windows 7 vm and it gives an error stating the kernel drivers are not installed, and it needs the headers to install them.
How about this then.
http://www.binarytides.com/fix-vbox-kernel-driver-error/
sudo apt-get install build-essential module-assistant
That needs the kernel headers too:
grimlok@alpha-trion:~$ sudo m-a prepare
Getting source for kernel version: 4.8.11-gnu
apt-get install linux-headers-4.8.11-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.8.11-gnu
E: Couldn't find any package by regex 'linux-headers-4.8.11-gnu'
Oh you're on 4.8? Support for the 4.8 series was discontinued back in January and the packages for it have since been removed from my APT repository so there's nothing for the package manager to find.
Currently supported versions can be found on https://jxself.org/linux-libre/ in the part where it says "current and upcoming kernel versions to know about."
Please upgrade to a supported kernel version. If you install one of the packages listed from the chart where it says "please continue reading to find the use case that most closely describes what you want" then you should be fine.