Skip to content

guidance on implementing custom loaders #162

@orangecms

Description

@orangecms

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions