diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-11 03:13:43 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-11 03:13:43 +0000 |
commit | 387a32af4bff50363c15788cf25f10ed26cfabd3 (patch) | |
tree | 7874a54d1f87fdbb340547777019c59ce20c6f4a /chapter07/introduction.xml | |
parent | bc8cca581fed74c60e201a89acb38cb2344c9b1b (diff) |
Update initial Chapter 7 pages for cross2 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11918 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/introduction.xml')
-rw-r--r-- | chapter07/introduction.xml | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index 0445878d5..1d53f6987 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -10,28 +10,24 @@ <title>Introduction</title> - <para>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 <quote>chroot</quote> environment, completely isolated - from the computer used for the build, except for the running kernel.</para> + <para>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 <quote>chroot</quote> environment, + completely isolated the host operating system used for the build, except + for the running kernel.</para> <para>For proper operation of the isolated environment, some communication with the running kernel must be established. This is done through the so-called <emphasis>Virtual Kernel File Systems</emphasis>, which must be mounted when entering the chroot environment. You may want to check - that they are mounted by issuing <command>ls $LFS/dev</command>, - <command>ls $LFS/proc</command>, or <command>ls $LFS/sys</command>. - Note that mounting the virtual kernel file systems must be done - <emphasis>each time you want to enter the chroot - environment</emphasis>.</para> + that they are mounted by issuing <command>findmnt</command>.</para> <para>Until <xref linkend="ch-tools-chroot"/>, the commands must be run as <systemitem class="username">root</systemitem>, with the <envar>LFS</envar> 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 + you built LFS on. Be careful anyway, as it is easy to destroy the whole LFS system with badly formed commands.</para> </sect1> |