diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index ac104e4b4..e7bcfdb87 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -335,12 +335,18 @@ Device Drivers ---> the /boot directory. - 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 host system: + 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 + chroot environment: -mount --bind /boot /mnt/lfs/boot +mount /boot + + The path to the device node is omitted in the command because + mount can read it from &fstab;. The path to the kernel image may vary depending on the platform being diff --git a/general.ent b/general.ent index 82d69cf08..1328f7c7c 100644 --- a/general.ent +++ b/general.ent @@ -122,6 +122,7 @@ root"> lfs"> /etc/fstab"> +/boot"> %packages-entities;