(Note: cette section est progressivement transvasée vers BtuxHacking)

To ensure that you will not kill your host system (erasing system files) :

  • you need to create a lfs user on your system with custom .bashrc/.bash_profile files.
  • a /tools directory at the root of your system will be create as a link to $LFS/tools.

A script will do that for you, it must be run as root :

cd ../build
./first

Warning : if there is an existing /tools directory on your system, it will be deleted '''

Now change user from root to lfs : su - lfs

Launch tools compilation :

cd $LFS/build
./tools

./tools script will call scripts t01binutils, t02.., through t31tools-tarball senquentially.

It will produce a log in $LFS/build/tools.log

You can use to see tools being builded. Just open another shell, and use :

tail -f your_path/butx/build/tools.log

At the end, examine it to see if something got wrong.

A tarball of /tools has also been generated, tools-jjmmaa-hh.tar.bz2

It will be used as a restart point in case something fail at the next step.

Now we can build the system.