Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: 0xtaylor on 16 April 2021, 20:21:44

Title: [Question] How to use a custom kernel for buildiso
Post by: 0xtaylor on 16 April 2021, 20:21:44
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?
Title: Re: [Question] How to use a custom kernel for buildiso
Post by: Arch_user on 03 May 2021, 20:33:43
read arch wiki : https://wiki.archlinux.org/title/archiso#Kernel
Title: Re: [Question] How to use a custom kernel for buildiso
Post by: nous on 04 May 2021, 21:45:19
Are there any ways in order to try and use my own kernel for the Artix ISO with buildiso?
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.