Changeset 6612f54
- Timestamp:
- 09/21/2022 09:16:00 PM (18 months ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- dbab2a4
- Parents:
- 9254148
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingpartition.xml
r9254148 r6612f54 95 95 <para>Swapping is never good. For mechanical hard drives you can generally 96 96 tell if a system is swapping by just listening to disk activity and 97 observing how the system reacts to commands. Foran SSD drive you will not98 be able to hear swapping but you can tell how much swap space is being used99 by the <command>top</command> or <command>free</command> programs. Use of97 observing how the system reacts to commands. With an SSD drive you will not 98 be able to hear swapping, but you can tell how much swap space is being used 99 by running the <command>top</command> or <command>free</command> programs. Use of 100 100 an SSD drive for a swap partition should be avoided if possible. The first 101 101 reaction to swapping should be to check for an unreasonable command such as … … 113 113 loader. This partition will normally be labeled 'BIOS Boot' if using 114 114 <command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if 115 using <command>gdisk</command>.</para>115 using the <command>gdisk</command>.</para> 116 116 117 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 the119 LFS root partition is located. Disks on a system may use different120 partition table types. The requirement for this partition depends118 uses to boot the system. This is not necessarily the drive that holds 119 the LFS root partition. The disks on a system may use different 120 partition table types. The necessity of the Grub Bios partition depends 121 121 only on the partition table type of the boot disk.</para></note> 122 122 </sect3> … … 134 134 store kernels and other booting information. To minimize potential boot 135 135 problems with larger disks, make this the first physical partition on 136 your first disk drive. A partition size of 200 megabytes is quite136 your first disk drive. A partition size of 200 megabytes is 137 137 adequate.</para></listitem> 138 138 … … 151 151 <filename class="directory">/lib</filename>, and 152 152 <filename class="directory">/sbin</filename> are symlinks to their 153 counterpart in <filename class="directory">/usr</filename>.154 So <filename class="directory">/usr</filename> contains all binaries153 counterparts in <filename class="directory">/usr</filename>. 154 So <filename class="directory">/usr</filename> contains all the binaries 155 155 needed for the system to run. For LFS a separate partition for 156 156 <filename class="directory">/usr</filename> is normally not needed. 157 If you needit anyway, you should make a partition large enough to158 fit all programs and libraries in the system. The root partition can be157 If you create it anyway, you should make a partition large enough to 158 fit all the programs and libraries in the system. The root partition can be 159 159 very small (maybe just one gigabyte) in this configuration, so it's 160 160 suitable for a thin client or diskless workstation (where 161 161 <filename class="directory">/usr</filename> is mounted from a remote 162 server). However you should take care that an initramfs (not covered by163 LFS) will be needed to boot a system with separate162 server). However you should be aware that an initramfs (not covered by 163 LFS) will be needed to boot a system with a separate 164 164 <filename class="directory">/usr</filename> partition.</para></listitem> 165 165 166 166 <listitem><para>/opt – This directory is most useful for 167 BLFS where multiple installations oflarge packages like Gnome or KDE can167 BLFS, where multiple large packages like Gnome or KDE can 168 168 be installed without embedding the files in the /usr hierarchy. If 169 169 used, 5 to 10 gigabytes is generally adequate.</para> … … 176 176 <listitem><para>/usr/src – This partition is very 177 177 useful for providing a location to store BLFS source files and 178 share them across LFS builds. 179 for building BLFS packages. 180 gigabytes allows plenty of room.</para></listitem>178 share them across LFS builds. It can also be used as a location 179 for building BLFS packages. A reasonably large partition of 30-50 180 gigabytes provides plenty of room.</para></listitem> 181 181 182 182 </itemizedlist> 183 183 184 184 <para>Any separate partition that you want automatically mounted upon boot 185 needs to be specified in the <filename>/etc/fstab</filename>. 185 needs to be specified in the <filename>/etc/fstab</filename>. Details 186 186 about how to specify partitions will be discussed in <xref 187 187 linkend="ch-bootable-fstab"/>. </para>
Note:
See TracChangeset
for help on using the changeset viewer.