book icon indicating copy to clipboard operation
book copied to clipboard

guidance on implementing custom loaders

Open orangecms opened this issue 6 months ago • 0 comments
trafficstars

a loader is just a program that

  • parses config/binary formats
  • loads data to memory
  • uses kexec and reboot syscalls

u-root already has lots of parsers, and different OS kernels have different expectations from the loader, e.g. initial page table setup (FreeBSD, Haiku).

Clarify how instead of chaining a standalone binary a loader is implemented as a Linux userland program for LinuxBoot.

We may want to hint on loading other Linux programs from external sources instead of just kernels.

orangecms avatar May 18 '25 13:05 orangecms