source: chapter02/stages.xml@ 4d7ccf4

xry111/clfs-ng
Last change on this file since 4d7ccf4 was 9e76c64, checked in by Xi Ruoyao <xry111@…>, 5 months ago

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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. This does not mean that the system has to
16 be built in one sitting. The issue is that certain procedures
17 must be repeated after a reboot when resuming LFS at
18 different points.</para>
19
20 <sect2>
21 <title>Chapters&nbsp;1&ndash;4</title>
22
23 <para>These chapters run commands on the host system. When
24 restarting, be certain of one thing:</para>
25
26 <itemizedlist>
27 <listitem>
28 <para>Procedures performed as the
29 <systemitem class="username">root</systemitem> user after Section
30 2.4 must have the LFS environment variable set
31 <emphasis>FOR THE ROOT USER</emphasis>.</para>
32 </listitem>
33 </itemizedlist>
34 </sect2>
35
36 <sect2>
37 <title>Chapters&nbsp;5&ndash;6</title>
38
39 <itemizedlist>
40 <listitem>
41 <para>The /mnt/lfs partition must be mounted.</para>
42 </listitem>
43
44 <listitem>
45 <para>These two chapters <emphasis>must</emphasis> be done as user
46 <systemitem class="username">lfs</systemitem>.
47 A <command>su - lfs</command> command must be issued before performing any task in these
48 chapters. If you don't do that, you are at risk of installing packages to the
49 host, and potentially rendering it unusable.</para>
50 </listitem>
51
52 <listitem>
53 <para>The procedures in <xref linkend='ch-tools-generalinstructions'/>
54 are critical. If there is any
55 doubt a package has been installed correctly, ensure the previously expanded
56 tarball has been removed, then re-extract the package, and complete all
57 the instructions in that section.</para>
58 </listitem>
59 </itemizedlist>
60 </sect2>
61
62 <sect2>
63 <title>Chapters&nbsp;7&ndash;10</title>
64
65 <itemizedlist>
66 <listitem>
67 <para>You must boot the temporary system on the target machine.</para>
68 </listitem>
69
70 <listitem>
71 <para>A few operations, from
72 <quote>Preparing Virtual Kernel File Systems</quote> to
73 <quote>Setting up Environment,</quote> must be done.</para>
74 </listitem>
75
76 <listitem>
77 <para>The operations in <xref linkend="ch-tools-lo"/> must be done
78 before starting or continuing from
79 <xref linkend="chapter-building-system"/>.</para>
80 </listitem>
81
82 </itemizedlist>
83 </sect2>
84</sect1>
Note: See TracBrowser for help on using the repository browser.