Hello! Recently, I've been trying to make a custom ISO for an Artix ISO that I want to use for my laptop that comes with some patches. I was wondering if there was a way to implement another kernel into the ISO with buildiso. I've tried chrooting in, removing the old kernel, and then using the new kernel but that causes many problems, e.g: I can't load my kernel modules. The iso also just loads in with the old kernel which I thought was deleted which is very weird. Are there any ways in order to try and use my own kernel for the Artix ISO with buildiso?
read arch wiki : https://wiki.archlinux.org/title/archiso#Kernel
You have to make a custom local repo with your patched kernel package and add that repo to the pacman.conf
buildiso uses. Or chroot into the chrootfs of (https://wiki.artixlinux.org/Main/InstallationUsingBuildiso) before squashing the image and manually install your kernel.