aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-09-25 16:57:46 +0800
committerXi Ruoyao <xry111@xry111.site>2022-09-25 16:57:46 +0800
commit111194c5b7bff4d074f602f6c2bc7aecee2dbc5d (patch)
tree517bcc8573111ff6417b7deb41761d0e725fbd07 /chapter10
parent8f641ee861c870936f00d7fdee74c96fcc0195a4 (diff)
parentf427ba2336446315375c372da8a30cd66a04be06 (diff)
Merge remote-tracking branch 'origin/trunk' into xry111/arm64
Diffstat (limited to 'chapter10')
-rw-r--r--chapter10/kernel.xml18
1 files changed, 12 insertions, 6 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml
index 2a2d29fc9..419faa264 100644
--- a/chapter10/kernel.xml
+++ b/chapter10/kernel.xml
@@ -308,12 +308,18 @@ File systems ---&gt;
the <filename class="directory">/boot</filename> directory.</para>
<caution>
- <para>If the host system has a separate /boot partition, the files copied
- below should go there. The easiest way to do that is to bind /boot on the
- host (outside chroot) to /mnt/lfs/boot before proceeding. As the
- &root; user in the <emphasis>host system</emphasis>:</para>
-
-<screen role="nodump"><userinput>mount --bind /boot /mnt/lfs/boot</userinput></screen>
+ <para>If you've decided to use a separate &boot-dir; partition for the
+ LFS system (maybe sharing a &boot-dir; partition with the host
+ distro) , the files copied below should go there. The easiest way to
+ do that is to create the entry for &boot-dir; in &fstab; first (read
+ the previous section for details), then issue the following command
+ as the &root; user in the
+ <emphasis>chroot environment</emphasis>:</para>
+
+<screen role="nodump"><userinput>mount /boot</userinput></screen>
+
+ <para>The path to the device node is omitted in the command because
+ <command>mount</command> can read it from &fstab;.</para>
</caution>
<para>The path to the kernel image may vary depending on the platform being