From e5cd5e345f97ad9e7a4317f9da436098743679e9 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 17 May 2016 01:06:38 +0000 Subject: Add new section on resuming the LFS build after a reboot git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11063 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter02/stages.xml | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 chapter02/stages.xml (limited to 'chapter02/stages.xml') diff --git a/chapter02/stages.xml b/chapter02/stages.xml new file mode 100644 index 000000000..fd5792f7c --- /dev/null +++ b/chapter02/stages.xml @@ -0,0 +1,82 @@ + + + %general-entities; +]> + + + + + Building LFS in Stages + + LFS is designed to be built in one session. That is, the + instructions assume that the system will not be shut down + during the process. That does not mean that the system has to + be done in one sitting. The issue is that certain procedures + have to be re-accomplished after a reboot if resuming LFS at + different points. + + + Chapters 1-4 + + These chapters are accomplished on the host system. When + restarting, be careful of the following: + + + + Procedures done as the root user after Section 2.4 need to + have the LFS environment variable set FOR THE ROOT + USER. + + + + + + Chapter 5 + + + + The /mnt/lfs partition must be mounted. + + + + ALL instructions in Chapter 5 + must be done by user lfs. + A su - lfs needs to be done before any + task in Chapter 5. + + + + The procedures in + are critical. If there is any + doubt about installing a package, ensure any previously expanded + tarballs are removed, re-extract the package files, and complete all + instructions in that section. + + + + + + Chapters 6-8 + + + + The /mnt/lfs partition must be mounted. + + + + When entering chroot, the LFS environment variable must be set + for root. The LFS variable is not used otherwise. + + + + The virtual file systems must be mounted. This can be done + before or after entering chroot by changing to a host virtual terminal + and, as root, running the commands in + and + . + + + + -- cgit v1.2.3-54-g00ecf