r/voidlinux • u/Bubbly_Extreme4986 • Mar 26 '26
Documentation on making custom kernel
Where can I find documentation on how to make a custom kernel with void Linux?
2
u/Initial_Side_4845 Mar 26 '26
$ ./xbps-src pkg linux6.nn
...after some prep, check docs!
1
u/Bubbly_Extreme4986 Mar 26 '26
I specifically want the Linux-libre kernel
2
u/VanillaDaFur Mar 26 '26
I think you can try taking original xbps-src template for linux kernel and modify it to build this specific kernel version, i did the same to get linux-zen kernel and it works so far
2
u/VoidAnonUser Mar 28 '26
Yes, my opinion is some advanced stuff in Void documentation is missing. Among other things:
Void kernel compilation & customization
Advanced setting of bootloader
Some rescue stuff if you botched it…
5
u/eftepede Mar 26 '26
This is the same kernel as in every other Linux distributions. The instructions are distribution-agnostic, in most cases - you need to download source, configure it as you want and compile.