Skip to content

Instantly share code, notes, and snippets.

View KiralyCraft's full-sized avatar

Alex Kiraly KiralyCraft

View GitHub Profile
@KiralyCraft
KiralyCraft / min-linux.md
Created August 1, 2024 18:35 — forked from bluedragon1221/min-linux.md
Create a minimal linux from scratch with initramfs and busybox.

https://www.youtube.com/watch?v=QlzoegSuIzg

The Three Parts

To build a minimal linux distro, we need three parts:

  1. The Kernel
  2. Userspace (busybox)
  3. Bootloader (syslinux)

When the system boots, it loads the kernel, which loads busybox.