Additional Kernels
Linux-next
As always, update first:
sudo pacman -Syu
Next check what all depends on linux in your system:
pacman -Qi linux
Look for the line “required by=”, anything there needs the -next version, ignore only tomoyo-tools, there is no need for an extra -next version for tomoyo.
To install the latest kernel:
sudo pacman -S linux-next
and add any other -next version you had of packages in the “required by” line, examples linux-next-headers, nvidia-next.
After all is installed regenerate grub (for BIOS installs):
sudo grub-mkconfig -o /boot/grub/grub.cfg
On reboot, linux-next will be the default kernel to boot into, stable kernel is still an available choice. Do not remove the stable kernel, much better to always have two options for kernels to boot into.
For UEFI installs, add a new file to /boot/loader/entries by opening Dolphin and navigate to /boot/loader/entries.
Select KaOS_<year>.<month>.conf
to open in Kate
and edit the linux and initrd line to read as:
linux /vmlinuz-linux-nextinitrd /initramfs-linux-next.img
Save as KaOS-next.conf (or add the
kate /boot/loader/loader.conf
change KaOS to KaOS-next. Or highlight the linux-next entry in the bootloader menu and type d
to make it default.