You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Maxim Likhachev 43973f5a73 Fix logo url 4 years ago
img LFS v20190308 4 years ago
lfs LFS v20190308 4 years ago
.gitignore LFS v20190308 4 years ago
COPYING LFS v20190308 4 years ago LFS v20190308 4 years ago
Makefile LFS v20190308 4 years ago Fix logo url 4 years ago
Vagrantfile Fix indentation 4 years ago

This repository contains sources and scripts for building Linux From Scratch system v20190308 (~9.0 RC1).


All scenarios are distributed under the GNU General Public License v3.


  • Vagrant with VirtualBox
  • Make


With two commands

$ make
$ make boot

Step by step

  1. Optional

This repository already contains all necessary source files but it is possible to start literally from scratch with removing archives:

$ make clean

Download sources and check their md5 sums:

$ make src
  1. Configure host system and build LFS:
$ make install

Building an OS can take considerable time, even more than 10 hours.

For instance, on my system it tooks the following time:

$ time make install

real	681m8,127s
user	118m54,477s
sys	27m19,321s
CPU	21,46%

If the build is interrupted, the installation can be continued with the make or make build command, which is the same thing. In this case the packages already built will not be reassembled.

  1. Reboot the VM and load new LFS installation:
$ make boot

This command starts VM in GUI VirtualBox mode so it is possible to use GRUB to boot into LFS or Debian GNU/Linux.

  1. Check the LFS installation.

  1. Use you own Linux.