https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
- The Kernel
- Userspace (busybox)
- Bootloader (syslinux)
When the system boots, it loads the kernel, which loads busybox.
https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
When the system boots, it loads the kernel, which loads busybox.
See the bash script below. :) | |
Tested on debian bookworm-slim (`docker pull debian:bookworm-slim`). | |
### Prerequisites | |
```bash | |
apt update | |
apt install -y build-essential wget bison | |
``` |