This repository provides scripts and configurations to facilitate the building of a custom Linux system using the Linux From Scratch (LFS) book, version 12. The goal is to create a virtual environment to make the LFS distro building process more straightforward.
- A host system with a supported Linux distribution
- QEMU for virtualization
- Basic command-line tools (bash, coreutils, sed, awk, etc.)
-
Clone this repository to your local machine:
git clone https://github.com/eenagy/linux-from-scratch.git cd linux-from-scratch
-
Review and customize the configurations if needed.
-
Run the setup script to prepare the build environment:
./setup.sh
-
Build the LFS distro:
./build-lfs.sh
- Adjust configurations in
config.sh
to suit your preferences. - Modify
packages.list
to include/exclude packages in your LFS build.
This project is licensed under the MIT License - see the LICENSE file for details.