source: chapter02/stages.xml@ afcfd74

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since afcfd74 was afcfd74, checked in by Pierre Labastie <pieere@…>, 4 years ago

Remove unused files and make
idref's more regular

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11746 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-partitioning-stages">
9 <?dbhtml filename="stages.html"?>
10
11 <title>Building LFS in Stages</title>
12
13 <para>LFS is designed to be built in one session. That is, the
14 instructions assume that the system will not be shut down
15 during the process. That does not mean that the system has to
16 be done in one sitting. The issue is that certain procedures
17 have to be re-accomplished after a reboot if resuming LFS at
18 different points.</para>
19
20 <sect2>
21 <title>Chapters&nbsp;1&ndash;4</title>
22
23 <para>These chapters are accomplished on the host system. When
24 restarting, be careful of the following:</para>
25
26 <itemizedlist>
27 <listitem>
28 <para>Procedures done as the root user after Section 2.4 need to
29 have the LFS environment variable set <emphasis>FOR THE ROOT
30 USER</emphasis>.</para>
31 </listitem>
32 </itemizedlist>
33 </sect2>
34
35 <sect2>
36 <title>Chapter&nbsp;5</title>
37
38 <itemizedlist>
39 <listitem>
40 <para>The /mnt/lfs partition must be mounted.</para>
41 </listitem>
42
43 <listitem>
44 <para><emphasis>ALL</emphasis> instructions in Chapter&nbsp;5
45 must be done by user <emphasis>lfs</emphasis>.
46 A <command>su - lfs</command> needs to be done before any
47 task in Chapter&nbsp;5.</para>
48 </listitem>
49
50 <listitem>
51 <para>The procedures in <xref linkend='ch-tools-generalinstructions'/>
52 are critical. If there is any
53 doubt about installing a package, ensure any previously expanded
54 tarballs are removed, re-extract the package files, and complete all
55 instructions in that section.</para>
56 </listitem>
57 </itemizedlist>
58 </sect2>
59
60 <sect2>
61 <title>Chapters&nbsp;6&ndash;8</title>
62
63 <itemizedlist>
64 <listitem>
65 <para>The /mnt/lfs partition must be mounted.</para>
66 </listitem>
67
68 <listitem>
69 <para> When entering chroot, the LFS environment variable must be set
70 for root. The LFS variable is not used otherwise.</para>
71 </listitem>
72
73 <listitem>
74 <para> The virtual file systems must be mounted. This can be done
75 before or after entering chroot by changing to a host virtual terminal
76 and, as root, running the commands in
77 <xref linkend='ch-system-bindmount'/> and
78 <xref linkend='ch-system-kernfsmount'/>.</para>
79 </listitem>
80 </itemizedlist>
81 </sect2>
82</sect1>
Note: See TracBrowser for help on using the repository browser.