# lfs **Repository Path**: leimiemie/lfs ## Basic Information - **Project Name**: lfs - **Description**: Docker configuration for building Linux From Scratch system - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-15 - **Last Updated**: 2022-11-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![LFS in VirtualBox](https://user-images.githubusercontent.com/1611077/33808510-16825dd2-dde8-11e7-9a1c-0ca0bc3ff2b5.png) ## Description This repository contains docker configuration to build bootable iso image with [Linux From Scratch 8.1](http://www.linuxfromscratch.org/lfs/downloads/8.1/LFS-BOOK-8.1.pdf). ## Why General idea is to learn Linux by building and running LFS system in isolation from the host system. ## Structure Scripts are organized in the way of following book structure whenever it makes sense. Some deviations are done to make a bootable iso image. ## Build Use the following command: docker rm lfs ; \ docker build --tag lfs . && \ sudo docker run -it --privileged --name lfs lfs && \ sudo docker cp lfs:/tmp/lfs.iso . Please note, that extended privileges are required by docker container in order to execute some commands (e.g. mount). ## Usage Final result is bootable iso image with LFS system which, for example, can be used to load the system inside virtual machine (tested with VirtualBox). ## License This work is based on instructions from [Linux from Scratch](http://www.linuxfromscratch.org/lfs) project and provided with MIT license.