UmVirt LFSAutoBuilder

About

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

UmVirt LFSAutoBuilder is tool which allows to automate LFS bootable disk image creation process.

LFSAutoBuilder is allows:

To build 32-bit disk images LFSAutoBuilder is using ablity of amd64 and x86_64 64-bit CPUs to run as 32-bit i686 ones.

LFSAutoBuilder is based on but not locked to LFS instructions. Everyone can fork source code and customize it for own needs.

To get information about results which systems built by LFSAutoBuilder can acheive check UmVirt Linux From Scratch sample disk images.

Training

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.

License

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

https://www.gnu.org/licenses/gpl.txt

Usage

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 20GB) 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 20G

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 can be:

Also it can be converted to Live CD/DVD/BE/USB disk image.

For legacy/embeded hardware it's possible to shrink disk image by switching from SysV to busybox init system and removing logs and kernel source tree.

Download

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:

Documentation

Read README file for more details.

Video

Changelog

12.4

12.3

Benchmark

Screenshots

System monitoring

vtm.png

LFS/BLFS book reading

vtm-book.png

Linux kernel configuration

vtm-kernel.png

System information

vtm-neofetch.png