Boot Sequence
- The bootloader (e.g. GRUB) loads the kernel image.
- Arch-specific boot code initializes the CPU and essential peripherals.
- Kernel initializes subsystems: debugging, memory, process, thread, etc. (kernel/1. boot.c)
- Kernel creates the very first userland process from bootfs.
- The first userland process (typically
vm
) spawns servers from bootfs.