From d02074e9bcb9c17a9364d86330738dbf4338d119 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 1 Nov 2021 08:49:48 -0500 Subject: [PATCH 1/2] Minor wording change --- chapter08/glibc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index c0e89455c..fb81526cd 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -62,7 +62,7 @@ cd build Ensure that the ldconfig and sln - utilites are installed into + utilites will be installed into /usr/sbin: echo "rootsbindir=/usr/sbin" > configparms From 56587fc43d410b72f1cad1c98ecb6663459d339e Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 1 Nov 2021 12:05:41 -0500 Subject: [PATCH 2/2] Make umounting explicit --- chapter11/reboot.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml index adf1a9f3e..9166a8c49 100644 --- a/chapter11/reboot.xml +++ b/chapter11/reboot.xml @@ -84,10 +84,30 @@ installation for the first time! First exit from the chroot environment: logout - + + + Then unmount the virtual file systems: + +umount -v $LFS/dev/pts +umount -v $LFS/dev +umount -v $LFS/run +umount -v $LFS/proc +umount -v $LFS/sys + + If multiple partitions were created, unmount the other + partitions before unmounting the main one, like this: + +umount -v $LFS/usr +umount -v $LFS/home +umount -v $LFS + + Unmount the LFS file system itself: + +umount -v $LFS Now, reboot the system with: