Linux From Scratch

Working on this now. If you want to learn/master how linux is built completely, you may want to try this challenging but interesting project. Heres the website link for linux from scratch

Another similar link using slax to rebuild/customize your own distro can be found at SLAX is fast. compact and beautiful Linux operating system based on Slackware linux distro. If you wish to create a custom Ubuntu distro, try this link.

Below is my .bashrc and .bash_profile and the first command format that worked for me, despite a slightly different command format in the documentation online. Little tips and stuff l noticed will be posted here which might help you when trying out building Linux from scratch.

Source from which l get most of my open source software (good bandwidth esp. if you’re in the NorthWest) – Oregon State University FTP site

[root@localhost lfs]# cat .bashrc
set +h
umask 022
[root@localhost lfs]#
[root@localhost lfs]# cat .bash_profile
exec env -i HOME=$HOME TERM=$TERM PS1=’u:w$ ‘ /bin/bash
[root@localhost lfs]#

lfs:/mnt/lfs/binutils-build$ time { CC=”gcc -B/usr/bin/” /mnt/lfs/sources/binutils-2.17/configure –prefix=/tools –disable-nls –disable-werror && make && make install; }
…………….creating cache ./config.cache

real 2m19.900s
user 1m36.257s
sys 0m30.604s

the times below was achieved on an Intel 6300 dual core machine with 1Gb RAM and a 300Gb SATA drive for Windows XP Pro, 42Gb second drive for Fedora 7

The second drive was split into 37Gb for / and 5Gb for /lfs and l always use 756Mb for a swap space as a matter of habit though l think 256Mb or 512Mb is okay.

When you get to this section: 5.5.1. Installation of Linux API Headers, you need to be in this folder not mentioned in the documentation:



Welcome to
This is my Word press version of this site as l search for something easily editable while on the road and mobile as my laptop!
For more information, please click on the about link. Thanks for visiting this website.