UmVirt LFS Auto Builder


Linux From Scratch (LFS) is that book contain instructions to create bootable disk image which can be used as base for custom distributions.

UmVirt LFS Auto Builder allows to automate bootable disk image creation process. This allows:

UmVirt LFS Auto Builder is based on but not locked to LFS instructions. Everyone can customize source code.


If you newbie or don't want to run LFS Auto Builder you can use Live DVD for manual Linux From Scratch compilation as other GNU/Linux distribution.


UmVirt LFS Auto Builder source code is licensed by GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007.


Create Virtual Machine with two disks:

Build Environment is system which used to build system on target disk. You can use your favorite distribution or ULFS. LFSAutoBuilder is placed here.

Target empty disk is block device (at least 30GB) with MBR partition table and only one bootable linux partition.

You can build target disk manually with command:

    qemu-img create -f raw target.img 30G

Partition can be created manually with fdisk or automaticaly with sfdisk inside Build Environment:

    echo "label: mbr" |  sfdisk /dev/sda
    echo "2048,,L" | sfdisk /dev/sda
    sfdisk -A /dev/sda 1

After building target disk image it can be transfered on GPT partition table to boot via UEFI. Also it can be converted to Live CD/DVD/BE/USB disk image.


Live Media

This images can be used on REAL hardware. (At least 2GB RAM per core is needed. Minimum: 4GB. Tested on AMD Athlon64 X2 4000+ )

Source code repositories:


Read README file for more details.