Thanks gapan! Supports my Z97-E motherboard well.
After installing Salix and these kernel packages, I compiled the latest Nvidia kernel module/drivers, and had to perform a couple of extra steps which I'm listing below for anyone else in the same situation. These instructions refer to a fresh installation: you might need to adjust slightly for your purposes.
In the absence of a kernel-source package for the 4.1.4 kernel, we need to download the source for the kernel and extract it to /usr/src/
Code: Select all
wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.4.tar.xz
sudo tar xf linux-4.1.4.tar.xz -C /usr/src/
sudo ln -sf /usr/src/linux-4.1.4 /usr/src/linux
Now some files need to be created so the the Nvidia installer can successfully compile the kernel module. To do that, we also need the kernel config, which can be found under /proc
Code: Select all
sudo zcat /proc/config.gz > /usr/src/linux/.config
cd /usr/src/linux
#Fixes error "include/generated/autoconf.h or include/config/auto.conf are missing"
sudo make oldconfig && make prepare
#Fixes a further error regarding missing scripts
sudo make scripts
Now it should be possible to run the Nvidia installer successfully. It was for me at least
On a side note, I initially made the mistake of thinking that the reason it wasn't installing was that I also needed the kernel-headers package for 4.1.4. They are NOT necessary; upgrading the headers would also require upgrading glibc. The kernel-headers provided with the default install are all that are required.