Changeset fe5b13b for chapter06/chapter06.xml
- Timestamp:
- 02/04/2004 10:22:49 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/chapter06.xml
r4248b0e rfe5b13b 61 61 </sect1> 62 62 63 &c6-mountproc; 63 64 64 65 <sect1 id="ch-system-chroot"> … … 66 67 <?dbhtml filename="chroot.html" dir="chapter06"?> 67 68 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 70 and installing your final LFS system.</para> 71 72 <para>First check, just like earlier, that the LFS environment variable is set 73 up properly by running <userinput>echo $LFS</userinput> and making sure it 74 shows the path to your LFS partition's mount point, which is 76 75 <filename class="directory">/mnt/lfs</filename> if you followed our example.</para> 77 76 78 <para> Become <emphasis>root</emphasis> and run the following command79 to enter thechroot environment:</para>77 <para>As <emphasis>root</emphasis>, run the following command to enter the 78 chroot environment:</para> 80 79 81 80 <screen><userinput>chroot $LFS /tools/bin/env -i \ … … 109 108 in the following chapters are run from within the chroot environment. 110 109 If you ever leave this environment for any reason (rebooting for example), 111 you must remember to again enter chroot and mount the proc and devpts112 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>110 you must remember to first mount the proc and devpts file systems (discussed 111 in the previous section) <emphasis>and</emphasis> enter chroot again before 112 continuing with the installations.</para> 113 114 <para>Note that the bash prompt will say "I have no name!" This is normal, as 115 the <filename>/etc/passwd</filename> file has not been created yet.</para> 117 116 118 117 </sect1> … … 208 207 209 208 </sect1> 210 211 212 &c6-mountproc;213 209 214 210
Note:
See TracChangeset
for help on using the changeset viewer.