mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-09 15:39:51 +00:00
Corrected English idiom and punctuation in chapter 2.4 (new partition).
This commit is contained in:
parent
925414842a
commit
6612f5441b
@ -94,9 +94,9 @@
|
|||||||
|
|
||||||
<para>Swapping is never good. For mechanical hard drives you can generally
|
<para>Swapping is never good. For mechanical hard drives you can generally
|
||||||
tell if a system is swapping by just listening to disk activity and
|
tell if a system is swapping by just listening to disk activity and
|
||||||
observing how the system reacts to commands. For an SSD drive you will not
|
observing how the system reacts to commands. With an SSD drive you will not
|
||||||
be able to hear swapping but you can tell how much swap space is being used
|
be able to hear swapping, but you can tell how much swap space is being used
|
||||||
by the <command>top</command> or <command>free</command> programs. Use of
|
by running the <command>top</command> or <command>free</command> programs. Use of
|
||||||
an SSD drive for a swap partition should be avoided if possible. The first
|
an SSD drive for a swap partition should be avoided if possible. The first
|
||||||
reaction to swapping should be to check for an unreasonable command such as
|
reaction to swapping should be to check for an unreasonable command such as
|
||||||
trying to edit a five gigabyte file. If swapping becomes a normal
|
trying to edit a five gigabyte file. If swapping becomes a normal
|
||||||
@ -112,12 +112,12 @@
|
|||||||
must be available for GRUB to use during installation of the boot
|
must be available for GRUB to use during installation of the boot
|
||||||
loader. This partition will normally be labeled 'BIOS Boot' if using
|
loader. This partition will normally be labeled 'BIOS Boot' if using
|
||||||
<command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if
|
<command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if
|
||||||
using <command>gdisk</command>.</para>
|
using the <command>gdisk</command>.</para>
|
||||||
|
|
||||||
<note><para>The Grub Bios partition must be on the drive that the BIOS
|
<note><para>The Grub Bios partition must be on the drive that the BIOS
|
||||||
uses to boot the system. This is not necessarily the same drive where the
|
uses to boot the system. This is not necessarily the drive that holds
|
||||||
LFS root partition is located. Disks on a system may use different
|
the LFS root partition. The disks on a system may use different
|
||||||
partition table types. The requirement for this partition depends
|
partition table types. The necessity of the Grub Bios partition depends
|
||||||
only on the partition table type of the boot disk.</para></note>
|
only on the partition table type of the boot disk.</para></note>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
@ -133,7 +133,7 @@
|
|||||||
<listitem><para>/boot – Highly recommended. Use this partition to
|
<listitem><para>/boot – Highly recommended. Use this partition to
|
||||||
store kernels and other booting information. To minimize potential boot
|
store kernels and other booting information. To minimize potential boot
|
||||||
problems with larger disks, make this the first physical partition on
|
problems with larger disks, make this the first physical partition on
|
||||||
your first disk drive. A partition size of 200 megabytes is quite
|
your first disk drive. A partition size of 200 megabytes is
|
||||||
adequate.</para></listitem>
|
adequate.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>/boot/efi – The EFI System Partition, which is
|
<listitem><para>/boot/efi – The EFI System Partition, which is
|
||||||
@ -150,21 +150,21 @@
|
|||||||
<filename class="directory">/bin</filename>,
|
<filename class="directory">/bin</filename>,
|
||||||
<filename class="directory">/lib</filename>, and
|
<filename class="directory">/lib</filename>, and
|
||||||
<filename class="directory">/sbin</filename> are symlinks to their
|
<filename class="directory">/sbin</filename> are symlinks to their
|
||||||
counterpart in <filename class="directory">/usr</filename>.
|
counterparts in <filename class="directory">/usr</filename>.
|
||||||
So <filename class="directory">/usr</filename> contains all binaries
|
So <filename class="directory">/usr</filename> contains all the binaries
|
||||||
needed for the system to run. For LFS a separate partition for
|
needed for the system to run. For LFS a separate partition for
|
||||||
<filename class="directory">/usr</filename> is normally not needed.
|
<filename class="directory">/usr</filename> is normally not needed.
|
||||||
If you need it anyway, you should make a partition large enough to
|
If you create it anyway, you should make a partition large enough to
|
||||||
fit all programs and libraries in the system. The root partition can be
|
fit all the programs and libraries in the system. The root partition can be
|
||||||
very small (maybe just one gigabyte) in this configuration, so it's
|
very small (maybe just one gigabyte) in this configuration, so it's
|
||||||
suitable for a thin client or diskless workstation (where
|
suitable for a thin client or diskless workstation (where
|
||||||
<filename class="directory">/usr</filename> is mounted from a remote
|
<filename class="directory">/usr</filename> is mounted from a remote
|
||||||
server). However you should take care that an initramfs (not covered by
|
server). However you should be aware that an initramfs (not covered by
|
||||||
LFS) will be needed to boot a system with separate
|
LFS) will be needed to boot a system with a separate
|
||||||
<filename class="directory">/usr</filename> partition.</para></listitem>
|
<filename class="directory">/usr</filename> partition.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>/opt – This directory is most useful for
|
<listitem><para>/opt – This directory is most useful for
|
||||||
BLFS where multiple installations of large packages like Gnome or KDE can
|
BLFS, where multiple large packages like Gnome or KDE can
|
||||||
be installed without embedding the files in the /usr hierarchy. If
|
be installed without embedding the files in the /usr hierarchy. If
|
||||||
used, 5 to 10 gigabytes is generally adequate.</para>
|
used, 5 to 10 gigabytes is generally adequate.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -175,14 +175,14 @@
|
|||||||
|
|
||||||
<listitem><para>/usr/src – This partition is very
|
<listitem><para>/usr/src – This partition is very
|
||||||
useful for providing a location to store BLFS source files and
|
useful for providing a location to store BLFS source files and
|
||||||
share them across LFS builds. It can also be used as a location
|
share them across LFS builds. It can also be used as a location
|
||||||
for building BLFS packages. A reasonably large partition of 30-50
|
for building BLFS packages. A reasonably large partition of 30-50
|
||||||
gigabytes allows plenty of room.</para></listitem>
|
gigabytes provides plenty of room.</para></listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<para>Any separate partition that you want automatically mounted upon boot
|
<para>Any separate partition that you want automatically mounted upon boot
|
||||||
needs to be specified in the <filename>/etc/fstab</filename>. Details
|
needs to be specified in the <filename>/etc/fstab</filename>. Details
|
||||||
about how to specify partitions will be discussed in <xref
|
about how to specify partitions will be discussed in <xref
|
||||||
linkend="ch-bootable-fstab"/>. </para>
|
linkend="ch-bootable-fstab"/>. </para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user