Ignore:
Timestamp:
02/04/2004 10:22:49 PM (20 years ago)
Author:
Alex Gronenwoud <alex@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
dcff046
Parents:
4248b0e
Message:

Moving Mounting proc to before Chroot, dropping Util-linux, adding an arch script to Perl.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3220 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/chapter06.xml

    r4248b0e rfe5b13b  
    6161</sect1>
    6262
     63&c6-mountproc;
    6364
    6465<sect1 id="ch-system-chroot">
     
    6667<?dbhtml filename="chroot.html" dir="chapter06"?>
    6768
    68 <para>It is time to enter the chroot environment in order to begin installing
    69 the packages we need. Before you can chroot, however, you need to become
    70 <emphasis>root</emphasis>, since only <emphasis>root</emphasis>
    71 can execute the <command>chroot</command> command.</para>
    72 
    73 <para>Just like earlier, ensure the LFS environment variable is set up properly
    74 by running <userinput>echo $LFS</userinput> and ensuring it shows the path to
    75 your LFS partition's mount point, which is
     69<para>It is time to enter the chroot environment in order to begin building
     70and installing your final LFS system.</para>
     71
     72<para>First check, just like earlier, that the LFS environment variable is set
     73up properly by running <userinput>echo $LFS</userinput> and making sure it
     74shows the path to your LFS partition's mount point, which is
    7675<filename class="directory">/mnt/lfs</filename> if you followed our example.</para>
    7776
    78 <para>Become <emphasis>root</emphasis> and run the following command
    79 to enter the chroot environment:</para>
     77<para>As <emphasis>root</emphasis>, run the following command to enter the
     78chroot environment:</para>
    8079
    8180<screen><userinput>chroot $LFS /tools/bin/env -i \
     
    109108in the following chapters are run from within the chroot environment.
    110109If you ever leave this environment for any reason (rebooting for example),
    111 you must remember to again enter chroot and mount the proc and devpts
    112 file systems (discussed later) before continuing with the installations.</para>
    113 
    114 <para>Note that the bash prompt will say "I have no name!" This is
    115 normal, as the <filename>/etc/passwd</filename> file has not been
    116 created yet.</para>
     110you must remember to first mount the proc and devpts file systems (discussed
     111in the previous section) <emphasis>and</emphasis> enter chroot again before
     112continuing with the installations.</para>
     113
     114<para>Note that the bash prompt will say "I have no name!" This is normal, as
     115the <filename>/etc/passwd</filename> file has not been created yet.</para>
    117116
    118117</sect1>
     
    208207
    209208</sect1>
    210 
    211 
    212 &c6-mountproc;
    213209
    214210
Note: See TracChangeset for help on using the changeset viewer.