10. Chapter 7: Entering Chroot and Building Additional Temporary Tools - How to build Linux From Scr
Channel: Kernotex
Date: 2024-03-04

Before the remaining temporary tools are cross-compiled, a chroot environment is entered which helps to isolate the new system from the host system. This is also true from the opposite perspective: the host is protected from operations to the new system and therefore any potentially serious mistakes are mitigated or even avoided.

Thanks to @JohnnieWalkerGreen for these timestamps:

00:00 Intro
00:16 7. Entering Chroot and Building Additional Temporary Tools
00:23 7.1. Introduction
01:27 7.2. Changing Ownership
02:48 7.3. Preparing Virtual Kernel File Systems
05:01 7.4. Entering the Chroot Environment
07:54 7.5. Creating Directories
10:04 7.6. Creating Essential Files and Symlinks
12:01 7.7. Gettext-0.22.4
15:00 7.8. Bison-3.8.2
15:48 7.9. Perl-5.38.2
17:13 7.10. Python-3.12.2
19:26 7.11. Texinfo-7.1
20:15 7.12. Util-linux-2.39.3
21:24 7.13. Cleaning up and Saving the Temporary System

In this series of videos I demonstrate how to install LFS 12.1 on real hardware, replacing the Windows 11 system that is already installed on the disk. If you've never built Linux From Scratch before, don't worry as I show every step in detail from beginning to end. From fetching and writing a bootable host Linux USB in Windows, disk configuration, fetching sources and compiling, right through to configuration and booting the final operating system, it's all recorded in these videos.

The end result is a fully working Linux From Scratch system all built from publicly available open source code using the excellent instructions in the Linux From Scratch 12.1 book.


Playlist: https://www.youtube.com/playlist?list=PLyc5xVO2uDsCKdz6-Ojah0o-ZTqGE7HEX

---