osdev-boot-sequence

Community

Build bootloaders that reach kernel entry

AuthorMaelwalser
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a concise, reliable reference for taking an x86 or x86-64 machine from power-on through firmware handoff into a running kernel, removing guesswork about mode transitions, memory layout, and bootloader expectations.

Core Features & Use Cases

  • Firmware-to-kernel flow: Clear BIOS (MBR) and UEFI boot sequences and their differences so you can choose the appropriate strategy.
  • Multiboot and headers: Exact Multiboot v1/v2 header placement, checksum rules, and verifier guidance for GRUB-compatible kernels.
  • Mode transitions and paging: Step-by-step real→protected→long mode transitions, A20 handling, GDT setup, and higher-half kernel paging/linker layout.
  • Use case: Assemble a Multiboot-compliant kernel image, verify header placement, enable A20, set up page tables and GDT, then jump into kernel_main with a correct stack and memory map.

Quick Start

Prepare a kernel binary with a multiboot header in the first 8 KiB, ensure A20 is enabled, load and identity-map low memory, enable protected/long mode as required, and then transfer control to your kernel entry.

Dependency Matrix

Required Modules

None required

Components

references

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: osdev-boot-sequence
Download link: https://github.com/Maelwalser/claude-config/archive/main.zip#osdev-boot-sequence

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.