diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index a9f86d4dd..d08a4d780 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -11,6 +11,7 @@
Cross Compiling Temporary Tools
+
diff --git a/chapter06/introduction.xml b/chapter06/introduction.xml
index 5614270b2..cfc8befc5 100644
--- a/chapter06/introduction.xml
+++ b/chapter06/introduction.xml
@@ -5,25 +5,26 @@
%general-entities;
]>
-
+
Introduction
- This chapter shows how to build a minimal Linux system.
- This system will contain just enough tools to start constructing the final
- LFS system in and allow a working
- environment with more user convenience than a minimum environment would.
+ This chapter shows how to cross-compile basic utilities using
+ the just built cross-toolchain. Those utilities are installed into
+ their final location, but cannot be used yet. Basic tasks still rely on
+ the hosts tools. Nevertheless, the installed libraries are used when
+ linking.
+
+ Using the utilities will be possible in next chapter after entering
+ the chroot
environment. But all the packages built in the
+ present chapter need themselves to be built. So we cannot be independent
+ on the build system yet.
+
+ Once again, let us recall that improper setting of LFS
+ together with building as root, may render your computer unusable.
+ This whole chapter must be done as user lfs, with the enviroment as described in
+ .
- There are two steps in building this minimal system. The first step
- is to build a new and host-independent toolchain (compiler, assembler,
- linker, libraries, and a few useful utilities). The second step uses this
- toolchain to build the other essential tools.
-
diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml
index ae5c9b7b3..51d2b6f9c 100644
--- a/chapter07/chapter07.xml
+++ b/chapter07/chapter07.xml
@@ -11,6 +11,7 @@
Entering Chroot and Building Additional Tools
+
diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml
index 5614270b2..0445878d5 100644
--- a/chapter07/introduction.xml
+++ b/chapter07/introduction.xml
@@ -5,25 +5,33 @@
%general-entities;
]>
-
+
Introduction
- This chapter shows how to build a minimal Linux system.
- This system will contain just enough tools to start constructing the final
- LFS system in and allow a working
- environment with more user convenience than a minimum environment would.
+ This chapter shows how to build the last missing bits of the
+ temporary system: first, the tools needed by the build machinery of
+ various packages, then three packages needed to run tests.
+ Now that all circular dependencies have been resolved,
+ we can use a chroot
environment, completely isolated
+ from the computer used for the build, except for the running kernel.
+
+ For proper operation of the isolated environment, some communication
+ with the running kernel must be established. This is done through the
+ so-called Virtual Kernel File Systems, which must be
+ mounted when entering the chroot environment. You may want to check
+ that they are mounted by issuing ls $LFS/dev,
+ ls $LFS/proc, or ls $LFS/sys.
+ Note that mounting the virtual kernel file systems must be done
+ each time you want to enter the chroot
+ environment.
+
+ Until , the commands must be
+ run as root, with the
+ LFS variable set. After entering chroot, all commands
+ are run as root, fortunately without access to the OS of the computer
+ you build LFS on. Be careful anyway, as it is easy to destroy the whole
+ LFS system with badly formed commands.
- There are two steps in building this minimal system. The first step
- is to build a new and host-independent toolchain (compiler, assembler,
- linker, libraries, and a few useful utilities). The second step uses this
- toolchain to build the other essential tools.
-