[lfs] branch trunk updated: Add a subsection with an example disk layout.
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <177525114143.16646.14202525914755068771@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 30025733d Add a subsection with an example disk layout.
30025733d is described below
commit 30025733d4542256db95a42a76ccefe14b74c266
Author: Bruce Dubbs <[email protected]>
AuthorDate: Fri Apr 3 16:18:55 2026 -0500
Add a subsection with an example disk layout.
---
chapter02/creatingpartition.xml | 63 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml
index f5bb244cb..7f4a31aaa 100644
--- a/chapter02/creatingpartition.xml
+++ b/chapter02/creatingpartition.xml
@@ -198,4 +198,67 @@
</sect3>
</sect2>
+
+ <sect2>
+ <title>An Example Disk Layout</title>
+
+ <para>Below is an example layout for an empty disk drive.</para>
+
+<screen>Number Start (sector) End (sector) Size Code Name
+ 1 2048 22527 10.0 MiB EF00 EFI system partition
+ 2 22528 24575 1024.0 KiB EF02 BIOS boot partition
+ 3 24576 1048575 500.0 MiB 8300 /boot
+ 4 1048576 5242879 2.0 GiB 8200 swap
+ 5 5242880 89128959 40.0 GiB 8300 lfs13.0+
+ 6 89128960 173015039 40.0 GiB 8300 /home</screen>
+
+ <para>The above example makes a few assumptions:
+ <itemizedlist>
+ <listitem>
+ <para>The table type is a GUID Partition Table (GPT).</para>
+ </listitem>
+
+ <listitem>
+ <para>Both EFI and BIOS Boot partitions are present, although
+ only one will be used. Which is used depends on the system BIOS.
+ If the system is old, it will not have UEFI capabilities at all.
+ Some later systems can disable UEFI through the BIOS by disabling
+ "Secure Boot" and enabling "Legacy Support" or "CSM" (Compatibility
+ Support Mode). If you know in advance which mode you will use,
+ the other partition can be omitted.</para>
+ </listitem>
+
+ <listitem>
+ <para>The EFI partition must formatted as VFAT.</para>
+ </listitem>
+
+ <listitem>
+ <para>The BIOS partition is not formatted.</para>
+ </listitem>
+
+ <listitem>
+ <para>The swap partition must be formatted as swap.</para>
+ </listitem>
+
+ <listitem>
+ <para>The /boot partition can be formatted as ext2 since
+ it is rarely written (and then only by root) and does
+ not need a journal.</para>
+ </listitem>
+
+ <listitem>
+ <para>The recommendation for all other partitions is to use ext4
+ formatting.</para>
+ </listitem>
+
+ <listitem>
+ <para>Another partition can be added for installing the "host"
+ system for building LFS. A minimal sized partition, 10 GiB, should be
+ sufficient.</para>
+ </listitem>
+
+ </itemizedlist>
+
+ </para>
+ </sect2>
</sect1>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page