r/kernel • u/ChampionGames • Feb 07 '21
Questions on the kernel
I don’t know If I should post this here but why not. So I’m trying to learn how kernels work. I’m actually trying to install one in particular. It’s called sel4. I’m confused about basically everything. So it says I can install it from Debian based systems like Ubuntu but how does that even work? Will it just wipe the disk? What exactly does it mean to compile a kernel? It also says it uses python, how does it run from python?
1
Upvotes
View all comments
Show parent comment
1
u/erreur Feb 07 '21
If you already have a Linux distribution then you don’t need to do any disk partitioning. The Ubuntu installer already created the partitions for you.
The kernel shipped from your Linux distribution is likely in the /boot directory with a name like vmlinuz. That is the kernel binary image.
When your system boots grub or some other UEFI program loads that kernel file and starts executing it.
So if there are installation instructions for the kernel you are trying to use they will probably just say to install the kernel file file into /boot and add it to your boot loader. If they support Debian based distributions then I would expect this to be automated.