Changeset a04b192f
- Timestamp:
- 09/07/2021 08:46:24 PM (21 months ago)
- Branches:
- 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, arm, bdubbs/gcc13, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008
- Children:
- 2f72b72
- Parents:
- 5e0c67d
- Location:
- chapter02
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/aboutlfs.xml
r5e0c67d ra04b192f 53 53 <filename>/root/.bash_profile</filename> file is incorporated as a part of 54 54 the login process.</para> 55 55 56 56 <para>Another consideration is the method that is used to log into the 57 57 host system. If logging in through a graphical display manager, the … … 59 59 a virtual terminal is started. In this case, add the export command to 60 60 the <filename>.bashrc</filename> file for the user and 61 <systemitem class="username">root</systemitem>. In addition, 62 some distributions have instructions to not run the <filename>.bashrc</filename> 61 <systemitem class="username">root</systemitem>. In addition, 62 some distributions have instructions to not run the <filename>.bashrc</filename> 63 63 instructions in a non-interactive bash invocation. Be sure to add the 64 64 export command before the test for non-interactive use.</para> 65 65 66 66 </note> 67 67 -
chapter02/creatingfilesystem.xml
r5e0c67d ra04b192f 12 12 13 13 <para>Now that a blank partition has been set up, the file system can be 14 created. LFS can use any file system recognized by the Linux kernel, but the 15 most common types are ext3 and ext4. The choice of file system can be 16 complex and depends on the characteristics of the files and the size of 14 created. LFS can use any file system recognized by the Linux kernel, but the 15 most common types are ext3 and ext4. The choice of file system can be 16 complex and depends on the characteristics of the files and the size of 17 17 the partition. For example:</para> 18 18 … … 27 27 <term>ext3</term> 28 28 <listitem><para>is an upgrade to ext2 that includes a journal 29 to help recover the partition's status in the case of an unclean 29 to help recover the partition's status in the case of an unclean 30 30 shutdown. It is commonly used as a general purpose file system. 31 31 </para> -
chapter02/creatingpartition.xml
r5e0c67d ra04b192f 38 38 or <command>fdisk</command> with a command line option naming the hard 39 39 disk on which the new partition will be created—for example 40 <filename class="devicefile">/dev/sda</filename> for the primary 40 <filename class="devicefile">/dev/sda</filename> for the primary 41 41 disk drive. Create a Linux native partition and a 42 42 <systemitem class="filesystem">swap</systemitem> partition, if needed. Please … … 89 89 90 90 <para>If you want to use the hibernation feature (suspend-to-disk) of Linux, 91 it writes out the contents of RAM to the swap partition before turning off 91 it writes out the contents of RAM to the swap partition before turning off 92 92 the machine. In this case the size of the swap partition should be at 93 93 least as large as the system's installed RAM.</para> … … 115 115 using <command>gdisk</command>.</para> 116 116 117 <note><para>The Grub Bios partition must be on the drive that the BIOS 118 uses to boot the system. This is not necessarily the same drive where the 117 <note><para>The Grub Bios partition must be on the drive that the BIOS 118 uses to boot the system. This is not necessarily the same drive where the 119 119 LFS root partition is located. Disks on a system may use different 120 120 partition table types. The requirement for this partition depends -
chapter02/hostreqs.xml
r5e0c67d ra04b192f 151 151 152 152 <!-- Use an empty sect2 element to prevent a pdf warning. --> 153 <bridgehead renderas="sect2" 154 id="version-check" 153 <bridgehead renderas="sect2" 154 id="version-check" 155 155 xreflabel="Host System Requirements"> 156 156 </bridgehead> … … 178 178 echo yacc is `/usr/bin/yacc --version | head -n1` 179 179 else 180 echo "yacc not found" 180 echo "yacc not found" 181 181 fi 182 182 … … 191 191 elif [ -x /usr/bin/awk ]; then 192 192 echo awk is `/usr/bin/awk --version | head -n1` 193 else 194 echo "awk not found" 193 else 194 echo "awk not found" 195 195 fi 196 196 -
chapter02/introduction.xml
r5e0c67d ra04b192f 12 12 13 13 <para>In this chapter, the host tools needed for building LFS 14 are checked and, if necessary, installed. Then a partition which will 15 host the LFS system is prepared. We will create the partition 14 are checked and, if necessary, installed. Then a partition which will 15 host the LFS system is prepared. We will create the partition 16 16 itself, create a file system on it, and mount it.</para> 17 17 -
chapter02/mounting.xml
r5e0c67d ra04b192f 48 48 <warning><para>The above instructions assume that you will not be restarting 49 49 your computer throughout the LFS process. If you shut down your system, 50 you will either need to remount the LFS partition each time you restart 51 the build process or modify your host system's /etc/fstab file to automatically 50 you will either need to remount the LFS partition each time you restart 51 the build process or modify your host system's /etc/fstab file to automatically 52 52 remount it upon boot. For example: 53 53 -
chapter02/stages.xml
r5e0c67d ra04b192f 23 23 <para>These chapters are accomplished on the host system. When 24 24 restarting, be careful of the following:</para> 25 25 26 26 <itemizedlist> 27 27 <listitem> … … 33 33 </itemizedlist> 34 34 </sect2> 35 35 36 36 <sect2> 37 37 <title>Chapter 5–6</title> … … 86 86 before or after entering chroot by changing to a host virtual terminal 87 87 and, as <systemitem class="username">root</systemitem>, running the 88 commands in 89 <xref linkend='ch-tools-bindmount'/> and 88 commands in 89 <xref linkend='ch-tools-bindmount'/> and 90 90 <xref linkend='ch-tools-kernfsmount'/>.</para> 91 91 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.