Linux From Scratch and Beyond
[Posted July 26, 2006 by ris]
The
Linux From Scratch
Project has been around for quite a while. So most readers are already
aware that this project teaches people about how Linux works and how it can
help you build a customized system. But if you haven't looked at it
lately, you may not be aware of all that it has to offer these days.
Linux From Scratch (LFS) provides a book of instructions for building a
system. The stable version
of this book is currently at version 6.1.1 and it covers everything you
need to know about building a minimal Linux system, from creating a new
partition for your system to making your system bootable. The development
version of the book is available through Subversion and the second
pre-release has been announced.
Once you have a system, you can use Beyond Linux From Scratch
(BLFS) to help you flesh it out. This book covers things like adding
software and setting up networking, with a look at servers and several
chapters on desktop software.
Suppose that you've built your system before. You know what you want and
how to go about it. Then you're ready for Automated Linux From
Scratch, (ALFS) a project that creates the generic framework for an
extendable system builder and package installer. The current
implementation of ALFS is nALFS, a C program that parses an XML profile
that contains information concerning the LFS build process into a series of
internal commands. It can then execute these at your discretion, automating
the compilation of LFS. Recently a new implementation of ALFS called jhalfs
has announced its 1.0 release.
Cross Linux From Scratch (CLFS)
teaches you how to make a cross-compiler and the necessary tools, to build
a basic system on a different architecture. For example you would be able
to build a Sparc toolchain on an x86 machine, and utilize that toolchain to
build a Linux system from source code. Currently supported architectures
include x86, x86_64, sparc, mips, powerpc and alpha.
For the security conscious Hardened Linux From
Scratch (HLFS) is a project that provides you with step-by-step
instructions for building your own customized and hardened Linux system
entirely from source.
Of course there's the Linux From Scratch
LiveCD project. The LFS Live CD is geared toward providing a reliable
host system for building your LFS system and doubles as a rescue system.
All these projects are represented in the wiki pages as well as from the
main LFS site. So if the available Linux distributions aren't providing
quite what you want, or you just want to know more about Linux internals,
LSF could be just what you are looking for.
(
Log in to post comments)