Back to Browse

02 Coding a Partitioner -Your own distro

2.6K views
Jan 21, 2026
4:09:51

Today we'll write the partitioner and begin coding the GUI of the installation program. We'll start by finishing the rest of the USB flashdrive Linux version, from where we'll run the installer. We are making our own (full-scale) Linux distribution from scratch. The menu-based graphical installation program is divided in two phases. Phase 1 is a minimal Linux dist (on a USB flash drive), which is based on Busybox, and whose purpose is to select the target disk, partition and format that disk and install the kernel, a bootloader and a few packages. Then it's going to reboot into the hard disk drive and continue the configuration and the installation of the rest of the system. This is where you configure the network, the keyboard, select packages etc. This is the 2nd episode in the series. Best regards, dr JB References 1. Become a channel member and get several benefits, check out: https://www.youtube.com/channel/UC6Q8NDGqQ2eJ7QXX693ikdw/join 2. Ep 01: Building your own Linux distribution https://youtu.be/ERXQ7SQOoh8 3. My new premium course at great discount, check it out: https://courses.doctorbirch.com/2/f0df39eb2ce58304.html Table of contents 00:00:00 PART 1: Finish the usb drive Linux 00:02:21 Build script 00:14:05 Building SFdisk & LILO 01:08:45 Building Sys V init 02:00:38 PART 2: Coding installation program 02:03:22 Enumerating disks 02:37:37 Writing the partitioner 03:15:03 Coding installation GUI

Download

1 formats

Video Formats

360pmp4198.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

02 Coding a Partitioner -Your own distro | NatokHD