Building a Linux Distribution From Scratch
Join us to learn how to build a Linux distribution from scratch.
- Sept 22Magazinet Kongsberg1 day07:00 - 15:00 UTCIgnat Korchagin-
1. Introduction
- development environment
2. Components of a Linux distribution
- Linux distribution overview
- Linux boot process (how Linux boots)
- UEFI and the bootloader
- Linux kernel and initial root filesystem (initrd/initramfs)
- Target root filesystem
3. Building a Linux kernel
- Upstream vs distribution kernels
- Linux kernel release process
- Downloading and unpacking the kernel source
- Configuring and tweaking the kernel
- Compiling the kernel
- Testing the kernel without a root filesystem
4. Building a root filesystem
- Bootstraping a Debian root filesystem
- Introduction to Buildroot (and busybox)
- Downloading and unpacking the Buildroot source
- Configuring and tweaking Buildroot
- Creating the root filesystem with Buildroot
- Testing the root filesystem without the kernel
5. Using the custom distribution (Linux kernel + root filesystem)
- Booting the custom distribution on a virtual machine with QEMU

Ignat is a systems engineer at Cloudflare working mostly on Linux, platforms and hardware security. Ignat’s interests are cryptography, hacking, and low-level programming. Before Cloudflare, Ignat worked as a senior security engineer for Samsung Electronics’ Mobile Communications Division. His solutions may be found in many older Samsung smart phones and tablets. Ignat started his career as a security researcher in the Ukrainian government’s communications services.