Home - Nimpoo/ft_linux GitHub Wiki

ft_linux - Creation of our own Linux From Scratch

You can find here my full documentation and walkthroughs for the ft_linux project.

What you will find here

  • A complete walkthrough of the Linux From Scratch project
  • The scripts I used to build my Linux From Scratch system
  • The difficulties I encountered and how I solved them

Information to know

Here's my environment of development and my configuration:

  • My host system architecture is x86_64 (under Linux Ubuntu 24.04 LTS)
  • I work on a Virtual Machine using QEMU (you may understand why later)
  • The distribution of my Virtual Machine is Ubuntu 24.04 LTS
  • The Virtual Machine is configured with 16GB of RAM and 16 CPU cores (It's very excessive, I use the benefit of the powerful PC of my school. For the minimal requirements, go see here)
  • For virtualisation, I use QEMU
  • The version of Linux From Scratch I follow : Linux From Scratch Version r12.3-86-systemd
  • The tree of my working directory is as follows:
lfs_workdir/
├── lfs.qcow2
├── start_lfs_efi.sh
├── start_ubuntu.sh
└── ubuntu-proud.qcow2
  1. lfs.qcow2 : the disk image of my Linux From Scratch system
  2. start_lfs_efi.sh : the script to start the Linux From Scratch system in EFI mode on a Virtual Machine (we will see that a far later)
  3. start_ubuntu.sh : the script to start my Ubuntu in Virtual Machine
  4. ubuntu-proud.qcow2 : the disk image of my Ubuntu system

Important

All of the work is done in the ubuntu-proud.qcow2 disk image with lfs.qcow2 as the secondary disk hdb. This disk image (ubuntu-proud.qcow2) is considered as the host system, and I work in it to build the Linux From Scratch system.

And you will notice that I skip all all the steps specified on the Linux From Scratch documentation and stay focused on the main important steps. For each chapter, I will give you the link to the official documentation of were I am in the process.

⚠️ **GitHub.com Fallback** ⚠️