linuxboot / linuxboot/book

guidance on implementing custom loaders

Open
#162 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
300
Forks
54
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the book's existing loader guidance and the u-root context described in the issue. Explain how a LinuxBoot loader works as a Linux userland program, covering config and binary parsing, loading data into memory, and kexec and reboot syscalls. Also address OS-specific expectations and whether to mention loading other Linux programs from external sources; done when the guidance clearly covers these decisions.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.