wiki:system

Building the system

Now we've builded our tools, we can start building the target system.

lfs user is now useless, so exit from it. Now all operations will be done in a chrooted environnement.

Go into your btux/build directory as root user, then run ./chroot (Note: dont forget the ./ as chroot is there a script).

The first time you launch it, it will create target system directories and devices nodes. System will show

###### create dir'n'devs after STEP 1
Creating dirs'n'devs...
...Done
##### STEP 2 (build system)
[ch-root:/]$

If you exited and relaunched ./chroot system will show :

##### STEP 2 (build system)
[ch-root:/]$

To launch the target system building :

cd /build
./system