1 |
r0bertz 08/05/03 21:46:35 |
2 |
|
3 |
Modified: handbook-amd64.xml handbook-hppa.xml |
4 |
handbook-ppc.xml handbook-ppc64.xml |
5 |
handbook-sparc.xml handbook-x86.xml |
6 |
hb-install-config.xml hb-install-gli-medium.xml |
7 |
hb-install-hppa-medium.xml |
8 |
hb-install-ppc-bootloader.xml |
9 |
hb-install-ppc-disk.xml hb-install-ppc-medium.xml |
10 |
hb-install-ppc64-bootloader.xml |
11 |
hb-install-ppc64-medium.xml |
12 |
hb-install-sparc-disk.xml |
13 |
hb-install-sparc-medium.xml |
14 |
Log: |
15 |
[zh_cn] updated handbooks |
16 |
|
17 |
Revision Changes Path |
18 |
1.6 xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-amd64.xml |
19 |
|
20 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-amd64.xml?rev=1.6&view=markup |
21 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-amd64.xml?rev=1.6&content-type=text/plain |
22 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-amd64.xml?r1=1.5&r2=1.6 |
23 |
|
24 |
Index: handbook-amd64.xml |
25 |
=================================================================== |
26 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-amd64.xml,v |
27 |
retrieving revision 1.5 |
28 |
retrieving revision 1.6 |
29 |
diff -u -r1.5 -r1.6 |
30 |
--- handbook-amd64.xml 26 Apr 2008 19:14:25 -0000 1.5 |
31 |
+++ handbook-amd64.xml 3 May 2008 21:46:35 -0000 1.6 |
32 |
@@ -1,10 +1,10 @@ |
33 |
<?xml version='1.0' encoding='UTF-8'?> |
34 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
35 |
|
36 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-amd64.xml,v 1.5 2008/04/26 19:14:25 r0bertz Exp $ --> |
37 |
-<!-- English CVS version: 1.7 --> |
38 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-amd64.xml,v 1.6 2008/05/03 21:46:35 r0bertz Exp $ --> |
39 |
+<!-- English CVS version: 1.8 --> |
40 |
|
41 |
-<book disclaimer="draft" lang="zh_cn"> |
42 |
+<book lang="zh_cn"> |
43 |
<title>Gentoo Linux 2008.0 AMD64无网络手册</title> |
44 |
|
45 |
<values> |
46 |
@@ -168,8 +168,8 @@ |
47 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
48 |
<license/> |
49 |
|
50 |
-<version>9.1</version> |
51 |
-<date>2008-04-27</date> |
52 |
+<version>9.2</version> |
53 |
+<date>2008-05-04</date> |
54 |
|
55 |
<part> |
56 |
<title>安装Gentoo</title> |
57 |
|
58 |
|
59 |
|
60 |
1.5 xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-hppa.xml |
61 |
|
62 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-hppa.xml?rev=1.5&view=markup |
63 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-hppa.xml?rev=1.5&content-type=text/plain |
64 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-hppa.xml?r1=1.4&r2=1.5 |
65 |
|
66 |
Index: handbook-hppa.xml |
67 |
=================================================================== |
68 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-hppa.xml,v |
69 |
retrieving revision 1.4 |
70 |
retrieving revision 1.5 |
71 |
diff -u -r1.4 -r1.5 |
72 |
--- handbook-hppa.xml 1 Apr 2008 21:34:31 -0000 1.4 |
73 |
+++ handbook-hppa.xml 3 May 2008 21:46:35 -0000 1.5 |
74 |
@@ -1,10 +1,10 @@ |
75 |
<?xml version='1.0' encoding='UTF-8'?> |
76 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
77 |
|
78 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-hppa.xml,v 1.4 2008/04/01 21:34:31 r0bertz Exp $ --> |
79 |
-<!-- English CVS version: 1.6 --> |
80 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-hppa.xml,v 1.5 2008/05/03 21:46:35 r0bertz Exp $ --> |
81 |
+<!-- English CVS version: 1.7 --> |
82 |
|
83 |
-<book disclaimer="draft" lang="zh_cn"> |
84 |
+<book lang="zh_cn"> |
85 |
<title>Gentoo Linux 2008.0 HPPA无网络手册</title> |
86 |
|
87 |
<values> |
88 |
@@ -169,8 +169,8 @@ |
89 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
90 |
<license/> |
91 |
|
92 |
-<version>9.0</version> |
93 |
-<date>2008-04-02</date> |
94 |
+<version>9.1</version> |
95 |
+<date>2008-05-04</date> |
96 |
|
97 |
<part> |
98 |
<title>安装Gentoo</title> |
99 |
|
100 |
|
101 |
|
102 |
1.7 xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc.xml |
103 |
|
104 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc.xml?rev=1.7&view=markup |
105 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc.xml?rev=1.7&content-type=text/plain |
106 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc.xml?r1=1.6&r2=1.7 |
107 |
|
108 |
Index: handbook-ppc.xml |
109 |
=================================================================== |
110 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc.xml,v |
111 |
retrieving revision 1.6 |
112 |
retrieving revision 1.7 |
113 |
diff -u -r1.6 -r1.7 |
114 |
--- handbook-ppc.xml 26 Apr 2008 19:14:25 -0000 1.6 |
115 |
+++ handbook-ppc.xml 3 May 2008 21:46:35 -0000 1.7 |
116 |
@@ -1,10 +1,10 @@ |
117 |
<?xml version='1.0' encoding='UTF-8'?> |
118 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
119 |
|
120 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc.xml,v 1.6 2008/04/26 19:14:25 r0bertz Exp $ --> |
121 |
-<!-- English CVS version: 1.9 --> |
122 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc.xml,v 1.7 2008/05/03 21:46:35 r0bertz Exp $ --> |
123 |
+<!-- English CVS version: 1.10 --> |
124 |
|
125 |
-<book disclaimer="draft" lang="zh_cn"> |
126 |
+<book lang="zh_cn"> |
127 |
<title>Gentoo Linux 2008.0 PPC无网络手册</title> |
128 |
|
129 |
<values> |
130 |
@@ -175,8 +175,8 @@ |
131 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
132 |
<license/> |
133 |
|
134 |
-<version>9.2</version> |
135 |
-<date>2008-04-27</date> |
136 |
+<version>9.3</version> |
137 |
+<date>2008-05-04</date> |
138 |
|
139 |
<part> |
140 |
<title>安装Gentoo</title> |
141 |
|
142 |
|
143 |
|
144 |
1.7 xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc64.xml |
145 |
|
146 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc64.xml?rev=1.7&view=markup |
147 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc64.xml?rev=1.7&content-type=text/plain |
148 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc64.xml?r1=1.6&r2=1.7 |
149 |
|
150 |
Index: handbook-ppc64.xml |
151 |
=================================================================== |
152 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc64.xml,v |
153 |
retrieving revision 1.6 |
154 |
retrieving revision 1.7 |
155 |
diff -u -r1.6 -r1.7 |
156 |
--- handbook-ppc64.xml 26 Apr 2008 19:14:25 -0000 1.6 |
157 |
+++ handbook-ppc64.xml 3 May 2008 21:46:35 -0000 1.7 |
158 |
@@ -1,10 +1,10 @@ |
159 |
<?xml version='1.0' encoding='UTF-8'?> |
160 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
161 |
|
162 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc64.xml,v 1.6 2008/04/26 19:14:25 r0bertz Exp $ --> |
163 |
-<!-- English CVS version: 1.9 --> |
164 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-ppc64.xml,v 1.7 2008/05/03 21:46:35 r0bertz Exp $ --> |
165 |
+<!-- English CVS version: 1.10 --> |
166 |
|
167 |
-<book disclaimer="draft" lang="zh_cn"> |
168 |
+<book lang="zh_cn"> |
169 |
<title>Gentoo Linux 2008.0 PPC64无网络手册</title> |
170 |
|
171 |
<values> |
172 |
@@ -168,8 +168,8 @@ |
173 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
174 |
<license/> |
175 |
|
176 |
-<version>9.2</version> |
177 |
-<date>2008-04-27</date> |
178 |
+<version>9.3</version> |
179 |
+<date>2008-05-04</date> |
180 |
|
181 |
<part> |
182 |
<title>安装Gentoo</title> |
183 |
|
184 |
|
185 |
|
186 |
1.6 xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-sparc.xml |
187 |
|
188 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-sparc.xml?rev=1.6&view=markup |
189 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-sparc.xml?rev=1.6&content-type=text/plain |
190 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-sparc.xml?r1=1.5&r2=1.6 |
191 |
|
192 |
Index: handbook-sparc.xml |
193 |
=================================================================== |
194 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-sparc.xml,v |
195 |
retrieving revision 1.5 |
196 |
retrieving revision 1.6 |
197 |
diff -u -r1.5 -r1.6 |
198 |
--- handbook-sparc.xml 26 Apr 2008 19:14:25 -0000 1.5 |
199 |
+++ handbook-sparc.xml 3 May 2008 21:46:35 -0000 1.6 |
200 |
@@ -1,10 +1,10 @@ |
201 |
<?xml version='1.0' encoding='UTF-8'?> |
202 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
203 |
|
204 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-sparc.xml,v 1.5 2008/04/26 19:14:25 r0bertz Exp $ --> |
205 |
-<!-- English CVS version: 1.7 --> |
206 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-sparc.xml,v 1.6 2008/05/03 21:46:35 r0bertz Exp $ --> |
207 |
+<!-- English CVS version: 1.8 --> |
208 |
|
209 |
-<book disclaimer="draft" lang="zh_cn"> |
210 |
+<book lang="zh_cn"> |
211 |
<title>Gentoo Linux 2008.0 SPARC无网络手册</title> |
212 |
|
213 |
<values> |
214 |
@@ -169,8 +169,8 @@ |
215 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
216 |
<license/> |
217 |
|
218 |
-<version>9.1</version> |
219 |
-<date>2008-04-27</date> |
220 |
+<version>9.2</version> |
221 |
+<date>2008-05-04</date> |
222 |
|
223 |
<part> |
224 |
<title>安装Gentoo</title> |
225 |
|
226 |
|
227 |
|
228 |
1.6 xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-x86.xml |
229 |
|
230 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-x86.xml?rev=1.6&view=markup |
231 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-x86.xml?rev=1.6&content-type=text/plain |
232 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-x86.xml?r1=1.5&r2=1.6 |
233 |
|
234 |
Index: handbook-x86.xml |
235 |
=================================================================== |
236 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-x86.xml,v |
237 |
retrieving revision 1.5 |
238 |
retrieving revision 1.6 |
239 |
diff -u -r1.5 -r1.6 |
240 |
--- handbook-x86.xml 26 Apr 2008 19:14:25 -0000 1.5 |
241 |
+++ handbook-x86.xml 3 May 2008 21:46:35 -0000 1.6 |
242 |
@@ -1,10 +1,10 @@ |
243 |
<?xml version='1.0' encoding='UTF-8'?> |
244 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
245 |
|
246 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-x86.xml,v 1.5 2008/04/26 19:14:25 r0bertz Exp $ --> |
247 |
-<!-- English CVS version: 1.7 --> |
248 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/handbook-x86.xml,v 1.6 2008/05/03 21:46:35 r0bertz Exp $ --> |
249 |
+<!-- English CVS version: 1.8 --> |
250 |
|
251 |
-<book disclaimer="draft" lang="zh_cn"> |
252 |
+<book lang="zh_cn"> |
253 |
<title>Gentoo Linux 2008.0 x86无网络手册</title> |
254 |
|
255 |
<values> |
256 |
@@ -168,8 +168,8 @@ |
257 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
258 |
<license/> |
259 |
|
260 |
-<version>9.1</version> |
261 |
-<date>2008-04-27</date> |
262 |
+<version>9.2</version> |
263 |
+<date>2008-05-04</date> |
264 |
|
265 |
<part> |
266 |
<title>安装Gentoo</title> |
267 |
|
268 |
|
269 |
|
270 |
1.6 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-config.xml |
271 |
|
272 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-config.xml?rev=1.6&view=markup |
273 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-config.xml?rev=1.6&content-type=text/plain |
274 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-config.xml?r1=1.5&r2=1.6 |
275 |
|
276 |
Index: hb-install-config.xml |
277 |
=================================================================== |
278 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-config.xml,v |
279 |
retrieving revision 1.5 |
280 |
retrieving revision 1.6 |
281 |
diff -u -r1.5 -r1.6 |
282 |
--- hb-install-config.xml 22 Apr 2008 19:25:40 -0000 1.5 |
283 |
+++ hb-install-config.xml 3 May 2008 21:46:35 -0000 1.6 |
284 |
@@ -4,13 +4,13 @@ |
285 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
286 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
287 |
|
288 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-config.xml,v 1.5 2008/04/22 19:25:40 r0bertz Exp $ --> |
289 |
-<!-- English CVS version: 1.6 --> |
290 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-config.xml,v 1.6 2008/05/03 21:46:35 r0bertz Exp $ --> |
291 |
+<!-- English CVS version: 1.7 --> |
292 |
|
293 |
<sections> |
294 |
|
295 |
-<version>9.1</version> |
296 |
-<date>2008-04-22</date> |
297 |
+<version>9.2</version> |
298 |
+<date>2008-05-04</date> |
299 |
|
300 |
<section> |
301 |
<title>文件系统信息</title> |
302 |
@@ -68,11 +68,7 @@ |
303 |
让我们看看<path>/boot</path>分区的挂载选项是怎么写的。这仅仅是个例子,如果你没有或者不能创建<path>/boot</path>,请不要复制它。 |
304 |
</p> |
305 |
|
306 |
-<p test="contains(func:keyval('/boot'), '/dev/hd')"> |
307 |
-在我们默认的<keyval id="arch"/>分区例子中,<path>/boot</path>通常是指<path><keyval id="/boot"/></path>分区(如果使用的是SCSI或者SATA设备的话,设备文件就会是<path>/dev/sda*</path>),文件系统类型通常采用<c>ext2</c>格式。由于这个分区在系统引导的时候需要检测,所以我们可以这样写: |
308 |
-</p> |
309 |
- |
310 |
-<p test="contains(func:keyval('/boot'), '/dev/sd')"> |
311 |
+<p> |
312 |
在我们默认的<keyval id="arch"/>分区例子中,<path>/boot</path>一般为<path><keyval id="/boot"/></path>分区,且采用<e>ext2</e>文件系统。这个分区在引导过程中需要自检,因此我们这样写: |
313 |
</p> |
314 |
|
315 |
@@ -87,14 +83,10 @@ |
316 |
</body> |
317 |
<body> |
318 |
|
319 |
-<p test="not(func:keyval('arch')='SPARC')"> |
320 |
+<p> |
321 |
增加符合你分区方案的规则,为你的光驱(当然,如果你有其他分区或者驱动器,也为它们)添加挂载规则。 |
322 |
</p> |
323 |
|
324 |
-<p test="func:keyval('arch')='SPARC'"> |
325 |
-增加符合你分区方案的规则,为<path>/proc/openprom</path>和你的光驱(当然,如果你有其他分区或者驱动器,也为它们)添加挂载规则。 |
326 |
-</p> |
327 |
- |
328 |
<p> |
329 |
现在就参考以下<e>例子</e>创建你的<path>/etc/fstab</path>: |
330 |
</p> |
331 |
@@ -122,23 +114,13 @@ |
332 |
/dev/sda5 /var ext3 noatime 0 2 |
333 |
/dev/sda6 /home ext3 noatime 0 2 |
334 |
|
335 |
+<comment># 必须添加这条openprom规则</comment> |
336 |
openprom /proc/openprom openpromfs defaults 0 0 |
337 |
|
338 |
/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
339 |
</pre> |
340 |
|
341 |
-<note test="func:keyval('arch')='PPC'"> |
342 |
-不同型号的PPC机器之间差别是很大的。请务必你根据自己的系统改写以下的例子。 |
343 |
-</note> |
344 |
- |
345 |
-<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='PPC'"> |
346 |
-/dev/hda4 / ext3 noatime 0 1 |
347 |
-/dev/hda3 none swap sw 0 0 |
348 |
- |
349 |
-/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
350 |
-</pre> |
351 |
- |
352 |
-<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='PPC64'"> |
353 |
+<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='PPC' or func:keyval('arch')='PPC64'"> |
354 |
/dev/sda4 / ext3 noatime 0 1 |
355 |
/dev/sda3 none swap sw 0 0 |
356 |
|
357 |
|
358 |
|
359 |
|
360 |
1.8 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-gli-medium.xml |
361 |
|
362 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-gli-medium.xml?rev=1.8&view=markup |
363 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-gli-medium.xml?rev=1.8&content-type=text/plain |
364 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-gli-medium.xml?r1=1.7&r2=1.8 |
365 |
|
366 |
Index: hb-install-gli-medium.xml |
367 |
=================================================================== |
368 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-gli-medium.xml,v |
369 |
retrieving revision 1.7 |
370 |
retrieving revision 1.8 |
371 |
diff -u -r1.7 -r1.8 |
372 |
--- hb-install-gli-medium.xml 22 Apr 2008 19:25:40 -0000 1.7 |
373 |
+++ hb-install-gli-medium.xml 3 May 2008 21:46:35 -0000 1.8 |
374 |
@@ -4,13 +4,13 @@ |
375 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
376 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
377 |
|
378 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-gli-medium.xml,v 1.7 2008/04/22 19:25:40 r0bertz Exp $ --> |
379 |
-<!-- English CVS version: 1.5 --> |
380 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-gli-medium.xml,v 1.8 2008/05/03 21:46:35 r0bertz Exp $ --> |
381 |
+<!-- English CVS version: 1.6 --> |
382 |
|
383 |
<sections> |
384 |
|
385 |
-<version>9.2</version> |
386 |
-<date>2008-04-22</date> |
387 |
+<version>9.3</version> |
388 |
+<date>2008-05-04</date> |
389 |
|
390 |
<section> |
391 |
<title>硬件需求</title> |
392 |
@@ -254,18 +254,18 @@ |
393 |
</p> |
394 |
|
395 |
<pre caption="测试硬盘性能"> |
396 |
-# <i>hdparm -tT /dev/hda</i> |
397 |
+# <i>hdparm -tT /dev/sda</i> |
398 |
</pre> |
399 |
|
400 |
<p> |
401 |
-为了调整性能,你可以使用下面任何一个实例(或者自己试验),它们都是以<path>/dev/hda </path>作为示例的对象(请替换成您使用的硬盘)。 |
402 |
+为了调整性能,你可以使用下面任何一个实例(或者自己试验),它们都是以<path>/dev/sda </path>作为示例的对象(请替换成您使用的硬盘)。 |
403 |
</p> |
404 |
|
405 |
<pre caption="调整硬盘性能"> |
406 |
<comment>(激活DMA:)</comment> |
407 |
-# <i>hdparm -d 1 /dev/hda</i> |
408 |
+# <i>hdparm -d 1 /dev/sda</i> |
409 |
<comment>(或使用安全的性能选项:)</comment> |
410 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
411 |
+# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/sda</i> |
412 |
</pre> |
413 |
|
414 |
</body> |
415 |
|
416 |
|
417 |
|
418 |
1.5 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-hppa-medium.xml |
419 |
|
420 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-hppa-medium.xml?rev=1.5&view=markup |
421 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-hppa-medium.xml?rev=1.5&content-type=text/plain |
422 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-hppa-medium.xml?r1=1.4&r2=1.5 |
423 |
|
424 |
Index: hb-install-hppa-medium.xml |
425 |
=================================================================== |
426 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-hppa-medium.xml,v |
427 |
retrieving revision 1.4 |
428 |
retrieving revision 1.5 |
429 |
diff -u -r1.4 -r1.5 |
430 |
--- hb-install-hppa-medium.xml 1 Apr 2008 21:34:31 -0000 1.4 |
431 |
+++ hb-install-hppa-medium.xml 3 May 2008 21:46:35 -0000 1.5 |
432 |
@@ -4,13 +4,13 @@ |
433 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
434 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
435 |
|
436 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-hppa-medium.xml,v 1.4 2008/04/01 21:34:31 r0bertz Exp $ --> |
437 |
-<!-- English CVS version: 1.3 --> |
438 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-hppa-medium.xml,v 1.5 2008/05/03 21:46:35 r0bertz Exp $ --> |
439 |
+<!-- English CVS version: 1.4 --> |
440 |
|
441 |
<sections> |
442 |
|
443 |
-<version>9.0</version> |
444 |
-<date>2008-04-02</date> |
445 |
+<version>9.1</version> |
446 |
+<date>2008-05-04</date> |
447 |
|
448 |
<section> |
449 |
<title>硬件需求</title> |
450 |
@@ -283,115 +283,8 @@ |
451 |
|
452 |
</body> |
453 |
</subsection> |
454 |
-<subsection id="hardware"> |
455 |
-<title>额外硬件配置</title> |
456 |
-<body> |
457 |
- |
458 |
-<p> |
459 |
-大多数hppa机器有一个板载以太网卡。旧的机器使用编译进内核的lasi驱动。新的机器使用编译成模块的tulip驱动。要使用后者,你需要加载它的驱动。 |
460 |
-</p> |
461 |
- |
462 |
-<p> |
463 |
-在下一个例子中,我们尝试加载<c>tulip</c>模块(支持某种网卡): |
464 |
-</p> |
465 |
- |
466 |
-<pre caption="加载内核模块"> |
467 |
-# <i>modprobe tulip</i> |
468 |
-</pre> |
469 |
- |
470 |
-</body> |
471 |
-</subsection> |
472 |
- |
473 |
-<subsection id="useraccounts"> |
474 |
-<title>可选:用户帐号</title> |
475 |
-<body> |
476 |
- |
477 |
-<p> |
478 |
-如果你打算给其他的人提供你的安装环境的访问权限,或者你不想用root用户权限(因为安全原因)使用irssi聊天,你需要创建必要的用户帐号,并改变root用户的密码。 |
479 |
-</p> |
480 |
- |
481 |
-<p> |
482 |
-使用<c>passwd</c>命令来修改root用户密码: |
483 |
-</p> |
484 |
- |
485 |
-<pre caption="修改root用户密码"> |
486 |
-# <i>passwd</i> |
487 |
-New password: <comment>(请输入新的密码)</comment> |
488 |
-Re-enter password: <comment>(请再次输入你的密码)</comment> |
489 |
-</pre> |
490 |
- |
491 |
-<p> |
492 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为“john”的用户。 |
493 |
-</p> |
494 |
- |
495 |
-<pre caption="创建一个新用户"> |
496 |
-# <i>useradd -m -G users john</i> |
497 |
-# <i>passwd john</i> |
498 |
-New password: <comment>(输入john的密码)</comment> |
499 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
500 |
-</pre> |
501 |
- |
502 |
-<p> |
503 |
-你可以使用su从root用户切换到新建的用户: |
504 |
-</p> |
505 |
- |
506 |
-<pre caption="切换用户"> |
507 |
-# <i>su - john</i> |
508 |
-</pre> |
509 |
- |
510 |
-</body> |
511 |
-</subsection> |
512 |
<subsection> |
513 |
-<title>可选:在安装时查看文档</title> |
514 |
-<body> |
515 |
- |
516 |
-<p> |
517 |
-如果你想在安装的时候查看Gentoo手册(不管是光盘中的还是在线的),确认你已经创建好了一个用户帐号(查看可选:<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
518 |
-</p> |
519 |
- |
520 |
-<p> |
521 |
-如果你想查看光盘里的文档,你可以立即运行<c>links</c>来阅读: |
522 |
-</p> |
523 |
- |
524 |
-<pre caption="查看光盘里的文档"> |
525 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
526 |
-</pre> |
527 |
- |
528 |
-<p> |
529 |
-不过,首选的还是在线查看Gentoo手册,因为这比光盘里提供的要新。你也可以使用<c>links</c>阅读它,但是必须在完成<e>配置网络</e>这一章后才行(否则你不能到因特网上查看文档): |
530 |
-</p> |
531 |
- |
532 |
-<pre caption="查看在线文档"> |
533 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/handbook-hppa.xml<keyval id="online-book"/></i> |
534 |
-</pre> |
535 |
- |
536 |
-<p> |
537 |
-你可以按<c>Alf-F1</c>来回到原来的终端。 |
538 |
-</p> |
539 |
- |
540 |
-</body> |
541 |
-</subsection> |
542 |
-<subsection> |
543 |
-<title>可选:启动SSH服务</title> |
544 |
-<body> |
545 |
- |
546 |
-<p> |
547 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
548 |
-</p> |
549 |
- |
550 |
-<p> |
551 |
-执行下面的命令来启动SSH服务: |
552 |
-</p> |
553 |
- |
554 |
-<pre caption="启动SSH服务"> |
555 |
-# <i>/etc/init.d/sshd start</i> |
556 |
-</pre> |
557 |
- |
558 |
-<p> |
559 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
560 |
-</p> |
561 |
- |
562 |
-</body> |
563 |
+<include href="../hb-install-bootconfig.xml"/> |
564 |
</subsection> |
565 |
</section> |
566 |
</sections> |
567 |
|
568 |
|
569 |
|
570 |
1.5 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-bootloader.xml |
571 |
|
572 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-bootloader.xml?rev=1.5&view=markup |
573 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-bootloader.xml?rev=1.5&content-type=text/plain |
574 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-bootloader.xml?r1=1.4&r2=1.5 |
575 |
|
576 |
Index: hb-install-ppc-bootloader.xml |
577 |
=================================================================== |
578 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-bootloader.xml,v |
579 |
retrieving revision 1.4 |
580 |
retrieving revision 1.5 |
581 |
diff -u -r1.4 -r1.5 |
582 |
--- hb-install-ppc-bootloader.xml 1 Apr 2008 21:34:31 -0000 1.4 |
583 |
+++ hb-install-ppc-bootloader.xml 3 May 2008 21:46:35 -0000 1.5 |
584 |
@@ -3,12 +3,12 @@ |
585 |
|
586 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
587 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
588 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-bootloader.xml,v 1.4 2008/04/01 21:34:31 r0bertz Exp $ --> |
589 |
-<!-- English CVS version: 1.4 --> |
590 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-bootloader.xml,v 1.5 2008/05/03 21:46:35 r0bertz Exp $ --> |
591 |
+<!-- English CVS version: 1.5 --> |
592 |
<sections> |
593 |
|
594 |
-<version>9.0</version> |
595 |
-<date>2008-04-02</date> |
596 |
+<version>9.1</version> |
597 |
+<date>2008-05-04</date> |
598 |
|
599 |
<section> |
600 |
<title>选择一个引导程序</title> |
601 |
@@ -68,7 +68,7 @@ |
602 |
partition=3 |
603 |
initrd=/boot/initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/> |
604 |
<comment># 你可以在此附加上额外的内核参数比如rootdelay=10用于USB/Firewire启动</comment> |
605 |
- append="real_root=/dev/hda3 init=/linuxrc" |
606 |
+ append="real_root=/dev/sda3 init=/linuxrc" |
607 |
read-only |
608 |
<comment>##########################################################</comment> |
609 |
</pre> |
610 |
@@ -99,7 +99,7 @@ |
611 |
</pre> |
612 |
|
613 |
<p> |
614 |
-现在退出chroot并运行<c>yabootconfig --chroot /mnt/gentoo</c>。首先,程序会确认bootstrap分区的位置。如果你使用了建议的磁盘分区布局,那你的bootstrap分区应该是/dev/hda2。如果输出正确请键入<c>Y</c>。如果出现错误,请再次仔细检查你的<path>/etc/fstab</path>。<c>yabootconfig</c>会接着扫描你的系统设置,创建<path>/etc/yaboot.conf</path>并运行<c>mkofboot</c>。<c>mkofboot</c>是格式化Apple_Bootstrap分区以及安装yaboot的配置文件用的。在此之后请再次进入chroot。 |
615 |
+现在退出chroot并运行<c>yabootconfig --chroot /mnt/gentoo</c>。首先,程序会确认bootstrap分区的位置。如果你使用了建议的磁盘分区布局,那你的bootstrap分区应该是/dev/sda2。如果输出正确请键入<c>Y</c>。如果出现错误,请再次仔细检查你的<path>/etc/fstab</path>。<c>yabootconfig</c>会接着扫描你的系统设置,创建<path>/etc/yaboot.conf</path>并运行<c>mkofboot</c>。<c>mkofboot</c>是格式化Apple_Bootstrap分区以及安装yaboot的配置文件用的。在此之后请再次进入chroot。 |
616 |
</p> |
617 |
|
618 |
<pre caption="重新进入chroot"> |
619 |
@@ -130,7 +130,7 @@ |
620 |
</pre> |
621 |
|
622 |
<p> |
623 |
-虽然下面给出了一个<path>yaboot.conf</path>示例文件,但是你仍然需要通过修改它来满足你自己的要求。G5用户以及使用firewire和USB启动的用户应该注意他们的磁盘被Linux内核认为是SCSI磁盘,所以你需要将<path>/dev/hda</path>替换成<path>/dev/sda</path>。 |
624 |
+虽然下面给出了一个<path>yaboot.conf</path>示例文件,但是你仍然需要通过修改它来满足你自己的要求。 |
625 |
</p> |
626 |
|
627 |
<pre caption = "/etc/yaboot.conf"> |
628 |
@@ -140,16 +140,16 @@ |
629 |
## 也可以参考:/usr/share/doc/yaboot/examples可以得到一些配置的示例。 |
630 |
## |
631 |
## 如果需要双重启动菜单,请添加以下一项或多项: |
632 |
-## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ |
633 |
+## bsd=/dev/sdaX, macos=/dev/sdaY, macosx=/dev/sdaZ |
634 |
|
635 |
## bootstrap分区:</comment> |
636 |
|
637 |
-boot=/dev/hda2 |
638 |
+boot=/dev/sda2 |
639 |
|
640 |
<comment>## ofboot是Open Firmware的指定bootstrap分区的方式。 |
641 |
## 如果没有定义过这个变量,则yaboot会在G5和某些G4机器上失效(除非 |
642 |
## 你将一些必要的参数传给mkofboot/ybin程序)。 |
643 |
-## hd:X表示/dev/sdaX(或/dev/hdaX)。 |
644 |
+## hd:X表示/dev/sdaX。 |
645 |
|
646 |
## G5用户应该去掉这一行的注释!! |
647 |
|
648 |
@@ -182,7 +182,7 @@ |
649 |
###########################################################</comment> |
650 |
image=/boot/<keyval id="kernel-name"/> |
651 |
label=Linux |
652 |
- root=/dev/hda3 |
653 |
+ root=/dev/sda3 |
654 |
partition=3 |
655 |
<comment># append="rootdelay=10" # 从USB/Firewire启动时必需</comment> |
656 |
read-only |
657 |
@@ -192,8 +192,8 @@ |
658 |
## macos=hd:13 |
659 |
## macosx=hd:12 |
660 |
## 用以替代示例值。</comment> |
661 |
-macos=/dev/hda13 |
662 |
-macosx=/dev/hda12 |
663 |
+macos=/dev/sda13 |
664 |
+macosx=/dev/sda12 |
665 |
enablecdboot |
666 |
enableofboot |
667 |
</pre> |
668 |
@@ -301,7 +301,7 @@ |
669 |
init-message = "Gentoo 2008.0\n" |
670 |
<comment># 这个是启动分区</comment> |
671 |
partition = 2 |
672 |
-root = /dev/hda4 |
673 |
+root = /dev/sda4 |
674 |
timeout = 30 |
675 |
default = gentoo |
676 |
<comment># 这个是你的内核</comment> |
677 |
@@ -327,7 +327,7 @@ |
678 |
# <i>nvsetenv input-device kbd</i> |
679 |
# <i>nvsetenv boot-device scsi/sd@1:0</i> <comment># 对应SCSI</comment> |
680 |
# <i>nvsetenv boot-device ata/ata-disk@0:0</i> <comment># 对应ATA</comment> |
681 |
-# <i>nvsetenv boot-file /boot/<keyval id="kernel-name"/> root=/dev/hda4</i> <comment>第一项是内核的路径,第二项是root分区。你可以在这一行末尾附加任何的内核选项。</comment> |
682 |
+# <i>nvsetenv boot-file /boot/<keyval id="kernel-name"/> root=/dev/sda4</i> <comment>第一项是内核的路径,第二项是root分区。你可以在这一行末尾附加任何的内核选项。</comment> |
683 |
# <i>nvsetenv boot-command boot</i> <comment># 对于MacOS来说设置成bye,对于Linux来说设置成boot</comment> |
684 |
</pre> |
685 |
|
686 |
@@ -400,11 +400,11 @@ |
687 |
|
688 |
[SECTION] |
689 |
Local HD -> Linux (Normal) |
690 |
-ide:0 <keyval id="kernel-name"/> video=radeonfb:1024x768@70 root=/dev/hda3 |
691 |
+ide:0 <keyval id="kernel-name"/> video=radeonfb:1024x768@70 root=/dev/sda3 |
692 |
|
693 |
[SECTION] |
694 |
Local HD -> Genkernel (Normal) |
695 |
-ide:0 kernel-genkernel-ppc-<keyval id="kernel-gentoo"/> root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc initrd=initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/> |
696 |
+ide:0 kernel-genkernel-ppc-<keyval id="kernel-gentoo"/> root=/dev/ram0 real_root=/dev/sda3 init=/linuxrc initrd=initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/> |
697 |
</pre> |
698 |
|
699 |
<p> |
700 |
|
701 |
|
702 |
|
703 |
1.5 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-disk.xml |
704 |
|
705 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-disk.xml?rev=1.5&view=markup |
706 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-disk.xml?rev=1.5&content-type=text/plain |
707 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-disk.xml?r1=1.4&r2=1.5 |
708 |
|
709 |
Index: hb-install-ppc-disk.xml |
710 |
=================================================================== |
711 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-disk.xml,v |
712 |
retrieving revision 1.4 |
713 |
retrieving revision 1.5 |
714 |
diff -u -r1.4 -r1.5 |
715 |
--- hb-install-ppc-disk.xml 1 Apr 2008 21:34:31 -0000 1.4 |
716 |
+++ hb-install-ppc-disk.xml 3 May 2008 21:46:35 -0000 1.5 |
717 |
@@ -4,11 +4,11 @@ |
718 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
719 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
720 |
<!-- $Header --> |
721 |
-<!-- English CVS version: 1.4 --> |
722 |
+<!-- English CVS version: 1.5 --> |
723 |
<sections> |
724 |
|
725 |
-<version>9.0</version> |
726 |
-<date>2008-04-02</date> |
727 |
+<version>9.1</version> |
728 |
+<date>2008-05-04</date> |
729 |
|
730 |
<section> |
731 |
<title>块设备介绍</title> |
732 |
@@ -62,25 +62,25 @@ |
733 |
<th>描述</th> |
734 |
</tr> |
735 |
<tr> |
736 |
- <ti><path>/dev/hda1</path></ti> |
737 |
+ <ti><path>/dev/sda1</path></ti> |
738 |
<ti>32k</ti> |
739 |
<ti>无</ti> |
740 |
<ti>Apple分区表</ti> |
741 |
</tr> |
742 |
<tr> |
743 |
- <ti><path>/dev/hda2</path></ti> |
744 |
+ <ti><path>/dev/sda2</path></ti> |
745 |
<ti>800k</ti> |
746 |
<ti>HFS</ti> |
747 |
<ti>Apple Bootstrap</ti> |
748 |
</tr> |
749 |
<tr> |
750 |
- <ti><path>/dev/hda3</path></ti> |
751 |
+ <ti><path>/dev/sda3</path></ti> |
752 |
<ti>512MB</ti> |
753 |
<ti>Swap</ti> |
754 |
<ti>Linux交换分区</ti> |
755 |
</tr> |
756 |
<tr> |
757 |
- <ti><path>/dev/hda4</path></ti> |
758 |
+ <ti><path>/dev/sda4</path></ti> |
759 |
<ti>磁盘剩余空间</ti> |
760 |
<ti>ext3, reiserfs, xfs</ti> |
761 |
<ti>Linux Root分区</ti> |
762 |
@@ -109,25 +109,25 @@ |
763 |
<th>描述</th> |
764 |
</tr> |
765 |
<tr> |
766 |
- <ti><path>/dev/hda1</path></ti> |
767 |
+ <ti><path>/dev/sda1</path></ti> |
768 |
<ti>32k</ti> |
769 |
<ti>无</ti> |
770 |
<ti>Apple分区表</ti> |
771 |
</tr> |
772 |
<tr> |
773 |
- <ti><path>/dev/hda2</path></ti> |
774 |
+ <ti><path>/dev/sda2</path></ti> |
775 |
<ti>32MB</ti> |
776 |
<ti>ext2</ti> |
777 |
<ti>Quik启动分区(只针对quik)</ti> |
778 |
</tr> |
779 |
<tr> |
780 |
- <ti><path>/dev/hda3</path></ti> |
781 |
+ <ti><path>/dev/sda3</path></ti> |
782 |
<ti>512MB</ti> |
783 |
<ti>Swap</ti> |
784 |
<ti>Linux交换分区</ti> |
785 |
</tr> |
786 |
<tr> |
787 |
- <ti><path>/dev/hda4</path></ti> |
788 |
+ <ti><path>/dev/sda4</path></ti> |
789 |
<ti>磁盘剩余空间</ti> |
790 |
<ti>ext3, reiserfs, xfs</ti> |
791 |
<ti>Linux Root分区</ti> |
792 |
@@ -152,19 +152,19 @@ |
793 |
<th>描述</th> |
794 |
</tr> |
795 |
<tr> |
796 |
- <ti><path>/dev/hda1</path></ti> |
797 |
+ <ti><path>/dev/sda1</path></ti> |
798 |
<ti>32MB</ti> |
799 |
<ti>affs1或ext2</ti> |
800 |
<ti>启动分区</ti> |
801 |
</tr> |
802 |
<tr> |
803 |
- <ti><path>/dev/hda2</path></ti> |
804 |
+ <ti><path>/dev/sda2</path></ti> |
805 |
<ti>512MB</ti> |
806 |
<ti>Swap</ti> |
807 |
<ti>Linux交换分区</ti> |
808 |
</tr> |
809 |
<tr> |
810 |
- <ti><path>/dev/hda3</path></ti> |
811 |
+ <ti><path>/dev/sda3</path></ti> |
812 |
<ti>磁盘剩余空间</ti> |
813 |
<ti>ext3, reiserfs, xfs</ti> |
814 |
<ti>Linux Root分区</ti> |
815 |
@@ -189,19 +189,19 @@ |
816 |
<th>描述</th> |
817 |
</tr> |
818 |
<tr> |
819 |
- <ti><path>/dev/hda1</path></ti> |
820 |
+ <ti><path>/dev/sda1</path></ti> |
821 |
<ti>800k</ti> |
822 |
<ti>无</ti> |
823 |
<ti>PReP Boot分区(类型 0x41)</ti> |
824 |
</tr> |
825 |
<tr> |
826 |
- <ti><path>/dev/hda2</path></ti> |
827 |
+ <ti><path>/dev/sda2</path></ti> |
828 |
<ti>512MB</ti> |
829 |
<ti>Swap</ti> |
830 |
<ti>Linux Swap (类型0x82)</ti> |
831 |
</tr> |
832 |
<tr> |
833 |
- <ti><path>/dev/hda3</path></ti> |
834 |
+ <ti><path>/dev/sda3</path></ti> |
835 |
<ti>磁盘剩余空间</ti> |
836 |
<ti>ext3, reiserfs, xfs</ti> |
837 |
<ti>Linux Root (类型0x83)</ti> |
838 |
@@ -261,7 +261,7 @@ |
839 |
</p> |
840 |
|
841 |
<pre caption="启动mac-fdisk"> |
842 |
-# <i>mac-fdisk /dev/hda</i> |
843 |
+# <i>mac-fdisk /dev/sda</i> |
844 |
</pre> |
845 |
|
846 |
<p> |
847 |
@@ -311,7 +311,7 @@ |
848 |
</p> |
849 |
|
850 |
<pre caption="启动parted"> |
851 |
-# <i>parted /dev/hda</i> |
852 |
+# <i>parted /dev/sda</i> |
853 |
</pre> |
854 |
|
855 |
<p> |
856 |
@@ -364,7 +364,7 @@ |
857 |
</p> |
858 |
|
859 |
<pre caption="创建一个交换分区签名"> |
860 |
-# <i>mkswap /dev/hda3</i> |
861 |
+# <i>mkswap /dev/sda3</i> |
862 |
</pre> |
863 |
|
864 |
<p> |
865 |
@@ -372,7 +372,7 @@ |
866 |
</p> |
867 |
|
868 |
<pre caption="激活一个交换分区"> |
869 |
-# <i>swapon /dev/hda3</i> |
870 |
+# <i>swapon /dev/sda3</i> |
871 |
</pre> |
872 |
|
873 |
<p> |
874 |
@@ -413,11 +413,11 @@ |
875 |
</table> |
876 |
|
877 |
<p> |
878 |
-例如,将root分区(本例中的<path>/dev/hda4</path>)设为ext3,你应该使用: |
879 |
+例如,将root分区(本例中的<path>/dev/sda4</path>)设为ext3,你应该使用: |
880 |
</p> |
881 |
|
882 |
<pre caption="应用一个文件系统到分区上"> |
883 |
-# <i>mke2fs -j /dev/hda4</i> |
884 |
+# <i>mke2fs -j /dev/sda4</i> |
885 |
</pre> |
886 |
|
887 |
<p> |
888 |
@@ -444,7 +444,7 @@ |
889 |
</p> |
890 |
|
891 |
<pre caption="挂载分区"> |
892 |
-# <i>mount /dev/hda4 /mnt/gentoo</i> |
893 |
+# <i>mount /dev/sda4 /mnt/gentoo</i> |
894 |
</pre> |
895 |
|
896 |
<note> |
897 |
|
898 |
|
899 |
|
900 |
1.5 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-medium.xml |
901 |
|
902 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-medium.xml?rev=1.5&view=markup |
903 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-medium.xml?rev=1.5&content-type=text/plain |
904 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-medium.xml?r1=1.4&r2=1.5 |
905 |
|
906 |
Index: hb-install-ppc-medium.xml |
907 |
=================================================================== |
908 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc-medium.xml,v |
909 |
retrieving revision 1.4 |
910 |
retrieving revision 1.5 |
911 |
diff -u -r1.4 -r1.5 |
912 |
--- hb-install-ppc-medium.xml 1 Apr 2008 21:34:31 -0000 1.4 |
913 |
+++ hb-install-ppc-medium.xml 3 May 2008 21:46:35 -0000 1.5 |
914 |
@@ -4,11 +4,11 @@ |
915 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
916 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
917 |
<!-- $Header --> |
918 |
-<!-- English CVS version: 1.4 --> |
919 |
+<!-- English CVS version: 1.5 --> |
920 |
<sections> |
921 |
|
922 |
-<version>9.0</version> |
923 |
-<date>2008-04-02</date> |
924 |
+<version>9.1</version> |
925 |
+<date>2008-05-04</date> |
926 |
|
927 |
<section> |
928 |
<title>硬件需求</title> |
929 |
@@ -321,147 +321,8 @@ |
930 |
|
931 |
</body> |
932 |
</subsection> |
933 |
-<subsection id="hardware"> |
934 |
-<title>额外硬件配置</title> |
935 |
-<body> |
936 |
- |
937 |
-<p> |
938 |
-当安装光盘启动时,它会尝试检测所有的硬件设备和加载准确的内核模块来支持这些硬件。绝大多数情况下,它会做的很好。但是,有些情况下,它可能没有自动加载你需要的内核模块。如果PCI自动检测错过了你系统里的一些硬件,你需要手动为它们加载相应的内核模块。 |
939 |
-</p> |
940 |
- |
941 |
-<p> |
942 |
-在下一个例子中我们会试图装载<c>airport</c>模块。这个模块仅支持老式的Airport卡(802.11b)。由于固件发布的限制,安装光盘暂不支持Airport Extreme(802.11g)。 |
943 |
-</p> |
944 |
- |
945 |
-<pre caption="加载airport模块"> |
946 |
-# <i>modprobe airport</i> |
947 |
-</pre> |
948 |
- |
949 |
-<p> |
950 |
-在一些老式的iMac机器上,有时网卡无法被正常识别出来。这时需要用到BMAC驱动: |
951 |
-</p> |
952 |
- |
953 |
-<pre caption="加载bmac模块"> |
954 |
-# <i>modprobe bmac</i> |
955 |
-</pre> |
956 |
- |
957 |
-</body> |
958 |
-</subsection> |
959 |
<subsection> |
960 |
-<title>可选:调整硬盘性能</title> |
961 |
-<body> |
962 |
- |
963 |
-<p> |
964 |
-如果你是高级用户,你可能想使用<c>hdparm</c>调整IDE硬盘的性能。你可以使用<c>-tT</c>选项来测试你的硬盘的性能(多执行几次以得到更精确的结果): |
965 |
-</p> |
966 |
- |
967 |
-<pre caption="测试硬盘性能"> |
968 |
-# <i>hdparm -tT /dev/hda</i> |
969 |
-</pre> |
970 |
- |
971 |
-<p> |
972 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<path>/dev/hda</path>作为例子(请把它替换成你目前使用的硬盘) |
973 |
-</p> |
974 |
- |
975 |
-<pre caption="调整硬盘性能"> |
976 |
-<comment>激活DMA:</comment> |
977 |
-# <i>hdparm -d 1 /dev/hda</i> |
978 |
-<comment>激活DMA,并附加安全增强选项:</comment> |
979 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
980 |
-</pre> |
981 |
- |
982 |
-</body> |
983 |
-</subsection> |
984 |
-<subsection id="useraccounts"> |
985 |
-<title>可选:用户帐号</title> |
986 |
-<body> |
987 |
- |
988 |
-<p> |
989 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用<c>irssi</c>聊天的话,你需要创建必要的用户帐号,并改变root用户的密码。 |
990 |
-</p> |
991 |
- |
992 |
-<p> |
993 |
-使用<c>passwd</c>工具来修改root用户密码: |
994 |
-</p> |
995 |
- |
996 |
-<pre caption="修改root用户密码"> |
997 |
-# <i>passwd</i> |
998 |
-New password: <comment>(输入新密码)</comment> |
999 |
-Re-enter password: <comment>(再次输入密码)</comment> |
1000 |
-</pre> |
1001 |
- |
1002 |
-<p> |
1003 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为"john"的用户。 |
1004 |
-</p> |
1005 |
- |
1006 |
-<pre caption="创建一个新用户"> |
1007 |
-# <i>useradd -m -G users john</i> |
1008 |
-# <i>passwd john</i> |
1009 |
-New password: <comment>(输入john的密码)</comment> |
1010 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
1011 |
-</pre> |
1012 |
- |
1013 |
-<p> |
1014 |
-你可以使用<c>su</c>从root用户切换到新建的用户: |
1015 |
-</p> |
1016 |
- |
1017 |
-<pre caption="切换用户"> |
1018 |
-# <i>su - john</i> |
1019 |
-</pre> |
1020 |
- |
1021 |
-</body> |
1022 |
-</subsection> |
1023 |
-<subsection> |
1024 |
-<title>可选:在安装时查看文档</title> |
1025 |
-<body> |
1026 |
- |
1027 |
-<p> |
1028 |
-如果你想在安装的时候查看Gentoo手册(不管是光盘中的还是在线的),请确认你已经创建好了一个用户帐号(请查看<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
1029 |
-</p> |
1030 |
- |
1031 |
-<p> |
1032 |
-如果你想查看光盘里的文档,你可以立即运行<c>links</c>或<c>links -g</c>用一个图形化的浏览器来阅读文档: |
1033 |
-</p> |
1034 |
- |
1035 |
-<pre caption="查看光盘里的文档"> |
1036 |
-# <i>links /mnt/cdrom/docs/html/index.html</i> |
1037 |
-</pre> |
1038 |
- |
1039 |
-<p> |
1040 |
-不过,首选的还是在线查看Gentoo手册,因为它比光盘里提供的要新。你也可以使用<c>links</c>阅读它,但是必须在完成<e>配置网络</e>这一章后才行(否则你不能到因特网上查看文档): |
1041 |
-</p> |
1042 |
- |
1043 |
-<pre caption="查看在线文档"> |
1044 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/<keyval id="online-book"/></i> |
1045 |
-</pre> |
1046 |
- |
1047 |
-<p> |
1048 |
-你可以按<c>Alt-F1</c>来回到原来的终端。 |
1049 |
-</p> |
1050 |
- |
1051 |
-</body> |
1052 |
-</subsection> |
1053 |
-<subsection> |
1054 |
-<title>可选:启动SSH服务</title> |
1055 |
-<body> |
1056 |
- |
1057 |
-<p> |
1058 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
1059 |
-</p> |
1060 |
- |
1061 |
-<p> |
1062 |
-执行下面的命令来启动SSH服务: |
1063 |
-</p> |
1064 |
- |
1065 |
-<pre caption="启动SSH服务"> |
1066 |
-# <i>/etc/init.d/sshd start</i> |
1067 |
-</pre> |
1068 |
- |
1069 |
-<p> |
1070 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
1071 |
-</p> |
1072 |
- |
1073 |
-</body> |
1074 |
+<include href="../hb-install-bootconfig.xml"/> |
1075 |
</subsection> |
1076 |
</section> |
1077 |
</sections> |
1078 |
|
1079 |
|
1080 |
|
1081 |
1.5 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-bootloader.xml |
1082 |
|
1083 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-bootloader.xml?rev=1.5&view=markup |
1084 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-bootloader.xml?rev=1.5&content-type=text/plain |
1085 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-bootloader.xml?r1=1.4&r2=1.5 |
1086 |
|
1087 |
Index: hb-install-ppc64-bootloader.xml |
1088 |
=================================================================== |
1089 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-bootloader.xml,v |
1090 |
retrieving revision 1.4 |
1091 |
retrieving revision 1.5 |
1092 |
diff -u -r1.4 -r1.5 |
1093 |
--- hb-install-ppc64-bootloader.xml 1 Apr 2008 21:34:31 -0000 1.4 |
1094 |
+++ hb-install-ppc64-bootloader.xml 3 May 2008 21:46:35 -0000 1.5 |
1095 |
@@ -3,12 +3,12 @@ |
1096 |
|
1097 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1098 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1099 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-bootloader.xml,v 1.4 2008/04/01 21:34:31 r0bertz Exp $ --> |
1100 |
-<!-- English CVS version: 1.3 --> |
1101 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-bootloader.xml,v 1.5 2008/05/03 21:46:35 r0bertz Exp $ --> |
1102 |
+<!-- English CVS version: 1.4 --> |
1103 |
<sections> |
1104 |
|
1105 |
-<version>9.0</version> |
1106 |
-<date>2008-04-02</date> |
1107 |
+<version>9.1</version> |
1108 |
+<date>2008-05-04</date> |
1109 |
|
1110 |
<section> |
1111 |
<title>做出您的选择</title> |
1112 |
@@ -110,20 +110,20 @@ |
1113 |
## 也可以参考:/usr/share/doc/yaboot/examples可以得到一些配置的示例。 |
1114 |
|
1115 |
## 如果需要双重启动菜单,请添加以下一项或多项: |
1116 |
-## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ |
1117 |
+## bsd=/dev/sdaX, macos=/dev/sdaY, macosx=/dev/sdaZ |
1118 |
|
1119 |
## 我们的bootstrap分区:</comment> |
1120 |
|
1121 |
-boot=/dev/hda2 |
1122 |
+boot=/dev/sda2 |
1123 |
|
1124 |
<comment>## ofboot是Open Fireware指定bootstrap分区的方式。 |
1125 |
## 如果没有定义过这个变量,则yaboot会在G5和某些G4机器上失效(除非 |
1126 |
## 你将一些必要的参数传给mkofboot/ybin程序)。 |
1127 |
-## hd:X表示/dev/sdaX(或/dev/hdaX)。</comment> |
1128 |
+## hd:X表示/dev/sdaX。</comment> |
1129 |
|
1130 |
ofboot=hd:2 |
1131 |
|
1132 |
-<comment>## hd:是open firmware称呼hda的方式</comment> |
1133 |
+<comment>## hd:是open firmware称呼sda的方式</comment> |
1134 |
device=hd: |
1135 |
|
1136 |
delay=5 |
1137 |
@@ -137,7 +137,7 @@ |
1138 |
## ——用你的内核版本替换<keyval id="kernel-name"/> #################</comment> |
1139 |
image=/boot/<keyval id="kernel-name"/> |
1140 |
label=Linux |
1141 |
- root=/dev/hda3 |
1142 |
+ root=/dev/sda3 |
1143 |
partition=3 |
1144 |
read-only |
1145 |
|
1146 |
|
1147 |
|
1148 |
|
1149 |
1.5 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-medium.xml |
1150 |
|
1151 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-medium.xml?rev=1.5&view=markup |
1152 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-medium.xml?rev=1.5&content-type=text/plain |
1153 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-medium.xml?r1=1.4&r2=1.5 |
1154 |
|
1155 |
Index: hb-install-ppc64-medium.xml |
1156 |
=================================================================== |
1157 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-medium.xml,v |
1158 |
retrieving revision 1.4 |
1159 |
retrieving revision 1.5 |
1160 |
diff -u -r1.4 -r1.5 |
1161 |
--- hb-install-ppc64-medium.xml 1 Apr 2008 21:34:31 -0000 1.4 |
1162 |
+++ hb-install-ppc64-medium.xml 3 May 2008 21:46:35 -0000 1.5 |
1163 |
@@ -3,12 +3,12 @@ |
1164 |
|
1165 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1166 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1167 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-medium.xml,v 1.4 2008/04/01 21:34:31 r0bertz Exp $ --> |
1168 |
-<!-- English CVS version: 1.3 --> |
1169 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-ppc64-medium.xml,v 1.5 2008/05/03 21:46:35 r0bertz Exp $ --> |
1170 |
+<!-- English CVS version: 1.4 --> |
1171 |
<sections> |
1172 |
|
1173 |
-<version>9.0</version> |
1174 |
-<date>2008-04-02</date> |
1175 |
+<version>9.1</version> |
1176 |
+<date>2008-05-04</date> |
1177 |
|
1178 |
<section> |
1179 |
<title>硬件需求</title> |
1180 |
@@ -307,139 +307,8 @@ |
1181 |
|
1182 |
</body> |
1183 |
</subsection> |
1184 |
-<subsection id="hardware"> |
1185 |
-<title>额外硬件配置</title> |
1186 |
-<body> |
1187 |
- |
1188 |
-<p> |
1189 |
-当安装光盘启动时,它会尝试检测所有的硬件设备和加载准确的内核模块来支持这些硬件。绝大多数情况下,它会做的很好。但是,有些情况下,它可能没有自动加载你需要的内核模块。如果PCI自动检测错过了你系统里的一些硬件,你需要手动为它们加载相应的内核模块。 |
1190 |
-</p> |
1191 |
- |
1192 |
-<p> |
1193 |
-在下一个例子中,我们尝试加载<c>8139too</c>模块(支持某种网卡): |
1194 |
-</p> |
1195 |
- |
1196 |
-<pre caption="加载内核模块"> |
1197 |
-# <i>modprobe 8139too</i> |
1198 |
-</pre> |
1199 |
- |
1200 |
-</body> |
1201 |
-</subsection> |
1202 |
-<subsection> |
1203 |
-<title>可选:调整硬盘性能</title> |
1204 |
-<body> |
1205 |
- |
1206 |
-<p> |
1207 |
-如果你是高级用户,你可能想使用<c>hdparm</c>调整IDE硬盘的性能。你可以使用<c>-tT</c>选项来测试你的硬盘的性能(多执行几次以得到更精确的结果): |
1208 |
-</p> |
1209 |
- |
1210 |
-<pre caption="测试硬盘性能"> |
1211 |
-# <i>hdparm -tT /dev/hda</i> |
1212 |
-</pre> |
1213 |
- |
1214 |
-<p> |
1215 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<path>/dev/hda</path>作为例子(请把它替换成你目前使用的硬盘): |
1216 |
-</p> |
1217 |
- |
1218 |
-<pre caption="调整硬盘性能"> |
1219 |
-<comment>激活DMA:</comment> |
1220 |
-# <i>hdparm -d 1 /dev/hda</i> |
1221 |
-<comment>激活DMA,并附加安全选项:</comment> |
1222 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
1223 |
-</pre> |
1224 |
- |
1225 |
-</body> |
1226 |
-</subsection> |
1227 |
-<subsection id="useraccounts"> |
1228 |
-<title>可选:用户帐号</title> |
1229 |
-<body> |
1230 |
- |
1231 |
-<p> |
1232 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用<c>irssi</c>聊天的话,你需要创建必要的用户帐号,并改变root用户的密码。 |
1233 |
-</p> |
1234 |
- |
1235 |
-<p> |
1236 |
-使用<c>passwd</c>工具来修改root用户密码: |
1237 |
-</p> |
1238 |
- |
1239 |
-<pre caption="修改root用户密码"> |
1240 |
-# <i>passwd</i> |
1241 |
-New password: <comment>(输入新密码)</comment> |
1242 |
-Re-enter password: <comment>(再次输入密码)</comment> |
1243 |
-</pre> |
1244 |
- |
1245 |
-<p> |
1246 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为"john"的用户。 |
1247 |
-</p> |
1248 |
- |
1249 |
-<pre caption="创建一个用户帐号"> |
1250 |
-# <i>useradd -m -G users john</i> |
1251 |
-# <i>passwd john</i> |
1252 |
-New password: <comment>(输入john的密码)</comment> |
1253 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
1254 |
-</pre> |
1255 |
- |
1256 |
-<p> |
1257 |
-你可以使用<c>su</c>从root用户切换到新建的用户: |
1258 |
-</p> |
1259 |
- |
1260 |
-<pre caption="切换用户"> |
1261 |
-# <i>su - john</i> |
1262 |
-</pre> |
1263 |
- |
1264 |
-</body> |
1265 |
-</subsection> |
1266 |
-<subsection> |
1267 |
-<title>可选:在安装时查看文档</title> |
1268 |
-<body> |
1269 |
- |
1270 |
-<p> |
1271 |
-如果你想在安装的时候查看Gentoo手册,确认你已经创建好了一个用户帐号(查看<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
1272 |
-</p> |
1273 |
- |
1274 |
-<p> |
1275 |
-如果你想查看光盘里的文档,你可以立即运行<c>links</c>来阅读: |
1276 |
-</p> |
1277 |
- |
1278 |
-<pre caption="查看光盘里的文档"> |
1279 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
1280 |
-</pre> |
1281 |
- |
1282 |
-<p> |
1283 |
-不过,首选的还是在线查看Gentoo手册,因为它比光盘里提供的要新。 |
1284 |
-</p> |
1285 |
- |
1286 |
-<pre caption="查看在线文档"> |
1287 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/<keyval id="online-book"/></i> |
1288 |
-</pre> |
1289 |
- |
1290 |
-<p> |
1291 |
-你可以按<c>Alt-F1</c>来回到原来的终端。 |
1292 |
-</p> |
1293 |
- |
1294 |
-</body> |
1295 |
-</subsection> |
1296 |
<subsection> |
1297 |
-<title>可选:启动SSH服务</title> |
1298 |
-<body> |
1299 |
- |
1300 |
-<p> |
1301 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
1302 |
-</p> |
1303 |
- |
1304 |
-<p> |
1305 |
-执行下面的命令来启动SSH服务: |
1306 |
-</p> |
1307 |
- |
1308 |
-<pre caption="启动SSH服务"> |
1309 |
-# <i>/etc/init.d/sshd start</i> |
1310 |
-</pre> |
1311 |
- |
1312 |
-<p> |
1313 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
1314 |
-</p> |
1315 |
- |
1316 |
-</body> |
1317 |
+<include href="../hb-install-bootconfig.xml"/> |
1318 |
</subsection> |
1319 |
</section> |
1320 |
</sections> |
1321 |
|
1322 |
|
1323 |
|
1324 |
1.6 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-disk.xml |
1325 |
|
1326 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-disk.xml?rev=1.6&view=markup |
1327 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-disk.xml?rev=1.6&content-type=text/plain |
1328 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-disk.xml?r1=1.5&r2=1.6 |
1329 |
|
1330 |
Index: hb-install-sparc-disk.xml |
1331 |
=================================================================== |
1332 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-disk.xml,v |
1333 |
retrieving revision 1.5 |
1334 |
retrieving revision 1.6 |
1335 |
diff -u -r1.5 -r1.6 |
1336 |
--- hb-install-sparc-disk.xml 1 Apr 2008 21:34:31 -0000 1.5 |
1337 |
+++ hb-install-sparc-disk.xml 3 May 2008 21:46:35 -0000 1.6 |
1338 |
@@ -4,13 +4,13 @@ |
1339 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1340 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1341 |
|
1342 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-disk.xml,v 1.5 2008/04/01 21:34:31 r0bertz Exp $ --> |
1343 |
-<!-- English CVS version: 1.4 --> |
1344 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-disk.xml,v 1.6 2008/05/03 21:46:35 r0bertz Exp $ --> |
1345 |
+<!-- English CVS version: 1.5 --> |
1346 |
|
1347 |
<sections> |
1348 |
|
1349 |
-<version>9.0</version> |
1350 |
-<date>2008-04-02</date> |
1351 |
+<version>9.1</version> |
1352 |
+<date>2008-05-04</date> |
1353 |
|
1354 |
<section> |
1355 |
<title>块设备入门</title> |
1356 |
@@ -26,7 +26,7 @@ |
1357 |
</p> |
1358 |
|
1359 |
<p> |
1360 |
-第一个SCSI磁盘上的第一个分区是<path>/dev/sda1</path>,第二个是<path>/dev/sda2</path>依此类推。类似的,第一个IDE磁盘上的前两个分区是<path>/dev/hda1</path>和<path>/dev/hda2</path> |
1361 |
+第一个SCSI磁盘上的第一个分区是<path>/dev/sda1</path>,第二个是<path>/dev/sda2</path>依此类推。 |
1362 |
</p> |
1363 |
|
1364 |
<p> |
1365 |
@@ -47,7 +47,7 @@ |
1366 |
<body> |
1367 |
|
1368 |
<p> |
1369 |
-如果你对制订一个分区方案没有兴趣,那么可以采用下表的建议,一个适合多数系统的方案。对基于IDE硬盘的系统,把下面的<c>sda</c>替换成<c>hda</c>。 |
1370 |
+如果你对制订一个分区方案没有兴趣,那么可以采用下表的建议,一个适合多数系统的方案。 |
1371 |
</p> |
1372 |
|
1373 |
<p> |
1374 |
|
1375 |
|
1376 |
|
1377 |
1.6 xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-medium.xml |
1378 |
|
1379 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-medium.xml?rev=1.6&view=markup |
1380 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-medium.xml?rev=1.6&content-type=text/plain |
1381 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-medium.xml?r1=1.5&r2=1.6 |
1382 |
|
1383 |
Index: hb-install-sparc-medium.xml |
1384 |
=================================================================== |
1385 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-medium.xml,v |
1386 |
retrieving revision 1.5 |
1387 |
retrieving revision 1.6 |
1388 |
diff -u -r1.5 -r1.6 |
1389 |
--- hb-install-sparc-medium.xml 1 Apr 2008 21:34:31 -0000 1.5 |
1390 |
+++ hb-install-sparc-medium.xml 3 May 2008 21:46:35 -0000 1.6 |
1391 |
@@ -4,13 +4,13 @@ |
1392 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1393 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1394 |
|
1395 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-medium.xml,v 1.5 2008/04/01 21:34:31 r0bertz Exp $ --> |
1396 |
-<!-- English CVS version: 1.4 --> |
1397 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/2008.0/hb-install-sparc-medium.xml,v 1.6 2008/05/03 21:46:35 r0bertz Exp $ --> |
1398 |
+<!-- English CVS version: 1.5 --> |
1399 |
|
1400 |
<sections> |
1401 |
|
1402 |
-<version>9.0</version> |
1403 |
-<date>2008-04-02</date> |
1404 |
+<version>9.1</version> |
1405 |
+<date>2008-05-04</date> |
1406 |
|
1407 |
<section> |
1408 |
<title>必需的硬件</title> |
1409 |
@@ -197,114 +197,8 @@ |
1410 |
|
1411 |
</body> |
1412 |
</subsection> |
1413 |
-<subsection id="hardware"> |
1414 |
-<title>额外硬件的配置</title> |
1415 |
-<body> |
1416 |
- |
1417 |
-<p> |
1418 |
-如果不是所有的硬件都被支持,你需要加载适当的内核模块。 |
1419 |
-</p> |
1420 |
- |
1421 |
-<p> |
1422 |
-接下来的例子中我们尝试加载<c>8139too</c>模块(以支持某些网卡): |
1423 |
-</p> |
1424 |
- |
1425 |
-<pre caption="加载内核模块"> |
1426 |
-# <i>modprobe 8139too</i> |
1427 |
-</pre> |
1428 |
- |
1429 |
-</body> |
1430 |
-</subsection> |
1431 |
-<subsection id="useraccounts"> |
1432 |
-<title>可选:用户账号</title> |
1433 |
-<body> |
1434 |
- |
1435 |
-<p> |
1436 |
-如果你打算让其它人进入你的安装环境或者你想以非根用户身份(为安全考虑)使用<c>irssi</c>来聊天,你需要创建必需的用户账号并且更改根用户的密码。 |
1437 |
-</p> |
1438 |
- |
1439 |
-<p> |
1440 |
-修改根用户密码,使用<c>passwd</c>工具: |
1441 |
-</p> |
1442 |
- |
1443 |
-<pre caption="更改根用户密码"> |
1444 |
-# <i>passwd</i> |
1445 |
-New password: <comment>(Enter your new password)</comment> |
1446 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
1447 |
-</pre> |
1448 |
- |
1449 |
-<p> |
1450 |
-为了创建用户账号,我们先输入他们的信息,接着是密码。我们使用<c>useradd</c>和<c>passwd</c>来做这些事。在下一个例子中,我们将创建一个叫"john"的用户。 |
1451 |
-</p> |
1452 |
- |
1453 |
-<pre caption="创建用户账号"> |
1454 |
-# <i>useradd -m -G users john</i> |
1455 |
-# <i>passwd john</i> |
1456 |
-New password: <comment>(Enter john's password)</comment> |
1457 |
-Re-enter password: <comment>(Re-enter john's password)</comment> |
1458 |
-</pre> |
1459 |
- |
1460 |
-<p> |
1461 |
-你可以使用<c>su</c>从根用户改变用户id为新建的用户: |
1462 |
-</p> |
1463 |
- |
1464 |
-<pre caption="改变用户id"> |
1465 |
-# <i>su - john</i> |
1466 |
-</pre> |
1467 |
- |
1468 |
-</body> |
1469 |
-</subsection> |
1470 |
<subsection> |
1471 |
-<title>可选:在安装时查看文档</title> |
1472 |
-<body> |
1473 |
- |
1474 |
-<p> |
1475 |
-在安装过程中你想查看Gentoo手册(要么是光盘上的或者在线的),确定你有建立一个用户账号(查看<uri link="#useraccounts">可选:用户账号</uri>。然后按<c>Alt-F2</c>切换到一个新的终端并登陆。 |
1476 |
-</p> |
1477 |
- |
1478 |
-<p> |
1479 |
-如果你想马上查看光盘里的文档,运行<c>links</c>来查看: |
1480 |
-</p> |
1481 |
- |
1482 |
-<pre caption="查看光盘上的文档"> |
1483 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
1484 |
-</pre> |
1485 |
- |
1486 |
-<p> |
1487 |
-然而,你最好是使用在线的Gentoo手册,因为它比光盘中的更新一些。你也可以用<c>links</c>来查看,但是得在完成了<e>配置你的网络</e>以后(否则你将无法连接到Internet上查看文档): |
1488 |
-</p> |
1489 |
- |
1490 |
-<pre caption="查看在线文档"> |
1491 |
-# <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
1492 |
-</pre> |
1493 |
- |
1494 |
-<p> |
1495 |
-你可用按<c>Alt-F1</c>来返回最初的那个终端。 |
1496 |
-</p> |
1497 |
- |
1498 |
-</body> |
1499 |
-</subsection> |
1500 |
-<subsection> |
1501 |
-<title>可选:启动SSH守护进程</title> |
1502 |
-<body> |
1503 |
- |
1504 |
-<p> |
1505 |
-如果你想让其它用户在安装过程中访问你的电脑(大概因为他们来帮你安装Gentoo,甚至是代你安装)。你需要为他们建立账户也许还要告诉他们你的根用户密码(<e>仅仅</e>在你<b>完全信任</b>那个用户的时候)。 |
1506 |
-</p> |
1507 |
- |
1508 |
-<p> |
1509 |
-为了打开SSH守护进程,执行以下命令: |
1510 |
-</p> |
1511 |
- |
1512 |
-<pre caption="打开SSH守护进程"> |
1513 |
-# <i>/etc/init.d/sshd start</i> |
1514 |
-</pre> |
1515 |
- |
1516 |
-<p> |
1517 |
-为了能使用sshd,你需要先设置好网络。继续到下一章<uri link="?part=1&chap=3">配置你的网络</uri>。 |
1518 |
-</p> |
1519 |
- |
1520 |
-</body> |
1521 |
+<include href="../hb-install-bootconfig.xml"/> |
1522 |
</subsection> |
1523 |
</section> |
1524 |
</sections> |
1525 |
|
1526 |
|
1527 |
|
1528 |
-- |
1529 |
gentoo-commits@l.g.o mailing list |