From d94339982d3cdbcdd5ba03a7e477b525096d824a Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 10 Mar 2023 18:46:52 -0600 Subject: [PATCH 1/2] Add kernel configureation introduction. Add an note as an introduction to configuring the kernel. --- chapter10/kernel.xml | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index 9224cbbf3..f5b5a4aa4 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -45,6 +45,37 @@ in the kernel source tree for alternative methods to the way this book configures the kernel. + + + Building the linux kernel for the first time is one of the most + challenging tasks in LFS. Getting it right depends on the specific + hardware for the target system and your specific needs. There are + almost 12,000 configuration items that are available for the kernel + although only about a third of them are needed for most computers. The + LFS editors recommend that users not familiar with this process follow + the procedures below fairly closely. The objective is to get an + initial system to a point where you can log in at the command line when + you reboot later in . At his point + optimization and customization is not a goal. + + + + + For general information on kernel configuration see . Additional information + about configuring and building the kernel can be found at . These refereces are a bit + dated, but still give a reasonable overview of the process. + + + + If all else fails, you can ask for help on the lfs-suport + mailing list. Note that suscribing is required in order for the list + to avoid spam. + + + Prepare for compilation by running the following command: make mrproper @@ -88,10 +119,6 @@ - For general information on kernel configuration see . Additional - information about configuring and building the kernel can be found at - . A good starting place for setting up the kernel configuration is to From 57ccb5b97ff22804bba82c3b7c647ead08b2d684 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 11 Mar 2023 22:03:58 +0800 Subject: [PATCH 2/2] kernel: Fix a typo "parition". --- chapter10/kernel.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index f5b5a4aa4..ce7ebd61a 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -213,7 +213,7 @@ Device Drivers ---> (X) 64GB [CONFIG_HIGHMEM64G] If the partition for the LFS system is in a NVME SSD (i. e. the - device node for the parition is /dev/nvme* + device node for the partition is /dev/nvme* instead of /dev/sd*), enable NVME support or the LFS system won't boot: