Skip to content

Additional Kernels

Linux-next

As always, update first:

Update System
sudo pacman -Syu

Next check what all depends on linux in your system:

Terminal window
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:

Terminal window
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):

Terminal window
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:

Terminal window
linux /vmlinuz-linux-next
initrd /initramfs-linux-next.img

Save as KaOS-next.conf (or add the . part to it too), and you will have the choice to boot from linux-next in the systemd-boot menu. To make it default, edit:

Terminal window
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.