Linux Kernel
Slackware recently change it philosophy for linux kernel builds.
R.I.P:
- huge-kernel
- initrd.gz
Welcome:
- dracut
- modules_build_in
- remove-orphaned-initrds
- kernel-backup
And more good news or bad for some are here…
As heretics what will provided here are some alternatives you might want…
backup_custom kernel
If you want a traditional builded backup kernel just in case… You can use SBKS
requires: kdialog
READ script first and then add it in your $PATH, I have it in /usr/local/bin
or just run it as root always…
It will build a backup kernel that slackpkg will not delete when officially kernel upgrade comes in.
Tip
Build NVIDIA drivers in this backup kernel sh NVIDIA-xxxx.sh
. Then boot in stock kernel and install only nvidia modules for stock kernel
sh NVIDIA-xxxx.sh -K
This way if you are on current, always you will have nvidia drivers installed in your backup kernel and on first boot of new stock kernel only need to command sh NVIDIA-xxxx.sh -K
ZEN kernel
Check Current Minimal Requirements to build and run a zen kernel.
HOWTO Build zen kernel + Headers in Slackware
Everything you need is HERE
kernel-xanmod1
README:
- KERNEL_CONFIG=config-generic-x.y.z-xanmod1.x64 VERSION=x.y.z-xanmod1 /bin/bash kernel-source.SlackBuild
- installpkg /tmp/kernel-source-x.y.z-noarch-1.txz
- ./kernel-xanmod.SlackBuild
- installpkg /tmp/kernel-xanmod1-x.y.z-znver3-1.txz
- ./kernel-headers.SlackBuild
- upgradepkg –reinstall –install-new /tmp/kernel-headers-x.y.z-x86-1.txz
- grub-mkconfig -o /boot/grub/grub.cfg
- sh /usr/share/mkinitrd/mkinitrd_command_generator.sh -k x.y.z-xanmod1 -a “-o /boot/initrd-x.y.z-xanmod1.img”
Dowonload SlackBuild HERE