Skip to content

Instantly share code, notes, and snippets.

View dazzywi's full-sized avatar

yarik dazzywi

View GitHub Profile
@bluedragon1221
bluedragon1221 / min-linux.md
Last active March 16, 2025 00:33
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.