2 % This is part of LFSbookja package.
4 % This is a CTIE change file for the original XML source of the LFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <title>Building LFS in Stages</title>
15 <title>作業段階ごとの LFS 構築</title>
19 <para>LFS is designed to be built in one session. That is, the
20 instructions assume that the system will not be shut down
21 during the process. This does not mean that the system has to
22 be built in one sitting. The issue is that certain procedures
23 must be repeated after a reboot when resuming LFS at
24 different points.</para>
27 LFS は一度にすべてを構築するものとして説明を行っています。
28 つまり作業途中にシステムをシャットダウンすることは想定していません。
29 ただこれは、システム構築を立ち止まることなくやり続けろと言っているわけではありません。
30 LFS 構築を途中から再開する場合には、どの段階からなのかに応じて、特定の作業を再度行うことが必要となります。
35 <title>Chapters 1–4</title>
37 <title>第 1 章~第 4 章</title>
41 <para>These chapters run commands on the host system. When
42 restarting, be certain of one thing:</para>
45 これらの章ではホストシステム上でコマンド実行します。
51 <para>Procedures performed as the
52 <systemitem class="username">root</systemitem> user after Section
53 2.4 must have the LFS environment variable set
54 <emphasis>FOR THE ROOT USER</emphasis>.</para>
57 2.4 節以降において <systemitem class="username">root</systemitem> ユーザーにより実行する作業では LFS 環境変数の設定が必要です。
58 さらにそれは<emphasis>root ユーザーにおいて</emphasis>設定されていなければなりません。
63 <title>Chapters 5–6</title>
65 <title>第 5 章~第 6 章</title>
69 <para>The /mnt/lfs partition must be mounted.</para>
72 /mnt/lfs パーティションがマウントされていることが必要です。
77 <para>These two chapters <emphasis>must</emphasis> be done as user
78 <systemitem class="username">lfs</systemitem>.
79 A <command>su - lfs</command> command must be issued before performing any task in these
80 chapters. If you don't do that, you are at risk of installing packages to the
81 host, and potentially rendering it unusable.</para>
84 この 2 つの章における処理は<emphasis>すべて</emphasis>、ユーザー <systemitem class="username">lfs</systemitem> により実施してください。
85 処理の実施前には <command>su - lfs</command> を行ないます。
86 これを行わなかった場合、パッケージインストールがホストに対して行われてしまい、利用不能になってしまうリスクがあります。
91 <para>The procedures in <xref linkend='ch-tools-generalinstructions'/>
92 are critical. If there is any
93 doubt a package has been installed correctly, ensure the previously expanded
94 tarball has been removed, then re-extract the package, and complete all
95 the instructions in that section.</para>
98 <xref linkend='ch-tools-generalinstructions'/>に示す内容は極めて重要です。
99 パッケージのインストール作業に少しでも疑わしい点があったならば、展開作業を行った tarball やその展開ディレクトリをいったん消去し、再度展開し作業をやり直してください。
104 <title>Chapters 7–10</title>
106 <title>第 7 章~第 10 章</title>
110 <para>The /mnt/lfs partition must be mounted.</para>
113 /mnt/lfs パーティションがマウントされていることが必要です。
118 <para>A few operations, from <quote>Changing Ownership</quote> to
119 <quote>Entering the Chroot Environment</quote>, must be done as the
120 <systemitem class="username">root</systemitem> user, with the LFS
121 environment variable set for the &root; user.</para>
124 <quote>所有者の変更</quote>から<quote>Chroot 環境への移行</quote>までの操作は、<systemitem class="username">root</systemitem> ユーザーで行います。
125 LFS 環境変数が &root; ユーザーにおいて設定されている必要があります。
130 <para> When entering chroot, the LFS environment variable must be set
131 for <systemitem class="username">root</systemitem>. The LFS
132 variable is not used after the chroot environment has been entered.</para>
135 chroot 環境に入った際には、環境変数 LFS が <systemitem class="username">root</systemitem> ユーザーにおいて設定されている必要があります。
136 chroot 環境に入った後は、LFS 変数は使いません。
141 <para> The virtual file systems must be mounted. This can be done
142 before or after entering chroot by changing to a host virtual terminal
143 and, as <systemitem class="username">root</systemitem>, running the
145 <xref linkend='ch-tools-bindmount'/> and
146 <xref linkend='ch-tools-kernfsmount'/>.</para>
149 仮想ファイルシステムがマウントされている必要があります。
150 これは chroot 環境への移行前後において、ホストの仮想端末を変更することで実現します。
151 <systemitem class="username">root</systemitem> ユーザーとなって <xref linkend='ch-tools-bindmount'/> と <xref
152 linkend='ch-tools-kernfsmount'/> を実行する必要があります。