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