1 |
r0bertz 08/05/03 21:46:35 |
2 |
|
3 |
Modified: handbook-alpha.xml handbook-amd64.xml |
4 |
handbook-arm.xml handbook-hppa.xml |
5 |
handbook-ia64.xml handbook-mips.xml |
6 |
handbook-ppc.xml handbook-ppc64.xml |
7 |
handbook-sparc.xml handbook-x86.xml |
8 |
hb-install-alpha-medium.xml |
9 |
hb-install-arm-bootloader.xml |
10 |
hb-install-arm-disk.xml hb-install-blockdevices.xml |
11 |
hb-install-bootconfig.xml hb-install-config.xml |
12 |
hb-install-hppa-medium.xml |
13 |
hb-install-ia64-medium.xml |
14 |
hb-install-kernelparams.xml |
15 |
hb-install-mips-bootloader.xml |
16 |
hb-install-mips-disk.xml |
17 |
hb-install-ppc-bootloader.xml |
18 |
hb-install-ppc-disk.xml hb-install-ppc-medium.xml |
19 |
hb-install-ppc64-bootloader.xml |
20 |
hb-install-ppc64-medium.xml |
21 |
hb-install-sparc-disk.xml |
22 |
hb-install-sparc-medium.xml |
23 |
hb-install-x86+amd64-bootloader.xml |
24 |
hb-install-x86+amd64-disk.xml |
25 |
hb-install-x86+amd64-medium.xml |
26 |
Log: |
27 |
[zh_cn] updated handbooks |
28 |
|
29 |
Revision Changes Path |
30 |
1.7 xml/htdocs/doc/zh_cn/handbook/handbook-alpha.xml |
31 |
|
32 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-alpha.xml?rev=1.7&view=markup |
33 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-alpha.xml?rev=1.7&content-type=text/plain |
34 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-alpha.xml?r1=1.6&r2=1.7 |
35 |
|
36 |
Index: handbook-alpha.xml |
37 |
=================================================================== |
38 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-alpha.xml,v |
39 |
retrieving revision 1.6 |
40 |
retrieving revision 1.7 |
41 |
diff -u -r1.6 -r1.7 |
42 |
--- handbook-alpha.xml 26 Apr 2008 19:14:25 -0000 1.6 |
43 |
+++ handbook-alpha.xml 3 May 2008 21:46:34 -0000 1.7 |
44 |
@@ -1,9 +1,9 @@ |
45 |
<?xml version='1.0' encoding='UTF-8'?> |
46 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
47 |
|
48 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-alpha.xml,v 1.6 2008/04/26 19:14:25 r0bertz Exp $ --> |
49 |
-<!-- English CVS version: 1.136 --> |
50 |
-<book link="/doc/zh_cn/handbook/handbook-alpha.xml" lang="zh_cn" disclaimer="draft"> |
51 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-alpha.xml,v 1.7 2008/05/03 21:46:34 r0bertz Exp $ --> |
52 |
+<!-- English CVS version: 1.137 --> |
53 |
+<book lang="zh_cn"> |
54 |
<title>Gentoo Linux Alpha手册</title> |
55 |
|
56 |
<values> |
57 |
@@ -178,8 +178,8 @@ |
58 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
59 |
<license/> |
60 |
|
61 |
-<version>9.1</version> |
62 |
-<date>2008-04-27</date> |
63 |
+<version>9.2</version> |
64 |
+<date>2008-05-04</date> |
65 |
|
66 |
<part> |
67 |
<title>安装Gentoo</title> |
68 |
|
69 |
|
70 |
|
71 |
1.8 xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml |
72 |
|
73 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml?rev=1.8&view=markup |
74 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml?rev=1.8&content-type=text/plain |
75 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml?r1=1.7&r2=1.8 |
76 |
|
77 |
Index: handbook-amd64.xml |
78 |
=================================================================== |
79 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml,v |
80 |
retrieving revision 1.7 |
81 |
retrieving revision 1.8 |
82 |
diff -u -r1.7 -r1.8 |
83 |
--- handbook-amd64.xml 26 Apr 2008 19:14:25 -0000 1.7 |
84 |
+++ handbook-amd64.xml 3 May 2008 21:46:34 -0000 1.8 |
85 |
@@ -1,15 +1,15 @@ |
86 |
<?xml version='1.0' encoding='UTF-8'?> |
87 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
88 |
|
89 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml,v 1.7 2008/04/26 19:14:25 r0bertz Exp $ --> |
90 |
-<!-- English CVS version: 1.146 --> |
91 |
-<book link="/doc/zh_cn/handbook/handbook-amd64.xml" lang="zh_cn" disclaimer="draft"> |
92 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml,v 1.8 2008/05/03 21:46:34 r0bertz Exp $ --> |
93 |
+<!-- English CVS version: 1.148 --> |
94 |
+<book lang="zh_cn"> |
95 |
<title>Gentoo Linux AMD64手册</title> |
96 |
|
97 |
<values> |
98 |
<key id="arch">AMD64</key> |
99 |
<key id="arch-sub">x86_64</key> |
100 |
- <key id="/boot">/dev/hda1</key> |
101 |
+ <key id="/boot">/dev/sda1</key> |
102 |
<key id="kernel-version">2.6.24-r5</key> |
103 |
<key id="kernel-name">kernel-2.6.24-gentoo-r5</key> |
104 |
<key id="genkernel-name">kernel-genkernel-amd64-2.6.24-gentoo-r5</key> |
105 |
@@ -184,8 +184,8 @@ |
106 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
107 |
<license/> |
108 |
|
109 |
-<version>9.2</version> |
110 |
-<date>2008-04-27</date> |
111 |
+<version>9.4</version> |
112 |
+<date>2008-05-04</date> |
113 |
|
114 |
<part> |
115 |
<title>安装Gentoo</title> |
116 |
|
117 |
|
118 |
|
119 |
1.6 xml/htdocs/doc/zh_cn/handbook/handbook-arm.xml |
120 |
|
121 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-arm.xml?rev=1.6&view=markup |
122 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-arm.xml?rev=1.6&content-type=text/plain |
123 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-arm.xml?r1=1.5&r2=1.6 |
124 |
|
125 |
Index: handbook-arm.xml |
126 |
=================================================================== |
127 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-arm.xml,v |
128 |
retrieving revision 1.5 |
129 |
retrieving revision 1.6 |
130 |
diff -u -r1.5 -r1.6 |
131 |
--- handbook-arm.xml 1 Apr 2008 21:34:29 -0000 1.5 |
132 |
+++ handbook-arm.xml 3 May 2008 21:46:34 -0000 1.6 |
133 |
@@ -1,9 +1,9 @@ |
134 |
<?xml version='1.0' encoding='UTF-8'?> |
135 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
136 |
|
137 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-arm.xml,v 1.5 2008/04/01 21:34:29 r0bertz Exp $ --> |
138 |
-<!-- English CVS version: 1.70 --> |
139 |
-<book link="/doc/zh_cn/handbook/handbook-arm.xml" lang="zh_cn" disclaimer="draft"> |
140 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-arm.xml,v 1.6 2008/05/03 21:46:34 r0bertz Exp $ --> |
141 |
+<!-- English CVS version: 1.71 --> |
142 |
+<book lang="zh_cn"> |
143 |
<title>Gentoo Linux ARM手册</title> |
144 |
|
145 |
<values> |
146 |
@@ -174,8 +174,8 @@ |
147 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
148 |
<license/> |
149 |
|
150 |
-<version>9.0</version> |
151 |
-<date>2008-04-02</date> |
152 |
+<version>9.1</version> |
153 |
+<date>2008-05-04</date> |
154 |
|
155 |
<part> |
156 |
<title>安装Gentoo</title> |
157 |
|
158 |
|
159 |
|
160 |
1.7 xml/htdocs/doc/zh_cn/handbook/handbook-hppa.xml |
161 |
|
162 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-hppa.xml?rev=1.7&view=markup |
163 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-hppa.xml?rev=1.7&content-type=text/plain |
164 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-hppa.xml?r1=1.6&r2=1.7 |
165 |
|
166 |
Index: handbook-hppa.xml |
167 |
=================================================================== |
168 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-hppa.xml,v |
169 |
retrieving revision 1.6 |
170 |
retrieving revision 1.7 |
171 |
diff -u -r1.6 -r1.7 |
172 |
--- handbook-hppa.xml 2 Apr 2008 20:23:59 -0000 1.6 |
173 |
+++ handbook-hppa.xml 3 May 2008 21:46:34 -0000 1.7 |
174 |
@@ -1,9 +1,9 @@ |
175 |
<?xml version='1.0' encoding='UTF-8'?> |
176 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
177 |
|
178 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-hppa.xml,v 1.6 2008/04/02 20:23:59 r0bertz Exp $ --> |
179 |
-<!-- English CVS version: 1.134 --> |
180 |
-<book link="/doc/zh_cn/handbook/handbook-hppa.xml" lang="zh_cn" disclaimer="draft"> |
181 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-hppa.xml,v 1.7 2008/05/03 21:46:34 r0bertz Exp $ --> |
182 |
+<!-- English CVS version: 1.135 --> |
183 |
+<book lang="zh_cn"> |
184 |
<title>Gentoo Linux HPPA手册</title> |
185 |
|
186 |
<values> |
187 |
@@ -178,8 +178,8 @@ |
188 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
189 |
<license/> |
190 |
|
191 |
-<version>9.2</version> |
192 |
-<date>2008-04-02</date> |
193 |
+<version>9.3</version> |
194 |
+<date>2008-05-04</date> |
195 |
|
196 |
<part> |
197 |
<title>安装Gentoo</title> |
198 |
|
199 |
|
200 |
|
201 |
1.7 xml/htdocs/doc/zh_cn/handbook/handbook-ia64.xml |
202 |
|
203 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ia64.xml?rev=1.7&view=markup |
204 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ia64.xml?rev=1.7&content-type=text/plain |
205 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ia64.xml?r1=1.6&r2=1.7 |
206 |
|
207 |
Index: handbook-ia64.xml |
208 |
=================================================================== |
209 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ia64.xml,v |
210 |
retrieving revision 1.6 |
211 |
retrieving revision 1.7 |
212 |
diff -u -r1.6 -r1.7 |
213 |
--- handbook-ia64.xml 26 Apr 2008 19:14:25 -0000 1.6 |
214 |
+++ handbook-ia64.xml 3 May 2008 21:46:34 -0000 1.7 |
215 |
@@ -1,9 +1,9 @@ |
216 |
<?xml version='1.0' encoding='UTF-8'?> |
217 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
218 |
|
219 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ia64.xml,v 1.6 2008/04/26 19:14:25 r0bertz Exp $ --> |
220 |
-<!-- English CVS version: 1.11 --> |
221 |
-<book link="/doc/zh_cn/handbook/handbook-ia64.xml" lang="zh_cn" disclaimer="draft"> |
222 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ia64.xml,v 1.7 2008/05/03 21:46:34 r0bertz Exp $ --> |
223 |
+<!-- English CVS version: 1.12 --> |
224 |
+<book lang="zh_cn"> |
225 |
<title>Gentoo Linux/IA64手册</title> |
226 |
|
227 |
<values> |
228 |
@@ -189,8 +189,8 @@ |
229 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
230 |
<license/> |
231 |
|
232 |
-<version>9.1</version> |
233 |
-<date>2008-04-27</date> |
234 |
+<version>9.2</version> |
235 |
+<date>2008-05-04</date> |
236 |
|
237 |
<part> |
238 |
<title>安装Gentoo</title> |
239 |
|
240 |
|
241 |
|
242 |
1.6 xml/htdocs/doc/zh_cn/handbook/handbook-mips.xml |
243 |
|
244 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-mips.xml?rev=1.6&view=markup |
245 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-mips.xml?rev=1.6&content-type=text/plain |
246 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-mips.xml?r1=1.5&r2=1.6 |
247 |
|
248 |
Index: handbook-mips.xml |
249 |
=================================================================== |
250 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-mips.xml,v |
251 |
retrieving revision 1.5 |
252 |
retrieving revision 1.6 |
253 |
diff -u -r1.5 -r1.6 |
254 |
--- handbook-mips.xml 1 Apr 2008 21:34:29 -0000 1.5 |
255 |
+++ handbook-mips.xml 3 May 2008 21:46:34 -0000 1.6 |
256 |
@@ -1,9 +1,9 @@ |
257 |
<?xml version='1.0' encoding='UTF-8'?> |
258 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
259 |
|
260 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-mips.xml,v 1.5 2008/04/01 21:34:29 r0bertz Exp $ --> |
261 |
-<!-- English CVS version: 1.123 --> |
262 |
-<book link="/doc/zh_cn/handbook/handbook-mips.xml" lang="zh_cn" disclaimer="draft"> |
263 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-mips.xml,v 1.6 2008/05/03 21:46:34 r0bertz Exp $ --> |
264 |
+<!-- English CVS version: 1.124 --> |
265 |
+<book lang="zh_cn"> |
266 |
<title>Gentoo Linux/MIPS手册</title> |
267 |
|
268 |
<values> |
269 |
@@ -176,8 +176,8 @@ |
270 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
271 |
<license/> |
272 |
|
273 |
-<version>9.0</version> |
274 |
-<date>2008-04-02</date> |
275 |
+<version>9.1</version> |
276 |
+<date>2008-05-04</date> |
277 |
|
278 |
<part> |
279 |
<title>安装Gentoo</title> |
280 |
|
281 |
|
282 |
|
283 |
1.8 xml/htdocs/doc/zh_cn/handbook/handbook-ppc.xml |
284 |
|
285 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc.xml?rev=1.8&view=markup |
286 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc.xml?rev=1.8&content-type=text/plain |
287 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc.xml?r1=1.7&r2=1.8 |
288 |
|
289 |
Index: handbook-ppc.xml |
290 |
=================================================================== |
291 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc.xml,v |
292 |
retrieving revision 1.7 |
293 |
retrieving revision 1.8 |
294 |
diff -u -r1.7 -r1.8 |
295 |
--- handbook-ppc.xml 26 Apr 2008 19:14:25 -0000 1.7 |
296 |
+++ handbook-ppc.xml 3 May 2008 21:46:34 -0000 1.8 |
297 |
@@ -1,9 +1,9 @@ |
298 |
<?xml version='1.0' encoding='UTF-8'?> |
299 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
300 |
|
301 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc.xml,v 1.7 2008/04/26 19:14:25 r0bertz Exp $ --> |
302 |
-<!-- English CVS version: 1.155 --> |
303 |
-<book link="/doc/zh_cn/handbook/handbook-ppc.xml" lang="zh_cn" disclaimer="draft"> |
304 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc.xml,v 1.8 2008/05/03 21:46:34 r0bertz Exp $ --> |
305 |
+<!-- English CVS version: 1.156 --> |
306 |
+<book lang="zh_cn"> |
307 |
<title>Gentoo Linux PPC手册</title> |
308 |
|
309 |
<values> |
310 |
@@ -183,8 +183,8 @@ |
311 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
312 |
<license/> |
313 |
|
314 |
-<version>9.2</version> |
315 |
-<date>2008-04-27</date> |
316 |
+<version>9.3</version> |
317 |
+<date>2008-05-04</date> |
318 |
|
319 |
<part> |
320 |
<title>安装Gentoo</title> |
321 |
|
322 |
|
323 |
|
324 |
1.8 xml/htdocs/doc/zh_cn/handbook/handbook-ppc64.xml |
325 |
|
326 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc64.xml?rev=1.8&view=markup |
327 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc64.xml?rev=1.8&content-type=text/plain |
328 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc64.xml?r1=1.7&r2=1.8 |
329 |
|
330 |
Index: handbook-ppc64.xml |
331 |
=================================================================== |
332 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc64.xml,v |
333 |
retrieving revision 1.7 |
334 |
retrieving revision 1.8 |
335 |
diff -u -r1.7 -r1.8 |
336 |
--- handbook-ppc64.xml 26 Apr 2008 19:14:25 -0000 1.7 |
337 |
+++ handbook-ppc64.xml 3 May 2008 21:46:34 -0000 1.8 |
338 |
@@ -1,9 +1,9 @@ |
339 |
<?xml version='1.0' encoding='UTF-8'?> |
340 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
341 |
|
342 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc64.xml,v 1.7 2008/04/26 19:14:25 r0bertz Exp $ --> |
343 |
-<!-- English CVS version: 1.76 --> |
344 |
-<book link="/doc/zh_cn/handbook/handbook-ppc64.xml" lang="zh_cn" disclaimer="draft"> |
345 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-ppc64.xml,v 1.8 2008/05/03 21:46:34 r0bertz Exp $ --> |
346 |
+<!-- English CVS version: 1.77 --> |
347 |
+<book lang="zh_cn"> |
348 |
<title>Gentoo Linux PPC64手册</title> |
349 |
|
350 |
<values> |
351 |
@@ -176,8 +176,8 @@ |
352 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
353 |
<license/> |
354 |
|
355 |
-<version>9.2</version> |
356 |
-<date>2008-04-27</date> |
357 |
+<version>9.3</version> |
358 |
+<date>2008-05-04</date> |
359 |
|
360 |
<part> |
361 |
<title>安装Gentoo</title> |
362 |
|
363 |
|
364 |
|
365 |
1.7 xml/htdocs/doc/zh_cn/handbook/handbook-sparc.xml |
366 |
|
367 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-sparc.xml?rev=1.7&view=markup |
368 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-sparc.xml?rev=1.7&content-type=text/plain |
369 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-sparc.xml?r1=1.6&r2=1.7 |
370 |
|
371 |
Index: handbook-sparc.xml |
372 |
=================================================================== |
373 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-sparc.xml,v |
374 |
retrieving revision 1.6 |
375 |
retrieving revision 1.7 |
376 |
diff -u -r1.6 -r1.7 |
377 |
--- handbook-sparc.xml 26 Apr 2008 19:14:25 -0000 1.6 |
378 |
+++ handbook-sparc.xml 3 May 2008 21:46:34 -0000 1.7 |
379 |
@@ -1,9 +1,9 @@ |
380 |
<?xml version='1.0' encoding='UTF-8'?> |
381 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
382 |
|
383 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-sparc.xml,v 1.6 2008/04/26 19:14:25 r0bertz Exp $ --> |
384 |
-<!-- English CVS version: 1.137 --> |
385 |
-<book link="/doc/zh_cn/handbook/handbook-sparc.xml" lang="zh_cn" disclaimer="draft"> |
386 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-sparc.xml,v 1.7 2008/05/03 21:46:34 r0bertz Exp $ --> |
387 |
+<!-- English CVS version: 1.138 --> |
388 |
+<book lang="zh_cn"> |
389 |
<title>Gentoo Linux SPARC手册</title> |
390 |
|
391 |
<values> |
392 |
@@ -176,8 +176,8 @@ |
393 |
See http://creativecommons.org/licenses/by-sa/2.5 --> |
394 |
<license/> |
395 |
|
396 |
-<version>9.1</version> |
397 |
-<date>2008-04-27</date> |
398 |
+<version>9.2</version> |
399 |
+<date>2008-05-04</date> |
400 |
|
401 |
<part> |
402 |
<title>安装Gentoo</title> |
403 |
|
404 |
|
405 |
|
406 |
1.8 xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml |
407 |
|
408 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml?rev=1.8&view=markup |
409 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml?rev=1.8&content-type=text/plain |
410 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml?r1=1.7&r2=1.8 |
411 |
|
412 |
Index: handbook-x86.xml |
413 |
=================================================================== |
414 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml,v |
415 |
retrieving revision 1.7 |
416 |
retrieving revision 1.8 |
417 |
diff -u -r1.7 -r1.8 |
418 |
--- handbook-x86.xml 26 Apr 2008 19:14:25 -0000 1.7 |
419 |
+++ handbook-x86.xml 3 May 2008 21:46:34 -0000 1.8 |
420 |
@@ -1,23 +1,23 @@ |
421 |
<?xml version='1.0' encoding='UTF-8'?> |
422 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
423 |
|
424 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml,v 1.7 2008/04/26 19:14:25 r0bertz Exp $ --> |
425 |
-<!-- English CVS version: 1.166 --> |
426 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml,v 1.8 2008/05/03 21:46:34 r0bertz Exp $ --> |
427 |
+<!-- English CVS version: 1.169 --> |
428 |
|
429 |
-<book link="/doc/zh_cn/handbook/handbook-x86.xml" lang="zh_cn" disclaimer="draft"> |
430 |
+<book lang="zh_cn"> |
431 |
<title>Gentoo Linux x86手册</title> |
432 |
|
433 |
<values> |
434 |
<key id="arch">x86</key> |
435 |
<key id="arch-sub">i386</key> |
436 |
- <key id="/boot">/dev/hda1</key> |
437 |
+ <key id="/boot">/dev/sda1</key> |
438 |
<key id="kernel-version">2.6.24-r5</key> |
439 |
<key id="kernel-name">kernel-2.6.24-gentoo-r5</key> |
440 |
<key id="genkernel-name">kernel-genkernel-x86-2.6.24-gentoo-r5</key> |
441 |
<key id="genkernel-initrd">initramfs-genkernel-x86-2.6.24-gentoo-r5</key> |
442 |
<key id="min-cd-name">install-x86-minimal-2008.0_beta2.iso</key> |
443 |
<key id="min-cd-size">57</key> |
444 |
- <key id="live-cd-name">livecd-i686-installer-2008.0_beta2.iso</key> |
445 |
+ <key id="live-cd-name">livecd-i686-installer-2008.0_beta2-r1.iso</key> |
446 |
<key id="live-cd-size">655</key> |
447 |
<key id="release-dir">releases/x86/2008.0_beta2/</key> |
448 |
<key id="stage3">stage3-i686-2008.0_beta2.tar.bz2</key> |
449 |
@@ -190,8 +190,8 @@ |
450 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
451 |
<license/> |
452 |
|
453 |
-<version>9.2</version> |
454 |
-<date>2008-04-27</date> |
455 |
+<version>9.4</version> |
456 |
+<date>2008-05-04</date> |
457 |
|
458 |
<part> |
459 |
<title>安装Gentoo</title> |
460 |
|
461 |
|
462 |
|
463 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml |
464 |
|
465 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml?rev=1.4&view=markup |
466 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml?rev=1.4&content-type=text/plain |
467 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml?r1=1.3&r2=1.4 |
468 |
|
469 |
Index: hb-install-alpha-medium.xml |
470 |
=================================================================== |
471 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml,v |
472 |
retrieving revision 1.3 |
473 |
retrieving revision 1.4 |
474 |
diff -u -r1.3 -r1.4 |
475 |
--- hb-install-alpha-medium.xml 1 Apr 2008 21:34:29 -0000 1.3 |
476 |
+++ hb-install-alpha-medium.xml 3 May 2008 21:46:34 -0000 1.4 |
477 |
@@ -3,13 +3,13 @@ |
478 |
|
479 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
480 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
481 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
482 |
-<!-- English CVS version: 1.47 --> |
483 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
484 |
+<!-- English CVS version: 1.48 --> |
485 |
|
486 |
<sections> |
487 |
|
488 |
-<version>9.0</version> |
489 |
-<date>2008-04-02</date> |
490 |
+<version>9.1</version> |
491 |
+<date>2008-05-04</date> |
492 |
|
493 |
<section> |
494 |
<title>硬件需求</title> |
495 |
@@ -259,10 +259,10 @@ |
496 |
</pre> |
497 |
|
498 |
<pre caption="使用MILO来启动光盘"> |
499 |
-<comment>(用你的光驱设备代替hdb)</comment> |
500 |
-MILO> <i>boot hdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> |
501 |
+<comment>(用你的光驱设备代替sdb)</comment> |
502 |
+MILO> <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> |
503 |
<comment>(如果需要串口控制台支持)</comment> |
504 |
-MILO> <i>boot hdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs console=ttyS0 cdroot</i> |
505 |
+MILO> <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs console=ttyS0 cdroot</i> |
506 |
</pre> |
507 |
|
508 |
<p> |
509 |
@@ -275,139 +275,8 @@ |
510 |
|
511 |
</body> |
512 |
</subsection> |
513 |
-<subsection id="hardware"> |
514 |
-<title>额外硬件配置</title> |
515 |
-<body> |
516 |
- |
517 |
-<p> |
518 |
-当安装光盘启动时,它会尝试检测所有的硬件设备和加载准确的内核模块来支持这些硬件。绝大多数情况下,它会做的很好。但是,有些情况下,它可能没有自动加载你需要的内核模块。如果PCI自动检测错过了你系统里的一些硬件,你需要手动为它们加载相应的内核模块。 |
519 |
-</p> |
520 |
- |
521 |
-<p> |
522 |
-在下一个例子中,我们尝试加载<c>8139too</c>模块(支持某种网卡): |
523 |
-</p> |
524 |
- |
525 |
-<pre caption="加载内核模块"> |
526 |
-# <i>modprobe 8139too</i> |
527 |
-</pre> |
528 |
- |
529 |
-</body> |
530 |
-</subsection> |
531 |
-<subsection> |
532 |
-<title>可选:调整硬盘性能</title> |
533 |
-<body> |
534 |
- |
535 |
-<p> |
536 |
-如果你是高级用户,你可能想使用hdparm调整IDE硬盘的性能。你可以使用<c>-tT</c>选项来测试你的硬盘的性能(多执行几次以得到更精确的结果): |
537 |
-</p> |
538 |
- |
539 |
-<pre caption="测试硬盘性能"> |
540 |
-# <i>hdparm -tT /dev/hda</i> |
541 |
-</pre> |
542 |
- |
543 |
-<p> |
544 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<c>/dev/hda</c>作为例子(替换成你使用的硬盘): |
545 |
-</p> |
546 |
- |
547 |
-<pre caption="调整硬盘性能"> |
548 |
-<comment>激活DMA:</comment> |
549 |
-# <i>hdparm -d 1 /dev/hda</i> |
550 |
-<comment>激活DMA,并附加安全选项:</comment> |
551 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
552 |
-</pre> |
553 |
- |
554 |
-</body> |
555 |
-</subsection> |
556 |
-<subsection id="useraccounts"> |
557 |
-<title>可选:用户帐号</title> |
558 |
-<body> |
559 |
- |
560 |
-<p> |
561 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用irssi聊天,你需要创建必要的用户帐号,并改变root用户的密码。 |
562 |
-</p> |
563 |
- |
564 |
-<p> |
565 |
-使用<c>passwd</c>命令来修改root用户密码: |
566 |
-</p> |
567 |
- |
568 |
-<pre caption="修改root用户密码"> |
569 |
-# <i>passwd</i> |
570 |
-New password: <comment>(输入新密码)</comment> |
571 |
-Re-enter password: <comment>(再次输入密码)</comment> |
572 |
-</pre> |
573 |
- |
574 |
-<p> |
575 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为“john”的用户。 |
576 |
-</p> |
577 |
- |
578 |
-<pre caption="创建一个新用户"> |
579 |
-# <i>useradd -m -G users john</i> |
580 |
-# <i>passwd john</i> |
581 |
-New password: <comment>(输入john的密码)</comment> |
582 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
583 |
-</pre> |
584 |
- |
585 |
-<p> |
586 |
-你可以使用su从root用户切换到新建的用户: |
587 |
-</p> |
588 |
- |
589 |
-<pre caption="切换用户"> |
590 |
-# <i>su - john</i> |
591 |
-</pre> |
592 |
- |
593 |
-</body> |
594 |
-</subsection> |
595 |
-<subsection> |
596 |
-<title>可选:在安装时查看文档</title> |
597 |
-<body> |
598 |
- |
599 |
-<p> |
600 |
-如果你想在安装的时候查看Gentoo手册(不管是光盘中的还是在线的),请确认你已经创建好了一个用户帐号(请查看<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
601 |
-</p> |
602 |
- |
603 |
-<p> |
604 |
-如果你想查看光盘里的文档,你可以立即运行<c>lynx</c>来阅读: |
605 |
-</p> |
606 |
- |
607 |
-<pre caption="查看光盘里的文档"> |
608 |
-# <i>lynx /mnt/cdrom/docs/html/index.html</i> |
609 |
-</pre> |
610 |
- |
611 |
-<p> |
612 |
-不过,首选的还是在线查看Gentoo手册,因为它比光盘里提供的要新。你也可以使用<c>lynx</c>阅读它,但是必须在完成<e>配置网络</e>这一章后才行(否则你不能到因特网上查看文档): |
613 |
-</p> |
614 |
- |
615 |
-<pre caption="查看在线文档"> |
616 |
-# <i>lynx http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
617 |
-</pre> |
618 |
- |
619 |
-<p> |
620 |
-你可以按<c>Alt-F1</c>来回到原来的终端。 |
621 |
-</p> |
622 |
- |
623 |
-</body> |
624 |
-</subsection> |
625 |
<subsection> |
626 |
-<title>可选:启动SSH服务</title> |
627 |
-<body> |
628 |
- |
629 |
-<p> |
630 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
631 |
-</p> |
632 |
- |
633 |
-<p> |
634 |
-执行下面的命令来启动SSH服务: |
635 |
-</p> |
636 |
- |
637 |
-<pre caption="启动SSH服务"> |
638 |
-# <i>/etc/init.d/sshd start</i> |
639 |
-</pre> |
640 |
- |
641 |
-<p> |
642 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
643 |
-</p> |
644 |
- |
645 |
-</body> |
646 |
+<include href="hb-install-bootconfig.xml"/> |
647 |
</subsection> |
648 |
</section> |
649 |
</sections> |
650 |
|
651 |
|
652 |
|
653 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-arm-bootloader.xml |
654 |
|
655 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-bootloader.xml?rev=1.4&view=markup |
656 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-bootloader.xml?rev=1.4&content-type=text/plain |
657 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-bootloader.xml?r1=1.3&r2=1.4 |
658 |
|
659 |
Index: hb-install-arm-bootloader.xml |
660 |
=================================================================== |
661 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-bootloader.xml,v |
662 |
retrieving revision 1.3 |
663 |
retrieving revision 1.4 |
664 |
diff -u -r1.3 -r1.4 |
665 |
--- hb-install-arm-bootloader.xml 1 Apr 2008 21:34:29 -0000 1.3 |
666 |
+++ hb-install-arm-bootloader.xml 3 May 2008 21:46:34 -0000 1.4 |
667 |
@@ -4,13 +4,13 @@ |
668 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
669 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
670 |
|
671 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-bootloader.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
672 |
-<!-- English CVS version: 1.4 --> |
673 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-bootloader.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
674 |
+<!-- English CVS version: 1.5 --> |
675 |
|
676 |
<sections> |
677 |
|
678 |
-<version>9.0</version> |
679 |
-<date>2008-04-02</date> |
680 |
+<version>9.1</version> |
681 |
+<date>2008-05-04</date> |
682 |
|
683 |
<section> |
684 |
<title>做出您的选择</title> |
685 |
@@ -105,18 +105,18 @@ |
686 |
</p> |
687 |
|
688 |
<pre caption="将内核安装到闪存"> |
689 |
-# <i>nwlilo /boot/zImage "root=/dev/hda2 video=cyber2000fb"</i> |
690 |
+# <i>nwlilo /boot/zImage "root=/dev/sda2 video=cyber2000fb"</i> |
691 |
</pre> |
692 |
|
693 |
<p> |
694 |
-另一种方式是将vmlinux ELF文件复制到ext2启动分区下,然后配置NeTTrom去将它载入。 当您复制好内核,就请重启机器,NeTTrom只能从它自己内部来配置。要中断自动引导过程,请按两次<c>*</c>键,然后再按回车键。下面的例子中,我们假定您的ext2启动分区位于<path>/dev/hda1</path>,主分区位于<path>/dev/hda3</path>。 |
695 |
+另一种方式是将vmlinux ELF文件复制到ext2启动分区下,然后配置NeTTrom去将它载入。 当您复制好内核,就请重启机器,NeTTrom只能从它自己内部来配置。要中断自动引导过程,请按两次<c>*</c>键,然后再按回车键。下面的例子中,我们假定您的ext2启动分区位于<path>/dev/sda1</path>,主分区位于<path>/dev/sda3</path>。 |
696 |
</p> |
697 |
|
698 |
<pre caption="配置NeTTrom"> |
699 |
NeTTrom> <i>load-defaults</i> |
700 |
NeTTrom> <i>setenv kernconfig fs</i> |
701 |
-NeTTrom> <i>setenv kerndev /dev/hda1</i> |
702 |
-NeTTrom> <i>setenv rootdev /dev/hda3</i> |
703 |
+NeTTrom> <i>setenv kerndev /dev/sda1</i> |
704 |
+NeTTrom> <i>setenv rootdev /dev/sda3</i> |
705 |
NeTTrom> <i>setenv kernfile /boot/vmlinux</i> |
706 |
NeTTrom> <i>setenv cmdappend [自定义内核命令行设置]</i> |
707 |
NeTTrom> <i>save-all</i> |
708 |
|
709 |
|
710 |
|
711 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-arm-disk.xml |
712 |
|
713 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-disk.xml?rev=1.4&view=markup |
714 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-disk.xml?rev=1.4&content-type=text/plain |
715 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-disk.xml?r1=1.3&r2=1.4 |
716 |
|
717 |
Index: hb-install-arm-disk.xml |
718 |
=================================================================== |
719 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-disk.xml,v |
720 |
retrieving revision 1.3 |
721 |
retrieving revision 1.4 |
722 |
diff -u -r1.3 -r1.4 |
723 |
--- hb-install-arm-disk.xml 1 Apr 2008 21:34:29 -0000 1.3 |
724 |
+++ hb-install-arm-disk.xml 3 May 2008 21:46:34 -0000 1.4 |
725 |
@@ -4,13 +4,13 @@ |
726 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
727 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
728 |
|
729 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-disk.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
730 |
-<!-- English CVS version: 1.8 --> |
731 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-arm-disk.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
732 |
+<!-- English CVS version: 1.9 --> |
733 |
|
734 |
<sections> |
735 |
|
736 |
-<version>6.0</version> |
737 |
-<date>2008-04-02</date> |
738 |
+<version>6.1</version> |
739 |
+<date>2008-05-04</date> |
740 |
|
741 |
<!-- TODO: Add section about MTD and such --> |
742 |
|
743 |
@@ -32,7 +32,7 @@ |
744 |
</p> |
745 |
|
746 |
<p> |
747 |
-<e>主分区</e>是把自己的信息储存在MBR(主引导记录)中的分区。由于MBR非常小(512个字节),所以仅可以定义4个主分区 (例如,<path>/dev/hda1</path>到<path>/dev/hda4</path>)。 |
748 |
+<e>主分区</e>是把自己的信息储存在MBR(主引导记录)中的分区。由于MBR非常小(512个字节),所以仅可以定义4个主分区 (例如,<path>/dev/sda1</path>到<path>/dev/sda4</path>)。 |
749 |
</p> |
750 |
|
751 |
<p> |
752 |
@@ -68,19 +68,19 @@ |
753 |
<th>说明</th> |
754 |
</tr> |
755 |
<tr> |
756 |
- <ti><path>/dev/hda1</path></ti> |
757 |
+ <ti><path>/dev/sda1</path></ti> |
758 |
<ti>ext2</ti> |
759 |
<ti>32M</ti> |
760 |
<ti>启动分区</ti> |
761 |
</tr> |
762 |
<tr> |
763 |
- <ti><path>/dev/hda2</path></ti> |
764 |
+ <ti><path>/dev/sda2</path></ti> |
765 |
<ti>(swap)</ti> |
766 |
<ti>512M</ti> |
767 |
<ti>交换分区</ti> |
768 |
</tr> |
769 |
<tr> |
770 |
- <ti><path>/dev/hda3</path></ti> |
771 |
+ <ti><path>/dev/sda3</path></ti> |
772 |
<ti>ext3</ti> |
773 |
<ti>剩余磁盘</ti> |
774 |
<ti>根分区</ti> |
775 |
@@ -131,13 +131,13 @@ |
776 |
<pre caption="文件系统使用实例"> |
777 |
$ <i>df -h</i> |
778 |
Filesystem Type Size Used Avail Use% Mounted on |
779 |
-/dev/hda5 ext3 509M 132M 351M 28% / |
780 |
-/dev/hda2 ext3 5.0G 3.0G 1.8G 63% /home |
781 |
-/dev/hda7 ext3 7.9G 6.2G 1.3G 83% /usr |
782 |
-/dev/hda8 ext3 1011M 483M 477M 51% /opt |
783 |
-/dev/hda9 ext3 2.0G 607M 1.3G 32% /var |
784 |
-/dev/hda1 ext2 51M 17M 31M 36% /boot |
785 |
-/dev/hda6 swap 516M 12M 504M 2% <not mounted> |
786 |
+/dev/sda5 ext3 509M 132M 351M 28% / |
787 |
+/dev/sda2 ext3 5.0G 3.0G 1.8G 63% /home |
788 |
+/dev/sda7 ext3 7.9G 6.2G 1.3G 83% /usr |
789 |
+/dev/sda8 ext3 1011M 483M 477M 51% /opt |
790 |
+/dev/sda9 ext3 2.0G 607M 1.3G 32% /var |
791 |
+/dev/sda1 ext2 51M 17M 31M 36% /boot |
792 |
+/dev/sda6 swap 516M 12M 504M 2% <not mounted> |
793 |
<comment>(留作它用的未分配空间:2GB)</comment> |
794 |
</pre> |
795 |
|
796 |
@@ -164,15 +164,15 @@ |
797 |
<th>说明</th> |
798 |
</tr> |
799 |
<tr> |
800 |
- <ti><path>/dev/hda1</path></ti> |
801 |
+ <ti><path>/dev/sda1</path></ti> |
802 |
<ti>启动分区</ti> |
803 |
</tr> |
804 |
<tr> |
805 |
- <ti><path>/dev/hda2</path></ti> |
806 |
+ <ti><path>/dev/sda2</path></ti> |
807 |
<ti>交换分区</ti> |
808 |
</tr> |
809 |
<tr> |
810 |
- <ti><path>/dev/hda3</path></ti> |
811 |
+ <ti><path>/dev/sda3</path></ti> |
812 |
<ti>根分区</ti> |
813 |
</tr> |
814 |
</table> |
815 |
@@ -188,11 +188,11 @@ |
816 |
<body> |
817 |
|
818 |
<p> |
819 |
-<c>fdisk</c>是一个流行且强大的工具,用来把你的磁盘划分为分区。启动你磁盘上<c>fdisk</c>程序(在示例中,我们使用<path>/dev/hda</path>): |
820 |
+<c>fdisk</c>是一个流行且强大的工具,用来把你的磁盘划分为分区。启动你磁盘上<c>fdisk</c>程序(在示例中,我们使用<path>/dev/sda</path>): |
821 |
</p> |
822 |
|
823 |
<pre caption="启动fdisk"> |
824 |
-# <i>fdisk /dev/hda</i> |
825 |
+# <i>fdisk /dev/sda</i> |
826 |
</pre> |
827 |
|
828 |
<p> |
829 |
@@ -210,19 +210,19 @@ |
830 |
<pre caption="分区配置示例"> |
831 |
Command (m for help): <i>p</i> |
832 |
|
833 |
-Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders |
834 |
+Disk /dev/sda: 240 heads, 63 sectors, 2184 cylinders |
835 |
Units = cylinders of 15120 * 512 bytes |
836 |
|
837 |
Device Boot Start End Blocks Id System |
838 |
-/dev/hda1 1 14 105808+ 83 Linux |
839 |
-/dev/hda2 15 49 264600 82 Linux swap |
840 |
-/dev/hda3 50 70 158760 83 Linux |
841 |
-/dev/hda4 71 2184 15981840 5 Extended |
842 |
-/dev/hda5 71 209 1050808+ 83 Linux |
843 |
-/dev/hda6 210 348 1050808+ 83 Linux |
844 |
-/dev/hda7 349 626 2101648+ 83 Linux |
845 |
-/dev/hda8 627 904 2101648+ 83 Linux |
846 |
-/dev/hda9 905 2184 9676768+ 83 Linux |
847 |
+/dev/sda1 1 14 105808+ 83 Linux |
848 |
+/dev/sda2 15 49 264600 82 Linux swap |
849 |
+/dev/sda3 50 70 158760 83 Linux |
850 |
+/dev/sda4 71 2184 15981840 5 Extended |
851 |
+/dev/sda5 71 209 1050808+ 83 Linux |
852 |
+/dev/sda6 210 348 1050808+ 83 Linux |
853 |
+/dev/sda7 349 626 2101648+ 83 Linux |
854 |
+/dev/sda8 627 904 2101648+ 83 Linux |
855 |
+/dev/sda9 905 2184 9676768+ 83 Linux |
856 |
|
857 |
Command (m for help): |
858 |
</pre> |
859 |
@@ -238,7 +238,7 @@ |
860 |
<body> |
861 |
|
862 |
<p> |
863 |
-首先,我们将把磁盘上的所有分区删除。键入<c>d</c>来删除一个分区。例如,要删除存在的<path>/dev/hda1</path>: |
864 |
+首先,我们将把磁盘上的所有分区删除。键入<c>d</c>来删除一个分区。例如,要删除存在的<path>/dev/sda1</path>: |
865 |
</p> |
866 |
|
867 |
<pre caption="删除分区"> |
868 |
@@ -255,7 +255,7 @@ |
869 |
</p> |
870 |
|
871 |
<pre caption="空的分区表"> |
872 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
873 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
874 |
240 heads, 63 sectors/track, 3876 cylinders |
875 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
876 |
|
877 |
@@ -297,12 +297,12 @@ |
878 |
<pre caption="已创建的启动分区"> |
879 |
Command (m for help): <i>p</i> |
880 |
|
881 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
882 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
883 |
240 heads, 63 sectors/track, 3876 cylinders |
884 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
885 |
|
886 |
Device Boot Start End Blocks Id System |
887 |
-/dev/hda1 1 14 105808+ 83 Linux |
888 |
+/dev/sda1 1 14 105808+ 83 Linux |
889 |
</pre> |
890 |
|
891 |
<p> |
892 |
@@ -316,19 +316,19 @@ |
893 |
<body> |
894 |
|
895 |
<p> |
896 |
-我们现在来创建交换分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk你创建的是主分区。接着输入<c>2</c>来创建第2个主分区,在本例中是<path>/dev/hda2</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后一个柱面的时候,输入<c>+512M</c>来创建一个512MB大小的分区。在这之后,键入<c>t</c>来设置分区类型,键入<c>2</c>选择你刚刚创建的那个分区,然后再输入<c>82</c>把分区类型设置成“Linux Swap”。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
897 |
+我们现在来创建交换分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk你创建的是主分区。接着输入<c>2</c>来创建第2个主分区,在本例中是<path>/dev/sda2</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后一个柱面的时候,输入<c>+512M</c>来创建一个512MB大小的分区。在这之后,键入<c>t</c>来设置分区类型,键入<c>2</c>选择你刚刚创建的那个分区,然后再输入<c>82</c>把分区类型设置成“Linux Swap”。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
898 |
</p> |
899 |
|
900 |
<pre caption="创建交换分区后的分区列表"> |
901 |
Command (m for help): <i>p</i> |
902 |
|
903 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
904 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
905 |
240 heads, 63 sectors/track, 3876 cylinders |
906 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
907 |
|
908 |
Device Boot Start End Blocks Id System |
909 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
910 |
-/dev/hda2 15 81 506520 82 Linux swap |
911 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
912 |
+/dev/sda2 15 81 506520 82 Linux swap |
913 |
</pre> |
914 |
|
915 |
</body> |
916 |
@@ -338,20 +338,20 @@ |
917 |
<body> |
918 |
|
919 |
<p> |
920 |
-最后,我们来创建根分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk 你创建的是主分区。接着输入<c>3</c>来创建第3个主分区,在本例中是<path>/dev/hda3</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后 一个柱面的时候,单击回车把你磁盘上的剩余空间创建一个分区。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
921 |
+最后,我们来创建根分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk 你创建的是主分区。接着输入<c>3</c>来创建第3个主分区,在本例中是<path>/dev/sda3</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后 一个柱面的时候,单击回车把你磁盘上的剩余空间创建一个分区。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
922 |
</p> |
923 |
|
924 |
<pre caption="创建根分区后的分区列表"> |
925 |
Command (m for help): <i>p</i> |
926 |
|
927 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
928 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
929 |
240 heads, 63 sectors/track, 3876 cylinders |
930 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
931 |
|
932 |
Device Boot Start End Blocks Id System |
933 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
934 |
-/dev/hda2 15 81 506520 82 Linux swap |
935 |
-/dev/hda3 82 3876 28690200 83 Linux |
936 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
937 |
+/dev/sda2 15 81 506520 82 Linux swap |
938 |
+/dev/sda3 82 3876 28690200 83 Linux |
939 |
</pre> |
940 |
|
941 |
</body> |
942 |
@@ -426,12 +426,12 @@ |
943 |
</table> |
944 |
|
945 |
<p> |
946 |
-例如,要使启动分区(本例中的<path>/dev/hda1</path>)为ext2和根分区(本例中的<path>/dev/hda3</path>)为ext3,应该这样做: |
947 |
+例如,要使启动分区(本例中的<path>/dev/sda1</path>)为ext2和根分区(本例中的<path>/dev/sda3</path>)为ext3,应该这样做: |
948 |
</p> |
949 |
|
950 |
<pre caption="在分区上应用文件系统"> |
951 |
-# <i>mke2fs /dev/hda1</i> |
952 |
-# <i>mke2fs -j /dev/hda3</i> |
953 |
+# <i>mke2fs /dev/sda1</i> |
954 |
+# <i>mke2fs -j /dev/sda3</i> |
955 |
</pre> |
956 |
|
957 |
<p> |
958 |
@@ -449,7 +449,7 @@ |
959 |
</p> |
960 |
|
961 |
<pre caption="创建交换分区标志"> |
962 |
-# <i>mkswap /dev/hda2</i> |
963 |
+# <i>mkswap /dev/sda2</i> |
964 |
</pre> |
965 |
|
966 |
<p> |
967 |
@@ -457,7 +457,7 @@ |
968 |
</p> |
969 |
|
970 |
<pre caption="激活交换分区"> |
971 |
-# <i>swapon /dev/hda2</i> |
972 |
+# <i>swapon /dev/sda2</i> |
973 |
</pre> |
974 |
|
975 |
<p> |
976 |
@@ -476,9 +476,9 @@ |
977 |
</p> |
978 |
|
979 |
<pre caption="挂载分区"> |
980 |
-# <i>mount /dev/hda3 /mnt/gentoo</i> |
981 |
+# <i>mount /dev/sda3 /mnt/gentoo</i> |
982 |
# <i>mkdir /mnt/gentoo/boot</i> |
983 |
-# <i>mount /dev/hda1 /mnt/gentoo/boot</i> |
984 |
+# <i>mount /dev/sda1 /mnt/gentoo/boot</i> |
985 |
</pre> |
986 |
|
987 |
<note> |
988 |
|
989 |
|
990 |
|
991 |
1.2 xml/htdocs/doc/zh_cn/handbook/hb-install-blockdevices.xml |
992 |
|
993 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-blockdevices.xml?rev=1.2&view=markup |
994 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-blockdevices.xml?rev=1.2&content-type=text/plain |
995 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-blockdevices.xml?r1=1.1&r2=1.2 |
996 |
|
997 |
Index: hb-install-blockdevices.xml |
998 |
=================================================================== |
999 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-blockdevices.xml,v |
1000 |
retrieving revision 1.1 |
1001 |
retrieving revision 1.2 |
1002 |
diff -u -r1.1 -r1.2 |
1003 |
--- hb-install-blockdevices.xml 1 Apr 2008 21:34:29 -0000 1.1 |
1004 |
+++ hb-install-blockdevices.xml 3 May 2008 21:46:34 -0000 1.2 |
1005 |
@@ -1,12 +1,12 @@ |
1006 |
<?xml version='1.0' encoding="UTF-8"?> |
1007 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-blockdevices.xml,v 1.1 2008/04/01 21:34:29 r0bertz Exp $ --> |
1008 |
-<!-- English CVS version: 1.1 --> |
1009 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-blockdevices.xml,v 1.2 2008/05/03 21:46:34 r0bertz Exp $ --> |
1010 |
+<!-- English CVS version: 1.2 --> |
1011 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
1012 |
|
1013 |
<included> |
1014 |
|
1015 |
-<version>1</version> |
1016 |
-<date>2008-04-02</date> |
1017 |
+<version>2</version> |
1018 |
+<date>2008-05-04</date> |
1019 |
|
1020 |
<section id="blockdevicesdesc"> |
1021 |
<title>块设备</title> |
1022 |
@@ -16,7 +16,7 @@ |
1023 |
</p> |
1024 |
|
1025 |
<p> |
1026 |
-一开始我们先介绍<e>块设备</e>。最有名的块设备可能就是Linux系统中表示第一个IDE硬盘的<path>/dev/hda</path>。如果你使用SCSI硬盘,那么你的第一个硬盘将会是<path>/dev/sda</path>。Serial ATA硬盘也是<path>/dev/sda</path>,虽然它们是IDE硬盘。如果你正在使用内核里新的libata架构,所有的硬盘都将是<path>/dev/sd*</path>。 |
1027 |
+一开始我们先介绍<e>块设备</e>。最有名的块设备可能就是Linux系统中表示第一个IDE硬盘的<path>/dev/sda</path>。SCSI硬盘和Serial ATA硬盘都是<path>/dev/sda</path>。如果你正在使用内核里新的libata架构,即便IDE硬盘也会是<path>/dev/sd*</path>。如果你用的是旧的设备架构,你的第一个IDE硬盘将是<path>/dev/hda</path>。 |
1028 |
</p> |
1029 |
|
1030 |
<p> |
1031 |
|
1032 |
|
1033 |
|
1034 |
1.2 xml/htdocs/doc/zh_cn/handbook/hb-install-bootconfig.xml |
1035 |
|
1036 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-bootconfig.xml?rev=1.2&view=markup |
1037 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-bootconfig.xml?rev=1.2&content-type=text/plain |
1038 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-bootconfig.xml?r1=1.1&r2=1.2 |
1039 |
|
1040 |
Index: hb-install-bootconfig.xml |
1041 |
=================================================================== |
1042 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-bootconfig.xml,v |
1043 |
retrieving revision 1.1 |
1044 |
retrieving revision 1.2 |
1045 |
diff -u -r1.1 -r1.2 |
1046 |
--- hb-install-bootconfig.xml 3 May 2008 06:36:53 -0000 1.1 |
1047 |
+++ hb-install-bootconfig.xml 3 May 2008 21:46:34 -0000 1.2 |
1048 |
@@ -1,12 +1,12 @@ |
1049 |
<?xml version='1.0' encoding="UTF-8"?> |
1050 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-bootconfig.xml,v 1.1 2008/05/03 06:36:53 r0bertz Exp $ --> |
1051 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-bootconfig.xml,v 1.2 2008/05/03 21:46:34 r0bertz Exp $ --> |
1052 |
<!-- English CVS version: 1.1 --> |
1053 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
1054 |
|
1055 |
<included> |
1056 |
|
1057 |
<version>1</version> |
1058 |
-<date>2008-05-02</date> |
1059 |
+<date>2008-05-04</date> |
1060 |
|
1061 |
<section id="hardware"> |
1062 |
<title>额外硬件配置</title> |
1063 |
@@ -35,19 +35,19 @@ |
1064 |
</p> |
1065 |
|
1066 |
<pre caption="测试硬盘性能"> |
1067 |
-# <i>hdparm -tT /dev/hda</i> |
1068 |
+# <i>hdparm -tT /dev/sda</i> |
1069 |
</pre> |
1070 |
|
1071 |
<p> |
1072 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<c>/dev/hda</c>作为例子(替换成你使用的硬盘): |
1073 |
+为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<c>/dev/sda</c>作为例子(替换成你使用的硬盘): |
1074 |
</p> |
1075 |
|
1076 |
<pre caption="调整硬盘性能"> |
1077 |
<comment>(激活DMA:)</comment> |
1078 |
-# <i>hdparm -d 1 /dev/hda</i> |
1079 |
+# <i>hdparm -d 1 /dev/sda</i> |
1080 |
|
1081 |
<comment>(激活DMA,并附加安全选项:)</comment> |
1082 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
1083 |
+# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/sda</i> |
1084 |
</pre> |
1085 |
|
1086 |
</body> |
1087 |
|
1088 |
|
1089 |
|
1090 |
1.7 xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml |
1091 |
|
1092 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml?rev=1.7&view=markup |
1093 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml?rev=1.7&content-type=text/plain |
1094 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml?r1=1.6&r2=1.7 |
1095 |
|
1096 |
Index: hb-install-config.xml |
1097 |
=================================================================== |
1098 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml,v |
1099 |
retrieving revision 1.6 |
1100 |
retrieving revision 1.7 |
1101 |
diff -u -r1.6 -r1.7 |
1102 |
--- hb-install-config.xml 22 Apr 2008 19:25:39 -0000 1.6 |
1103 |
+++ hb-install-config.xml 3 May 2008 21:46:34 -0000 1.7 |
1104 |
@@ -4,8 +4,8 @@ |
1105 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1106 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1107 |
|
1108 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml,v 1.6 2008/04/22 19:25:39 r0bertz Exp $ --> |
1109 |
-<!-- English CVS version: 1.98 --> |
1110 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml,v 1.7 2008/05/03 21:46:34 r0bertz Exp $ --> |
1111 |
+<!-- English CVS version: 1.99 --> |
1112 |
|
1113 |
<sections> |
1114 |
|
1115 |
@@ -13,8 +13,8 @@ |
1116 |
你需要编辑一些重要的配置文件。在这一章中将对这些重要的配置文件作概述,并且介绍如何配置它们。 |
1117 |
</abstract> |
1118 |
|
1119 |
-<version>9.1</version> |
1120 |
-<date>2008-04-22</date> |
1121 |
+<version>9.2</version> |
1122 |
+<date>2008-05-04</date> |
1123 |
|
1124 |
<section> |
1125 |
<title>文件系统信息</title> |
1126 |
@@ -72,14 +72,7 @@ |
1127 |
让我们看看<path>/boot</path>分区的挂载选项是怎么写的。这仅仅是个例子,如果你没有或者不能创建<path>/boot</path>,请不要复制它。 |
1128 |
</p> |
1129 |
|
1130 |
-<p test="contains(func:keyval('/boot'), '/dev/hd')"> |
1131 |
-在我们默认的<keyval id="arch"/>分区例子中,<path>/boot</path>通常是指 |
1132 |
-<path><keyval id="/boot"/></path>分区(如果使用的是SCSI或者SATA设备的话,设备文 |
1133 |
-件就会是<path>/dev/sda*</path>),文件系统类型通常采用<c>ext2</c>格式。由于这个 |
1134 |
-分区在系统引导的时候需要检测,所以我们可以这样写: |
1135 |
-</p> |
1136 |
- |
1137 |
-<p test="contains(func:keyval('/boot'), '/dev/sd')"> |
1138 |
+<p> |
1139 |
在我们默认的<keyval id="arch"/>分区例子中,<path>/boot</path>一般 |
1140 |
为<path><keyval id="/boot"/></path>分区,且采用<e>ext2</e>文件系统。 |
1141 |
这个分区在引导过程中需要自检,因此我们这样写: |
1142 |
@@ -96,26 +89,14 @@ |
1143 |
</body> |
1144 |
<body> |
1145 |
|
1146 |
-<p test="not(func:keyval('arch')='SPARC')"> |
1147 |
+<p> |
1148 |
增加符合你分区方案的规则,为你的光驱(当然,如果你有其他分区或者驱动器,也为它们加上)添加挂载规则。 |
1149 |
</p> |
1150 |
|
1151 |
-<p test="func:keyval('arch')='SPARC'"> |
1152 |
-增加符合你分区方案的规则,为<path>/proc/openprom</path>和你的光驱(当然,如果你有其他分区或者驱动器,也为它们加上)添加挂载规则。 |
1153 |
-</p> |
1154 |
- |
1155 |
<p> |
1156 |
现在就参考以下<e>例子</e>创建你的<path>/etc/fstab</path>: |
1157 |
</p> |
1158 |
|
1159 |
-<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='AMD64' or func:keyval('arch')='x86'"> |
1160 |
-<keyval id="/boot"/> /boot ext2 defaults,noatime 1 2 |
1161 |
-/dev/hda2 none swap sw 0 0 |
1162 |
-/dev/hda3 / ext3 noatime 0 1 |
1163 |
- |
1164 |
-/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
1165 |
-</pre> |
1166 |
- |
1167 |
<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='HPPA'"> |
1168 |
<keyval id="/boot"/> /boot ext2 defaults,noatime 1 2 |
1169 |
/dev/sda3 none swap sw 0 0 |
1170 |
@@ -124,7 +105,7 @@ |
1171 |
/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
1172 |
</pre> |
1173 |
|
1174 |
-<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='Alpha' or func:keyval('arch')='MIPS'"> |
1175 |
+<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='Alpha' or func:keyval('arch')='MIPS' or func:keyval('arch')='x86' or func:keyval('arch')='AMD64'"> |
1176 |
<keyval id="/boot"/> /boot ext2 defaults,noatime 1 2 |
1177 |
/dev/sda2 none swap sw 0 0 |
1178 |
/dev/sda3 / ext3 noatime 0 1 |
1179 |
@@ -139,23 +120,13 @@ |
1180 |
/dev/sda5 /var ext3 noatime 0 2 |
1181 |
/dev/sda6 /home ext3 noatime 0 2 |
1182 |
|
1183 |
+<comment># 必须添加这条openprom规则</comment> |
1184 |
openprom /proc/openprom openpromfs defaults 0 0 |
1185 |
|
1186 |
/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
1187 |
</pre> |
1188 |
|
1189 |
-<note test="func:keyval('arch')='PPC'"> |
1190 |
-不同型号的PPC机器之间差别是很大的。请务必你根据自己的系统改写以下的例子。 |
1191 |
-</note> |
1192 |
- |
1193 |
-<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='PPC'"> |
1194 |
-/dev/hda4 / ext3 noatime 0 1 |
1195 |
-/dev/hda3 none swap sw 0 0 |
1196 |
- |
1197 |
-/dev/cdrom /mnt/cdrom auto noauto,user 0 0 |
1198 |
-</pre> |
1199 |
- |
1200 |
-<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='PPC64'"> |
1201 |
+<pre caption="/etc/fstab的一个完整例子" test="func:keyval('arch')='PPC' or func:keyval('arch')='PPC64'"> |
1202 |
/dev/sda4 / ext3 noatime 0 1 |
1203 |
/dev/sda3 none swap sw 0 0 |
1204 |
|
1205 |
|
1206 |
|
1207 |
|
1208 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-hppa-medium.xml |
1209 |
|
1210 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-hppa-medium.xml?rev=1.4&view=markup |
1211 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-hppa-medium.xml?rev=1.4&content-type=text/plain |
1212 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-hppa-medium.xml?r1=1.3&r2=1.4 |
1213 |
|
1214 |
Index: hb-install-hppa-medium.xml |
1215 |
=================================================================== |
1216 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-hppa-medium.xml,v |
1217 |
retrieving revision 1.3 |
1218 |
retrieving revision 1.4 |
1219 |
diff -u -r1.3 -r1.4 |
1220 |
--- hb-install-hppa-medium.xml 1 Apr 2008 21:34:29 -0000 1.3 |
1221 |
+++ hb-install-hppa-medium.xml 3 May 2008 21:46:34 -0000 1.4 |
1222 |
@@ -3,12 +3,12 @@ |
1223 |
|
1224 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1225 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1226 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-hppa-medium.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
1227 |
-<!-- English CVS version: 1.48 --> |
1228 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-hppa-medium.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
1229 |
+<!-- English CVS version: 1.49 --> |
1230 |
<sections> |
1231 |
|
1232 |
-<version>9.0</version> |
1233 |
-<date>2008-04-02</date> |
1234 |
+<version>9.1</version> |
1235 |
+<date>2008-05-04</date> |
1236 |
|
1237 |
<section> |
1238 |
<title>硬件需求</title> |
1239 |
@@ -363,115 +363,8 @@ |
1240 |
|
1241 |
</body> |
1242 |
</subsection> |
1243 |
-<subsection id="hardware"> |
1244 |
-<title>额外硬件配置</title> |
1245 |
-<body> |
1246 |
- |
1247 |
-<p> |
1248 |
-大多数hppa机器有一个板载以太网卡。旧的机器使用编译进内核的lasi驱动。新的机器使用编译成模块的tulip驱动。要使用后者,你需要加载它的驱动。 |
1249 |
-</p> |
1250 |
- |
1251 |
-<p> |
1252 |
-在下一个例子中,我们尝试加载<c>tulip</c>模块(支持某种网卡): |
1253 |
-</p> |
1254 |
- |
1255 |
-<pre caption="加载内核模块"> |
1256 |
-# <i>modprobe tulip</i> |
1257 |
-</pre> |
1258 |
- |
1259 |
-</body> |
1260 |
-</subsection> |
1261 |
- |
1262 |
-<subsection id="useraccounts"> |
1263 |
-<title>可选:用户帐号</title> |
1264 |
-<body> |
1265 |
- |
1266 |
-<p> |
1267 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用irssi聊天,你需要创建必要的用户帐号,并改变root用户的密码。 |
1268 |
-</p> |
1269 |
- |
1270 |
-<p> |
1271 |
-使用<c>passwd</c>命令来修改root用户密码: |
1272 |
-</p> |
1273 |
- |
1274 |
-<pre caption="修改root用户密码"> |
1275 |
-# <i>passwd</i> |
1276 |
-New password: <comment>(输入新密码)</comment> |
1277 |
-Re-enter password: <comment>(再次输入密码)</comment> |
1278 |
-</pre> |
1279 |
- |
1280 |
-<p> |
1281 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为“john”的用户。 |
1282 |
-</p> |
1283 |
- |
1284 |
-<pre caption="创建一个新用户"> |
1285 |
-# <i>useradd -m -G users john</i> |
1286 |
-# <i>passwd john</i> |
1287 |
-New password: <comment>(输入john的密码)</comment> |
1288 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
1289 |
-</pre> |
1290 |
- |
1291 |
-<p> |
1292 |
-你可以使用su从root用户切换到新建的用户: |
1293 |
-</p> |
1294 |
- |
1295 |
-<pre caption="切换用户"> |
1296 |
-# <i>su - john</i> |
1297 |
-</pre> |
1298 |
- |
1299 |
-</body> |
1300 |
-</subsection> |
1301 |
<subsection> |
1302 |
-<title>可选:在安装时查看文档</title> |
1303 |
-<body> |
1304 |
- |
1305 |
-<p> |
1306 |
-如果你想在安装的时候查看Gentoo手册(不管是光盘中的还是在线的),请确认你已经创建好了一个用户帐号(请查看<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
1307 |
-</p> |
1308 |
- |
1309 |
-<p> |
1310 |
-如果你想查看光盘里的文档,你可以立即运行<c>links</c>来阅读: |
1311 |
-</p> |
1312 |
- |
1313 |
-<pre caption="查看光盘里的文档"> |
1314 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
1315 |
-</pre> |
1316 |
- |
1317 |
-<p> |
1318 |
-不过,首选的还是在线查看Gentoo手册,因为它比光盘里提供的要新。你也可以使用<c>links</c>阅读它,但是必须在完成<e>配置网络</e>这一章后才行(否则你不能到因特网上查看文档): |
1319 |
-</p> |
1320 |
- |
1321 |
-<pre caption="查看在线文档"> |
1322 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/<keyval id="online-book"/></i> |
1323 |
-</pre> |
1324 |
- |
1325 |
-<p> |
1326 |
-你可以按<c>Alt-F1</c>来回到原来的终端。 |
1327 |
-</p> |
1328 |
- |
1329 |
-</body> |
1330 |
-</subsection> |
1331 |
-<subsection> |
1332 |
-<title>可选:启动SSH服务</title> |
1333 |
-<body> |
1334 |
- |
1335 |
-<p> |
1336 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
1337 |
-</p> |
1338 |
- |
1339 |
-<p> |
1340 |
-执行下面的命令来启动SSH服务: |
1341 |
-</p> |
1342 |
- |
1343 |
-<pre caption="启动SSH服务"> |
1344 |
-# <i>/etc/init.d/sshd start</i> |
1345 |
-</pre> |
1346 |
- |
1347 |
-<p> |
1348 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
1349 |
-</p> |
1350 |
- |
1351 |
-</body> |
1352 |
+<include href="hb-install-bootconfig.xml"/> |
1353 |
</subsection> |
1354 |
</section> |
1355 |
</sections> |
1356 |
|
1357 |
|
1358 |
|
1359 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-ia64-medium.xml |
1360 |
|
1361 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ia64-medium.xml?rev=1.4&view=markup |
1362 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ia64-medium.xml?rev=1.4&content-type=text/plain |
1363 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ia64-medium.xml?r1=1.3&r2=1.4 |
1364 |
|
1365 |
Index: hb-install-ia64-medium.xml |
1366 |
=================================================================== |
1367 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ia64-medium.xml,v |
1368 |
retrieving revision 1.3 |
1369 |
retrieving revision 1.4 |
1370 |
diff -u -r1.3 -r1.4 |
1371 |
--- hb-install-ia64-medium.xml 1 Apr 2008 21:34:29 -0000 1.3 |
1372 |
+++ hb-install-ia64-medium.xml 3 May 2008 21:46:34 -0000 1.4 |
1373 |
@@ -3,12 +3,12 @@ |
1374 |
|
1375 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1376 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1377 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ia64-medium.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
1378 |
-<!-- English CVS version: 1.5 --> |
1379 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ia64-medium.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
1380 |
+<!-- English CVS version: 1.6 --> |
1381 |
<sections> |
1382 |
|
1383 |
-<version>6.0</version> |
1384 |
-<date>2008-04-02</date> |
1385 |
+<version>6.1</version> |
1386 |
+<date>2008-05-04</date> |
1387 |
|
1388 |
<section> |
1389 |
<title>硬件需求</title> |
1390 |
@@ -202,141 +202,29 @@ |
1391 |
你也可以使用内核选项。他们代表了一些你可以激活或取消的设置。 |
1392 |
</p> |
1393 |
|
1394 |
-<pre caption="可以使用的内核选项"> |
1395 |
-- agpgart 加载agpgart(在显卡有问题、锁屏的情况下使用) |
1396 |
-- ide=nodma 为有故障的IDE设备强制关闭DMA |
1397 |
-- doscsi 扫描scsi设备(将导致某些网卡不能工作) |
1398 |
-- dopcmcia 为PCMCIA光驱启动pcmcia服务 |
1399 |
-- nofirewire 在initrd中禁用firewire模块(用于firewire光驱等等) |
1400 |
-- nokeymap 对于非US键盘布局,禁用keymap选择 |
1401 |
-- docache 把光盘中运行部分全部缓存到内存中,可以让你卸载/mnt/cdrom去用于 |
1402 |
- 挂载其他的光驱 |
1403 |
-- nodetect 使hwsetup/kudzu和hotplug不运行 |
1404 |
-- nousb 禁止从initrd中加载usb模块,禁用hotplug |
1405 |
-- nodhcp 如果检测到网卡,则不自动运行dhcp |
1406 |
-- nohotplug 禁止加载hotplug服务 |
1407 |
-- noapic 禁用apic(如果有硬件问题尝试此选项,比如网卡、scsi等) |
1408 |
-- noevms 禁止加载EVMS2模块 |
1409 |
-- nolvm 禁止加载LVM2模块 |
1410 |
-- noload=module1,[module2,[...]] |
1411 |
- 禁止加载特定的内核模块 |
1412 |
-- dosshd 启动sshd,对于无人职守安装有用 |
1413 |
-- passwd=foo 将foo设置为root用户密码;与dosshd一起在远程安装时使用 |
1414 |
-</pre> |
1415 |
- |
1416 |
-<p> |
1417 |
-然后你看到一个启动画面和一个进度条。如果你正在把Gentoo安装到一个使用非US键盘的电脑中,你必须在提示符时选择好你的键盘布局。如果10秒钟内没有选择,系统会以默认的键盘布局(US键盘)继续启动过程。一旦启动完成,你将会自动以“root”超级用户身份登录这个“Live” Gentoo Linux。在当前终端里你将会有个root提示符("#"),你可以通过按Alt-F2、Alt-F3和Alt-F4切换到其他的终端(如果你有视频终端并连接着键盘),按Alt-F1回到你开始的那个终端。 |
1418 |
-</p> |
1419 |
- |
1420 |
-<p> |
1421 |
-现在从<uri link="#hardware">其他硬件配置</uri>继续。 |
1422 |
-</p> |
1423 |
- |
1424 |
</body> |
1425 |
-</subsection> |
1426 |
-<subsection id="hardware"> |
1427 |
-<title>其他硬件配置</title> |
1428 |
<body> |
1429 |
- |
1430 |
-<p> |
1431 |
-当安装光盘启动时,它会尝试检测所有的硬件设备和加载准确的内核模块来支持这些硬件。绝大多数情况下,它会做的很好。但是,有些情况下,它可能没有自动加载你需要的内核模块。如果PCI自动检测错过了你系统里的一些硬件,你需要手动为它们加载相应的内核模块。 |
1432 |
-</p> |
1433 |
- |
1434 |
-<p> |
1435 |
-在下一个例子中,我们尝试加载<c>8139too</c>模块(支持某种网卡): |
1436 |
-</p> |
1437 |
- |
1438 |
-<pre caption="加载内核模块"> |
1439 |
-# <i>modprobe 8139too</i> |
1440 |
-</pre> |
1441 |
- |
1442 |
+<include href="hb-install-kernelparams.xml"/> |
1443 |
</body> |
1444 |
-</subsection> |
1445 |
-<subsection> |
1446 |
-<title>可选:调整硬盘性能</title> |
1447 |
-<body> |
1448 |
- |
1449 |
-<p> |
1450 |
-如果你是高级用户,你可能想使用<c>hdparm</c>调整IDE硬盘的性能。你可以使用<c>-tT</c>选项来测试你的硬盘的性能(多执行几次以得到更精确的结果): |
1451 |
-</p> |
1452 |
- |
1453 |
-<pre caption="测试硬盘性能"> |
1454 |
-# <i>hdparm -tT /dev/hda</i> |
1455 |
-</pre> |
1456 |
- |
1457 |
-<p> |
1458 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<c>/dev/hda</c>作为例子(替换成你使用的硬盘): |
1459 |
-</p> |
1460 |
- |
1461 |
-<pre caption="调整硬盘性能"> |
1462 |
-<comment>(激活DMA:)</comment> |
1463 |
-# <i>hdparm -d 1 /dev/hda</i> |
1464 |
-<comment>(激活安全性能选项:)</comment> |
1465 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
1466 |
-</pre> |
1467 |
|
1468 |
-</body> |
1469 |
-</subsection> |
1470 |
-<subsection id="useraccounts"> |
1471 |
-<title>可选:用户帐号</title> |
1472 |
<body> |
1473 |
|
1474 |
-<p> |
1475 |
-如果你打算给其他的人提供你的安装环境的访问权限,或者你不想用root用户权限(因为安全原因)使用irssi聊天,你需要创建必要的用户帐号,并改变root用户的密码。 |
1476 |
-</p> |
1477 |
- |
1478 |
-<p> |
1479 |
-使用<c>passwd</c>命令来修改root用户密码: |
1480 |
-</p> |
1481 |
- |
1482 |
-<pre caption="修改root用户密码"> |
1483 |
-# <i>passwd</i> |
1484 |
-New password: <comment>(Enter your new password)</comment> |
1485 |
-Re-enter password: <comment>(Re-enter your password)</comment> |
1486 |
-</pre> |
1487 |
+<note> |
1488 |
+本CD将会先检查“no*”选项,然后再检查“do*”选项,所以你可以以你指定的顺序来覆盖任意选项。 |
1489 |
+</note> |
1490 |
|
1491 |
<p> |
1492 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为"john"的用户。 |
1493 |
+然后你看到一个启动画面和一个进度条。如果你正在把Gentoo安装到一个使用非US键盘的电脑中,你必须在提示符时选择好你的键盘布局。如果10秒钟内没有选择,系统会以默认的键盘布局(US键盘)继续启动过程。一旦启动完成,你将会自动以“root”超级用户身份登录这个“Live” Gentoo Linux。在当前终端里你将会有个root提示符("#"),你可以通过按Alt-F2、Alt-F3和Alt-F4切换到其他的终端(如果你有视频终端并连接着键盘),按Alt-F1回到你开始的那个终端。 |
1494 |
</p> |
1495 |
|
1496 |
-<pre caption="创建一个新用户"> |
1497 |
-# <i>useradd -m -G users john</i> |
1498 |
-# <i>passwd john</i> |
1499 |
-New password: <comment>(输入john的密码)</comment> |
1500 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
1501 |
-</pre> |
1502 |
- |
1503 |
<p> |
1504 |
-你可以使用<c>su</c>从root用户切换到新建的用户: |
1505 |
+现在从<uri link="#hardware">额外硬件配置</uri>继续。 |
1506 |
</p> |
1507 |
- |
1508 |
-<pre caption="切换用户"> |
1509 |
-# <i>su - john</i> |
1510 |
-</pre> |
1511 |
- |
1512 |
</body> |
1513 |
+ |
1514 |
</subsection> |
1515 |
<subsection> |
1516 |
-<title>可选:启动SSH服务</title> |
1517 |
-<body> |
1518 |
- |
1519 |
-<p> |
1520 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
1521 |
-</p> |
1522 |
- |
1523 |
-<p> |
1524 |
-执行下面的命令来启动SSH服务: |
1525 |
-</p> |
1526 |
- |
1527 |
-<pre caption="启动SSH服务"> |
1528 |
-# <i>/etc/init.d/sshd start</i> |
1529 |
-</pre> |
1530 |
- |
1531 |
-<p> |
1532 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
1533 |
-</p> |
1534 |
- |
1535 |
-</body> |
1536 |
+<include href="hb-install-bootconfig.xml"/> |
1537 |
</subsection> |
1538 |
</section> |
1539 |
</sections> |
1540 |
|
1541 |
|
1542 |
|
1543 |
1.2 xml/htdocs/doc/zh_cn/handbook/hb-install-kernelparams.xml |
1544 |
|
1545 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-kernelparams.xml?rev=1.2&view=markup |
1546 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-kernelparams.xml?rev=1.2&content-type=text/plain |
1547 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-kernelparams.xml?r1=1.1&r2=1.2 |
1548 |
|
1549 |
Index: hb-install-kernelparams.xml |
1550 |
=================================================================== |
1551 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-kernelparams.xml,v |
1552 |
retrieving revision 1.1 |
1553 |
retrieving revision 1.2 |
1554 |
diff -u -r1.1 -r1.2 |
1555 |
--- hb-install-kernelparams.xml 2 Apr 2008 20:23:59 -0000 1.1 |
1556 |
+++ hb-install-kernelparams.xml 3 May 2008 21:46:34 -0000 1.2 |
1557 |
@@ -1,12 +1,12 @@ |
1558 |
<?xml version='1.0' encoding="UTF-8"?> |
1559 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-kernelparams.xml,v 1.1 2008/04/02 20:23:59 r0bertz Exp $ --> |
1560 |
-<!-- English CVS version: 1.1 --> |
1561 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-kernelparams.xml,v 1.2 2008/05/03 21:46:34 r0bertz Exp $ --> |
1562 |
+<!-- English CVS version: 1.2 --> |
1563 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
1564 |
|
1565 |
<included> |
1566 |
|
1567 |
-<version>1</version> |
1568 |
-<date>2008-04-01</date> |
1569 |
+<version>2</version> |
1570 |
+<date>2008-05-04</date> |
1571 |
|
1572 |
<body> |
1573 |
<p> |
1574 |
@@ -51,10 +51,10 @@ |
1575 |
这个选项加载对大部分SCSI控制器的支持。在大多数USB设备启动的时候 |
1576 |
也需要这个选项,因为USB设备使用内核中的SCSI子系统。 |
1577 |
</dd> |
1578 |
-<dt>hda=stroke</dt> |
1579 |
+<dt>sda=stroke</dt> |
1580 |
<dd> |
1581 |
这个选项允许你对整个硬盘进行分区,即使你的BIOS不能处理大硬盘。 |
1582 |
- 此选项仅使用在使用旧BIOS的机器上。使用时把hda替换为需要这个选项 |
1583 |
+ 此选项仅使用在使用旧BIOS的机器上。使用时把sda替换为需要这个选项 |
1584 |
的设备。 |
1585 |
</dd> |
1586 |
<dt>ide=nodma</dt> |
1587 |
|
1588 |
|
1589 |
|
1590 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-mips-bootloader.xml |
1591 |
|
1592 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-bootloader.xml?rev=1.4&view=markup |
1593 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-bootloader.xml?rev=1.4&content-type=text/plain |
1594 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-bootloader.xml?r1=1.3&r2=1.4 |
1595 |
|
1596 |
Index: hb-install-mips-bootloader.xml |
1597 |
=================================================================== |
1598 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-bootloader.xml,v |
1599 |
retrieving revision 1.3 |
1600 |
retrieving revision 1.4 |
1601 |
diff -u -r1.3 -r1.4 |
1602 |
--- hb-install-mips-bootloader.xml 1 Apr 2008 21:34:29 -0000 1.3 |
1603 |
+++ hb-install-mips-bootloader.xml 3 May 2008 21:46:34 -0000 1.4 |
1604 |
@@ -3,12 +3,12 @@ |
1605 |
|
1606 |
<!-- The content of this document is licensed under the CC-BY-SA license |
1607 |
See http://creativecommons.org/licenses/by-sa/2.5 |
1608 |
- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-bootloader.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
1609 |
-<!-- English CVS version: 1.19 --> |
1610 |
+ $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-bootloader.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
1611 |
+<!-- English CVS version: 1.20 --> |
1612 |
<sections> |
1613 |
|
1614 |
-<version>9.0</version> |
1615 |
-<date>2008-04-02</date> |
1616 |
+<version>9.1</version> |
1617 |
+<date>2008-05-04</date> |
1618 |
|
1619 |
<section id="sgi"> |
1620 |
<title>Silicon Graphics机器——配置arcload</title> |
1621 |
@@ -203,9 +203,9 @@ |
1622 |
|
1623 |
<pre caption="一个基本的default.colo"> |
1624 |
<comment>#:CoLo:#</comment> |
1625 |
-mount hda1 |
1626 |
+mount sda1 |
1627 |
load /kernel.gz.working |
1628 |
-execute root=/dev/hda3 ro console=ttyS0,115200 |
1629 |
+execute root=/dev/sda3 ro console=ttyS0,115200 |
1630 |
</pre> |
1631 |
|
1632 |
<note> |
1633 |
@@ -219,8 +219,8 @@ |
1634 |
<pre caption="基于菜单的配置"> |
1635 |
<comment>#:CoLo:#</comment> |
1636 |
|
1637 |
-lcd "Mounting hda1" |
1638 |
-mount hda1 |
1639 |
+lcd "Mounting sda1" |
1640 |
+mount sda1 |
1641 |
select "Which Kernel?" 50 Working New |
1642 |
|
1643 |
goto {menu-option} |
1644 |
@@ -233,7 +233,7 @@ |
1645 |
@lcd "Loading Linux" {image-name} |
1646 |
load /{image-name} |
1647 |
lcd "Booting..." |
1648 |
-execute root=/dev/hda5 ro console=ttyS0,115200 |
1649 |
+execute root=/dev/sda5 ro console=ttyS0,115200 |
1650 |
boot |
1651 |
</pre> |
1652 |
|
1653 |
|
1654 |
|
1655 |
|
1656 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-mips-disk.xml |
1657 |
|
1658 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-disk.xml?rev=1.4&view=markup |
1659 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-disk.xml?rev=1.4&content-type=text/plain |
1660 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-disk.xml?r1=1.3&r2=1.4 |
1661 |
|
1662 |
Index: hb-install-mips-disk.xml |
1663 |
=================================================================== |
1664 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-disk.xml,v |
1665 |
retrieving revision 1.3 |
1666 |
retrieving revision 1.4 |
1667 |
diff -u -r1.3 -r1.4 |
1668 |
--- hb-install-mips-disk.xml 1 Apr 2008 21:34:29 -0000 1.3 |
1669 |
+++ hb-install-mips-disk.xml 3 May 2008 21:46:34 -0000 1.4 |
1670 |
@@ -3,12 +3,12 @@ |
1671 |
|
1672 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
1673 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
1674 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-disk.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
1675 |
-<!-- English CVS version: 1.25 --> |
1676 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-disk.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
1677 |
+<!-- English CVS version: 1.26 --> |
1678 |
<sections> |
1679 |
|
1680 |
-<version>3.0</version> |
1681 |
-<date>2008-04-02</date> |
1682 |
+<version>3.1</version> |
1683 |
+<date>2008-05-04</date> |
1684 |
|
1685 |
<section> |
1686 |
<title>块设备介绍</title> |
1687 |
@@ -205,7 +205,7 @@ |
1688 |
|
1689 |
<ul> |
1690 |
<li> |
1691 |
- Cobalt固件要求<path>/dev/hda1</path>是一个格式化为<e>EXT2 Revision 0</e>的Linux分区。<e>不可以是EXT2 Revision 1!</e>(Cobalt BOOTROM只能理解EXT2r0) |
1692 |
+ Cobalt固件要求<path>/dev/sda1</path>是一个格式化为<e>EXT2 Revision 0</e>的Linux分区。<e>不可以是EXT2 Revision 1!</e>(Cobalt BOOTROM只能理解EXT2r0) |
1693 |
</li> |
1694 |
<li> |
1695 |
前面说到的分区的根目录里必须有一个gzip压缩的ELF镜像,<path>vmlinux.gz</path>,它将会作为内核被加载 |
1696 |
@@ -217,11 +217,11 @@ |
1697 |
</p> |
1698 |
|
1699 |
<p> |
1700 |
-我下面将假设你已经创建了<path>/dev/hda1</path>以便后来加载作为<path>/boot</path>分区。如果你希望把它作为<path>/</path>,你需要记得PROM的要求。 |
1701 |
+我下面将假设你已经创建了<path>/dev/sda1</path>以便后来加载作为<path>/boot</path>分区。如果你希望把它作为<path>/</path>,你需要记得PROM的要求。 |
1702 |
</p> |
1703 |
|
1704 |
<p> |
1705 |
-好了,我们继续……要创建分区,你在命令行提示符处键入<c>fdisk /dev/hda</c>。你需要知道的主要命令有这些: |
1706 |
+好了,我们继续……要创建分区,你在命令行提示符处键入<c>fdisk /dev/sda</c>。你需要知道的主要命令有这些: |
1707 |
</p> |
1708 |
|
1709 |
<ul> |
1710 |
@@ -252,7 +252,7 @@ |
1711 |
</ul> |
1712 |
|
1713 |
<pre caption="为磁盘分区"> |
1714 |
-# <i>fdisk /dev/hda</i> |
1715 |
+# <i>fdisk /dev/sda</i> |
1716 |
|
1717 |
The number of cylinders for this disk is set to 19870. |
1718 |
There is nothing wrong with that, but this is larger than 1024, |
1719 |
@@ -280,7 +280,7 @@ |
1720 |
|
1721 |
Command (m for help): <i>p</i> |
1722 |
|
1723 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1724 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1725 |
16 heads, 63 sectors/track, 19870 cylinders |
1726 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1727 |
|
1728 |
@@ -303,12 +303,12 @@ |
1729 |
<comment>(现在如果我们再打'p',我们应该看到新分的区)</comment> |
1730 |
Command (m for help): <i>p</i> |
1731 |
|
1732 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1733 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1734 |
16 heads, 63 sectors/track, 19870 cylinders |
1735 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1736 |
|
1737 |
Device Boot Start End Blocks Id System |
1738 |
-/dev/hda1 1 40 20128+ 83 Linux |
1739 |
+/dev/sda1 1 40 20128+ 83 Linux |
1740 |
|
1741 |
<comment>(剩余的,我喜欢放到扩展分区里,所以我创建扩展分区)</comment> |
1742 |
|
1743 |
@@ -357,19 +357,19 @@ |
1744 |
|
1745 |
Command (m for help): <i>p</i> |
1746 |
|
1747 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1748 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1749 |
16 heads, 63 sectors/track, 19870 cylinders |
1750 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1751 |
|
1752 |
Device Boot Start End Blocks ID System |
1753 |
-/dev/hda1 1 21 10552+ 83 Linux |
1754 |
-/dev/hda2 22 19870 10003896 5 Extended |
1755 |
-/dev/hda5 22 1037 512032+ 83 Linux |
1756 |
-/dev/hda6 1038 5101 2048224+ 83 Linux |
1757 |
-/dev/hda7 5102 9165 2048224+ 83 Linux |
1758 |
-/dev/hda8 9166 13229 2048224+ 83 Linux |
1759 |
-/dev/hda9 13230 17293 2048224+ 83 Linux |
1760 |
-/dev/hda10 17294 19870 1298776+ 83 Linux |
1761 |
+/dev/sda1 1 21 10552+ 83 Linux |
1762 |
+/dev/sda2 22 19870 10003896 5 Extended |
1763 |
+/dev/sda5 22 1037 512032+ 83 Linux |
1764 |
+/dev/sda6 1038 5101 2048224+ 83 Linux |
1765 |
+/dev/sda7 5102 9165 2048224+ 83 Linux |
1766 |
+/dev/sda8 9166 13229 2048224+ 83 Linux |
1767 |
+/dev/sda9 13230 17293 2048224+ 83 Linux |
1768 |
+/dev/sda10 17294 19870 1298776+ 83 Linux |
1769 |
|
1770 |
<comment>(注意第10分区,我们的交换分区仍然是类型83?)</comment> |
1771 |
|
1772 |
@@ -382,19 +382,19 @@ |
1773 |
|
1774 |
Command (m for help): <i>p</i> |
1775 |
|
1776 |
-Disk /dev/hda: 10.2 GB, 10254827520 bytes |
1777 |
+Disk /dev/sda: 10.2 GB, 10254827520 bytes |
1778 |
16 heads, 63 sectors/track, 19870 cylinders |
1779 |
Units = cylinders of 1008 * 512 = 516096 bytes |
1780 |
|
1781 |
Device Boot Start End Blocks ID System |
1782 |
-/dev/hda1 1 21 10552+ 83 Linux |
1783 |
-/dev/hda2 22 19870 10003896 5 Extended |
1784 |
-/dev/hda5 22 1037 512032+ 83 Linux |
1785 |
-/dev/hda6 1038 5101 2048224+ 83 Linux |
1786 |
-/dev/hda7 5102 9165 2048224+ 83 Linux |
1787 |
-/dev/hda8 9166 13229 2048224+ 83 Linux |
1788 |
-/dev/hda9 13230 17293 2048224+ 83 Linux |
1789 |
-/dev/hda10 17294 19870 1298776+ 82 Linux Swap |
1790 |
+/dev/sda1 1 21 10552+ 83 Linux |
1791 |
+/dev/sda2 22 19870 10003896 5 Extended |
1792 |
+/dev/sda5 22 1037 512032+ 83 Linux |
1793 |
+/dev/sda6 1038 5101 2048224+ 83 Linux |
1794 |
+/dev/sda7 5102 9165 2048224+ 83 Linux |
1795 |
+/dev/sda8 9166 13229 2048224+ 83 Linux |
1796 |
+/dev/sda9 13230 17293 2048224+ 83 Linux |
1797 |
+/dev/sda10 17294 19870 1298776+ 82 Linux Swap |
1798 |
|
1799 |
<comment>(现在,我们写入新的分区表。)</comment> |
1800 |
|
1801 |
@@ -456,7 +456,7 @@ |
1802 |
</table> |
1803 |
|
1804 |
<p> |
1805 |
-例如,要使启动分区(本例中的<path>/dev/hda1</path>)为ext2和根分区(本例中的<path>/dev/hda3</path>)为ext3,应该这样做: |
1806 |
+例如,要使启动分区(本例中的<path>/dev/sda1</path>)为ext2和根分区(本例中的<path>/dev/sda3</path>)为ext3,应该这样做: |
1807 |
</p> |
1808 |
|
1809 |
<pre caption="在分区上应用文件系统"> |
1810 |
@@ -469,7 +469,7 @@ |
1811 |
</p> |
1812 |
|
1813 |
<warn> |
1814 |
-如果你在Cobalt服务器上安装,记得<path>/dev/hda1</path>必须是<e>EXT2 revision 0</e>;所有其他文件系统(比如EXT2 revision 1、EXT3、ReiserFS、XFS、JFS还有其他的)<e>都不行!</e>你可以用这个命令来格式化:<c>mke2fs -r 0 /dev/hda1</c>。 |
1815 |
+如果你在Cobalt服务器上安装,记得<path>/dev/sda1</path>必须是<e>EXT2 revision 0</e>;所有其他文件系统(比如EXT2 revision 1、EXT3、ReiserFS、XFS、JFS还有其他的)<e>都不行!</e>你可以用这个命令来格式化:<c>mke2fs -r 0 /dev/sda1</c>。 |
1816 |
</warn> |
1817 |
|
1818 |
</body> |
1819 |
|
1820 |
|
1821 |
|
1822 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-bootloader.xml |
1823 |
|
1824 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-bootloader.xml?rev=1.4&view=markup |
1825 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-bootloader.xml?rev=1.4&content-type=text/plain |
1826 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-bootloader.xml?r1=1.3&r2=1.4 |
1827 |
|
1828 |
Index: hb-install-ppc-bootloader.xml |
1829 |
=================================================================== |
1830 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-bootloader.xml,v |
1831 |
retrieving revision 1.3 |
1832 |
retrieving revision 1.4 |
1833 |
diff -u -r1.3 -r1.4 |
1834 |
--- hb-install-ppc-bootloader.xml 1 Apr 2008 21:34:29 -0000 1.3 |
1835 |
+++ hb-install-ppc-bootloader.xml 3 May 2008 21:46:34 -0000 1.4 |
1836 |
@@ -3,12 +3,12 @@ |
1837 |
|
1838 |
<!-- The content of this document is licensed under the CC-BY-SA license |
1839 |
See http://creativecommons.org/licenses/by-sa/2.5 |
1840 |
- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-bootloader.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
1841 |
-<!-- English CVS version: 1.44 --> |
1842 |
+ $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-bootloader.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
1843 |
+<!-- English CVS version: 1.45 --> |
1844 |
<sections> |
1845 |
|
1846 |
-<version>9.0</version> |
1847 |
-<date>2008-04-02</date> |
1848 |
+<version>9.1</version> |
1849 |
+<date>2008-05-04</date> |
1850 |
|
1851 |
<section> |
1852 |
<title>选择一个引导程序</title> |
1853 |
@@ -68,7 +68,7 @@ |
1854 |
partition=3 |
1855 |
initrd=/boot/initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/> |
1856 |
<comment># 你可以在此附加上额外的内核参数比如rootdelay=10用于USB/Firewire启动</comment> |
1857 |
- append="real_root=/dev/hda3 init=/linuxrc" |
1858 |
+ append="real_root=/dev/sda3 init=/linuxrc" |
1859 |
read-only |
1860 |
<comment>##########################################################</comment> |
1861 |
</pre> |
1862 |
@@ -99,7 +99,7 @@ |
1863 |
</pre> |
1864 |
|
1865 |
<p> |
1866 |
-现在退出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。 |
1867 |
+现在退出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。 |
1868 |
</p> |
1869 |
|
1870 |
<pre caption="重新进入chroot"> |
1871 |
@@ -130,7 +130,7 @@ |
1872 |
</pre> |
1873 |
|
1874 |
<p> |
1875 |
-虽然下面给出了一个<path>yaboot.conf</path>示例文件,但是你仍然需要通过修改它来满足你自己的要求。G5用户以及使用firewire和USB启动的用户应该注意他们的磁盘被Linux内核认为是SCSI磁盘,所以你需要将<path>/dev/hda</path>替换成<path>/dev/sda</path>。 |
1876 |
+虽然下面给出了一个<path>yaboot.conf</path>示例文件,但是你仍然需要通过修改它来满足你自己的要求。 |
1877 |
</p> |
1878 |
|
1879 |
<pre caption="/etc/yaboot.conf"> |
1880 |
@@ -140,16 +140,16 @@ |
1881 |
## 也可以参考:/usr/share/doc/yaboot/examples可以得到一些配置的示例。 |
1882 |
## |
1883 |
## 如果需要双重启动菜单,请添加以下一项或多项: |
1884 |
-## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ |
1885 |
+## bsd=/dev/sdaX, macos=/dev/sdaY, macosx=/dev/sdaZ |
1886 |
|
1887 |
## bootstrap分区:</comment> |
1888 |
|
1889 |
-boot=/dev/hda2 |
1890 |
+boot=/dev/sda2 |
1891 |
|
1892 |
<comment>## ofboot是Open Firmware指定bootstrap分区的方式。 |
1893 |
## 如果没有定义过这个变量,则yaboot会在G5和某些G4机器上失效(除非 |
1894 |
## 你将一些必要的参数传给mkofboot/ybin程序)。 |
1895 |
-## hd:X表示/dev/sdaX(或/dev/hdaX)。 |
1896 |
+## hd:X表示/dev/sdaX。 |
1897 |
|
1898 |
## G5用户应该去掉这一行的注释!! |
1899 |
|
1900 |
@@ -182,7 +182,7 @@ |
1901 |
###########################################################</comment> |
1902 |
image=/boot/<keyval id="kernel-name"/> |
1903 |
label=Linux |
1904 |
- root=/dev/hda3 |
1905 |
+ root=/dev/sda3 |
1906 |
partition=3 |
1907 |
<comment># append="rootdelay=10" # 从USB/Firewire启动时必需</comment> |
1908 |
read-only |
1909 |
@@ -192,8 +192,8 @@ |
1910 |
## macos=hd:13 |
1911 |
## macosx=hd:12 |
1912 |
## 用以替代示例值。</comment> |
1913 |
-macos=/dev/hda13 |
1914 |
-macosx=/dev/hda12 |
1915 |
+macos=/dev/sda13 |
1916 |
+macosx=/dev/sda12 |
1917 |
enablecdboot |
1918 |
enableofboot |
1919 |
</pre> |
1920 |
@@ -301,7 +301,7 @@ |
1921 |
init-message = "Gentoo 2008.0\n" |
1922 |
<comment># 这个是启动分区</comment> |
1923 |
partition = 2 |
1924 |
-root = /dev/hda4 |
1925 |
+root = /dev/sda4 |
1926 |
timeout = 30 |
1927 |
default = gentoo |
1928 |
<comment># 这个是你的内核</comment> |
1929 |
@@ -327,7 +327,7 @@ |
1930 |
# <i>nvsetenv input-device kbd</i> |
1931 |
# <i>nvsetenv boot-device scsi/sd@1:0</i> <comment># 对应SCSI</comment> |
1932 |
# <i>nvsetenv boot-device ata/ata-disk@0:0</i> <comment># 对应ATA</comment> |
1933 |
-# <i>nvsetenv boot-file /boot/<keyval id="kernel-name"/> root=/dev/hda4</i> <comment>第一项是内核的路径,第二项是root分区。你可以在这一行末尾附加任何的内核选项。</comment> |
1934 |
+# <i>nvsetenv boot-file /boot/<keyval id="kernel-name"/> root=/dev/sda4</i> <comment>第一项是内核的路径,第二项是root分区。你可以在这一行末尾附加任何的内核选项。</comment> |
1935 |
# <i>nvsetenv boot-command boot</i> <comment># 对于MacOS来说设置成bye,对于Linux来说设置成boot</comment> |
1936 |
</pre> |
1937 |
|
1938 |
@@ -400,11 +400,11 @@ |
1939 |
|
1940 |
[SECTION] |
1941 |
Local HD -> Linux (Normal) |
1942 |
-ide:0 <keyval id="kernel-name"/> video=radeonfb:1024x768@70 root=/dev/hda3 |
1943 |
+ide:0 <keyval id="kernel-name"/> video=radeonfb:1024x768@70 root=/dev/sda3 |
1944 |
|
1945 |
[SECTION] |
1946 |
Local HD -> Genkernel (Normal) |
1947 |
-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"/> |
1948 |
+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"/> |
1949 |
</pre> |
1950 |
|
1951 |
<p> |
1952 |
|
1953 |
|
1954 |
|
1955 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-disk.xml |
1956 |
|
1957 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-disk.xml?rev=1.4&view=markup |
1958 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-disk.xml?rev=1.4&content-type=text/plain |
1959 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-disk.xml?r1=1.3&r2=1.4 |
1960 |
|
1961 |
Index: hb-install-ppc-disk.xml |
1962 |
=================================================================== |
1963 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-disk.xml,v |
1964 |
retrieving revision 1.3 |
1965 |
retrieving revision 1.4 |
1966 |
diff -u -r1.3 -r1.4 |
1967 |
--- hb-install-ppc-disk.xml 1 Apr 2008 21:34:29 -0000 1.3 |
1968 |
+++ hb-install-ppc-disk.xml 3 May 2008 21:46:34 -0000 1.4 |
1969 |
@@ -3,12 +3,12 @@ |
1970 |
|
1971 |
<!-- The content of this document is licensed under the CC-BY-SA license |
1972 |
See http://creativecommons.org/licenses/by-sa/2.5 |
1973 |
- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-disk.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
1974 |
-<!-- English CVS version: 1.46 --> |
1975 |
+ $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-disk.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
1976 |
+<!-- English CVS version: 1.47 --> |
1977 |
<sections> |
1978 |
|
1979 |
-<version>9.0</version> |
1980 |
-<date>2008-04-02</date> |
1981 |
+<version>9.1</version> |
1982 |
+<date>2008-05-04</date> |
1983 |
|
1984 |
<section> |
1985 |
<title>块设备介绍</title> |
1986 |
@@ -62,25 +62,25 @@ |
1987 |
<th>描述</th> |
1988 |
</tr> |
1989 |
<tr> |
1990 |
- <ti><path>/dev/hda1</path></ti> |
1991 |
+ <ti><path>/dev/sda1</path></ti> |
1992 |
<ti>32k</ti> |
1993 |
<ti>无</ti> |
1994 |
<ti>Apple分区表</ti> |
1995 |
</tr> |
1996 |
<tr> |
1997 |
- <ti><path>/dev/hda2</path></ti> |
1998 |
+ <ti><path>/dev/sda2</path></ti> |
1999 |
<ti>800k</ti> |
2000 |
<ti>HFS</ti> |
2001 |
<ti>Apple Bootstrap</ti> |
2002 |
</tr> |
2003 |
<tr> |
2004 |
- <ti><path>/dev/hda3</path></ti> |
2005 |
+ <ti><path>/dev/sda3</path></ti> |
2006 |
<ti>512MB</ti> |
2007 |
<ti>Swap</ti> |
2008 |
<ti>Linux交换分区</ti> |
2009 |
</tr> |
2010 |
<tr> |
2011 |
- <ti><path>/dev/hda4</path></ti> |
2012 |
+ <ti><path>/dev/sda4</path></ti> |
2013 |
<ti>磁盘剩余空间</ti> |
2014 |
<ti>ext3, reiserfs, xfs</ti> |
2015 |
<ti>Linux Root分区</ti> |
2016 |
@@ -109,25 +109,25 @@ |
2017 |
<th>描述</th> |
2018 |
</tr> |
2019 |
<tr> |
2020 |
- <ti><path>/dev/hda1</path></ti> |
2021 |
+ <ti><path>/dev/sda1</path></ti> |
2022 |
<ti>32k</ti> |
2023 |
<ti>无</ti> |
2024 |
<ti>Apple分区表</ti> |
2025 |
</tr> |
2026 |
<tr> |
2027 |
- <ti><path>/dev/hda2</path></ti> |
2028 |
+ <ti><path>/dev/sda2</path></ti> |
2029 |
<ti>32MB</ti> |
2030 |
<ti>ext2</ti> |
2031 |
<ti>Quik启动分区(只针对quik)</ti> |
2032 |
</tr> |
2033 |
<tr> |
2034 |
- <ti><path>/dev/hda3</path></ti> |
2035 |
+ <ti><path>/dev/sda3</path></ti> |
2036 |
<ti>512MB</ti> |
2037 |
<ti>Swap</ti> |
2038 |
<ti>Linux交换分区</ti> |
2039 |
</tr> |
2040 |
<tr> |
2041 |
- <ti><path>/dev/hda4</path></ti> |
2042 |
+ <ti><path>/dev/sda4</path></ti> |
2043 |
<ti>磁盘剩余空间</ti> |
2044 |
<ti>ext3, reiserfs, xfs</ti> |
2045 |
<ti>Linux Root分区</ti> |
2046 |
@@ -152,19 +152,19 @@ |
2047 |
<th>描述</th> |
2048 |
</tr> |
2049 |
<tr> |
2050 |
- <ti><path>/dev/hda1</path></ti> |
2051 |
+ <ti><path>/dev/sda1</path></ti> |
2052 |
<ti>32MB</ti> |
2053 |
<ti>affs1或ext2</ti> |
2054 |
<ti>启动分区</ti> |
2055 |
</tr> |
2056 |
<tr> |
2057 |
- <ti><path>/dev/hda2</path></ti> |
2058 |
+ <ti><path>/dev/sda2</path></ti> |
2059 |
<ti>512MB</ti> |
2060 |
<ti>Swap</ti> |
2061 |
<ti>Linux交换分区</ti> |
2062 |
</tr> |
2063 |
<tr> |
2064 |
- <ti><path>/dev/hda3</path></ti> |
2065 |
+ <ti><path>/dev/sda3</path></ti> |
2066 |
<ti>磁盘剩余空间</ti> |
2067 |
<ti>ext3, reiserfs, xfs</ti> |
2068 |
<ti>Linux Root分区</ti> |
2069 |
@@ -189,19 +189,19 @@ |
2070 |
<th>描述</th> |
2071 |
</tr> |
2072 |
<tr> |
2073 |
- <ti><path>/dev/hda1</path></ti> |
2074 |
+ <ti><path>/dev/sda1</path></ti> |
2075 |
<ti>800k</ti> |
2076 |
<ti>无</ti> |
2077 |
<ti>PReP Boot分区(类型 0x41)</ti> |
2078 |
</tr> |
2079 |
<tr> |
2080 |
- <ti><path>/dev/hda2</path></ti> |
2081 |
+ <ti><path>/dev/sda2</path></ti> |
2082 |
<ti>512MB</ti> |
2083 |
<ti>Swap</ti> |
2084 |
<ti>Linux Swap (类型0x82)</ti> |
2085 |
</tr> |
2086 |
<tr> |
2087 |
- <ti><path>/dev/hda3</path></ti> |
2088 |
+ <ti><path>/dev/sda3</path></ti> |
2089 |
<ti>磁盘剩余空间</ti> |
2090 |
<ti>ext3, reiserfs, xfs</ti> |
2091 |
<ti>Linux Root (类型0x83)</ti> |
2092 |
@@ -261,7 +261,7 @@ |
2093 |
</p> |
2094 |
|
2095 |
<pre caption="启动mac-fdisk"> |
2096 |
-# <i>mac-fdisk /dev/hda</i> |
2097 |
+# <i>mac-fdisk /dev/sda</i> |
2098 |
</pre> |
2099 |
|
2100 |
<p> |
2101 |
@@ -311,7 +311,7 @@ |
2102 |
</p> |
2103 |
|
2104 |
<pre caption="启动parted"> |
2105 |
-# <i>parted /dev/hda</i> |
2106 |
+# <i>parted /dev/sda</i> |
2107 |
</pre> |
2108 |
|
2109 |
<p> |
2110 |
@@ -364,7 +364,7 @@ |
2111 |
</p> |
2112 |
|
2113 |
<pre caption="创建一个交换分区签名"> |
2114 |
-# <i>mkswap /dev/hda3</i> |
2115 |
+# <i>mkswap /dev/sda3</i> |
2116 |
</pre> |
2117 |
|
2118 |
<p> |
2119 |
@@ -372,7 +372,7 @@ |
2120 |
</p> |
2121 |
|
2122 |
<pre caption="激活一个交换分区"> |
2123 |
-# <i>swapon /dev/hda3</i> |
2124 |
+# <i>swapon /dev/sda3</i> |
2125 |
</pre> |
2126 |
|
2127 |
<p> |
2128 |
@@ -413,11 +413,11 @@ |
2129 |
</table> |
2130 |
|
2131 |
<p> |
2132 |
-例如,将root分区(本例中的<path>/dev/hda4</path>)设为ext3,你应该使用: |
2133 |
+例如,将root分区(本例中的<path>/dev/sda4</path>)设为ext3,你应该使用: |
2134 |
</p> |
2135 |
|
2136 |
<pre caption="应用一个文件系统到分区上"> |
2137 |
-# <i>mke2fs -j /dev/hda4</i> |
2138 |
+# <i>mke2fs -j /dev/sda4</i> |
2139 |
</pre> |
2140 |
|
2141 |
<p> |
2142 |
@@ -444,7 +444,7 @@ |
2143 |
</p> |
2144 |
|
2145 |
<pre caption="挂载分区"> |
2146 |
-# <i>mount /dev/hda4 /mnt/gentoo</i> |
2147 |
+# <i>mount /dev/sda4 /mnt/gentoo</i> |
2148 |
</pre> |
2149 |
|
2150 |
<note> |
2151 |
|
2152 |
|
2153 |
|
2154 |
1.6 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml |
2155 |
|
2156 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml?rev=1.6&view=markup |
2157 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml?rev=1.6&content-type=text/plain |
2158 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml?r1=1.5&r2=1.6 |
2159 |
|
2160 |
Index: hb-install-ppc-medium.xml |
2161 |
=================================================================== |
2162 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml,v |
2163 |
retrieving revision 1.5 |
2164 |
retrieving revision 1.6 |
2165 |
diff -u -r1.5 -r1.6 |
2166 |
--- hb-install-ppc-medium.xml 1 Apr 2008 21:34:29 -0000 1.5 |
2167 |
+++ hb-install-ppc-medium.xml 3 May 2008 21:46:34 -0000 1.6 |
2168 |
@@ -3,12 +3,12 @@ |
2169 |
|
2170 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2171 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2172 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml,v 1.5 2008/04/01 21:34:29 r0bertz Exp $ --> |
2173 |
-<!-- English CVS version: 1.60 --> |
2174 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml,v 1.6 2008/05/03 21:46:34 r0bertz Exp $ --> |
2175 |
+<!-- English CVS version: 1.61 --> |
2176 |
<sections> |
2177 |
|
2178 |
-<version>9.0</version> |
2179 |
-<date>2008-04-02</date> |
2180 |
+<version>9.1</version> |
2181 |
+<date>2008-05-04</date> |
2182 |
|
2183 |
<section> |
2184 |
<title>硬件需求</title> |
2185 |
@@ -331,147 +331,8 @@ |
2186 |
|
2187 |
</body> |
2188 |
</subsection> |
2189 |
-<subsection id="hardware"> |
2190 |
-<title>额外硬件配置</title> |
2191 |
-<body> |
2192 |
- |
2193 |
-<p> |
2194 |
-当安装光盘启动时,它会尝试检测所有的硬件设备和加载准确的内核模块来支持这些硬件。绝大多数情况下,它会做的很好。但是,有些情况下,它可能没有自动加载你需要的内核模块。如果PCI自动检测错过了你系统里的一些硬件,你需要手动为它们加载相应的内核模块。 |
2195 |
-</p> |
2196 |
- |
2197 |
-<p> |
2198 |
-在下一个例子中我们会试图装载<c>airport</c>模块。这个模块仅支持老式的Airport卡(802.11b)。由于固件发布的限制,安装光盘暂不支持Airport Extreme(802.11g)。 |
2199 |
-</p> |
2200 |
- |
2201 |
-<pre caption="加载airport模块"> |
2202 |
-# <i>modprobe airport</i> |
2203 |
-</pre> |
2204 |
- |
2205 |
-<p> |
2206 |
-在一些老式的iMac机器上,有时网卡无法被正常识别出来。这时需要用到BMAC驱动: |
2207 |
-</p> |
2208 |
- |
2209 |
-<pre caption="加载bmac模块"> |
2210 |
-# <i>modprobe bmac</i> |
2211 |
-</pre> |
2212 |
- |
2213 |
-</body> |
2214 |
-</subsection> |
2215 |
<subsection> |
2216 |
-<title>可选:调整硬盘性能</title> |
2217 |
-<body> |
2218 |
- |
2219 |
-<p> |
2220 |
-如果你是高级用户,你可能想使用<c>hdparm</c>调整IDE硬盘的性能。你可以使用<c>-tT</c>选项来测试你的硬盘的性能(多执行几次以得到更精确的结果): |
2221 |
-</p> |
2222 |
- |
2223 |
-<pre caption="测试硬盘性能"> |
2224 |
-# <i>hdparm -tT /dev/hda</i> |
2225 |
-</pre> |
2226 |
- |
2227 |
-<p> |
2228 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<path>/dev/hda</path>作为例子(请把它替换成你目前使用的硬盘) |
2229 |
-</p> |
2230 |
- |
2231 |
-<pre caption="调整硬盘性能"> |
2232 |
-<comment>激活DMA:</comment> |
2233 |
-# <i>hdparm -d 1 /dev/hda</i> |
2234 |
-<comment>激活DMA,并附加安全增强选项:</comment> |
2235 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
2236 |
-</pre> |
2237 |
- |
2238 |
-</body> |
2239 |
-</subsection> |
2240 |
-<subsection id="useraccounts"> |
2241 |
-<title>可选:用户帐号</title> |
2242 |
-<body> |
2243 |
- |
2244 |
-<p> |
2245 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用<c>irssi</c>聊天的话,你需要创建必要的用户帐号,并改变root用户的密码。 |
2246 |
-</p> |
2247 |
- |
2248 |
-<p> |
2249 |
-使用<c>passwd</c>工具来修改root用户密码: |
2250 |
-</p> |
2251 |
- |
2252 |
-<pre caption="修改root用户密码"> |
2253 |
-# <i>passwd</i> |
2254 |
-New password: <comment>(输入新密码)</comment> |
2255 |
-Re-enter password: <comment>(再次输入密码)</comment> |
2256 |
-</pre> |
2257 |
- |
2258 |
-<p> |
2259 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为"john"的用户。 |
2260 |
-</p> |
2261 |
- |
2262 |
-<pre caption="创建一个新用户"> |
2263 |
-# <i>useradd -m -G users john</i> |
2264 |
-# <i>passwd john</i> |
2265 |
-New password: <comment>(输入john的密码)</comment> |
2266 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
2267 |
-</pre> |
2268 |
- |
2269 |
-<p> |
2270 |
-你可以使用<c>su</c>从root用户切换到新建的用户: |
2271 |
-</p> |
2272 |
- |
2273 |
-<pre caption="切换用户"> |
2274 |
-# <i>su - john</i> |
2275 |
-</pre> |
2276 |
- |
2277 |
-</body> |
2278 |
-</subsection> |
2279 |
-<subsection> |
2280 |
-<title>可选:在安装时查看文档</title> |
2281 |
-<body> |
2282 |
- |
2283 |
-<p> |
2284 |
-如果你想在安装的时候查看Gentoo手册(不管是光盘中的还是在线的),请确认你已经创建好了一个用户帐号(请查看<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
2285 |
-</p> |
2286 |
- |
2287 |
-<p> |
2288 |
-如果你想查看光盘里的文档,你可以立即运行<c>links</c>或<c>links -g</c>用一个图形化的浏览器来阅读文档: |
2289 |
-</p> |
2290 |
- |
2291 |
-<pre caption="查看光盘里的文档"> |
2292 |
-# <i>links /mnt/cdrom/docs/html/index.html</i> |
2293 |
-</pre> |
2294 |
- |
2295 |
-<p> |
2296 |
-不过,首选的还是在线查看Gentoo手册,因为它比光盘里提供的要新。你也可以使用<c>links</c>阅读它,但是必须在完成<e>配置网络</e>这一章后才行(否则你不能到因特网上查看文档): |
2297 |
-</p> |
2298 |
- |
2299 |
-<pre caption="查看在线文档"> |
2300 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/<keyval id="online-book"/></i> |
2301 |
-</pre> |
2302 |
- |
2303 |
-<p> |
2304 |
-你可以按<c>Alt-F1</c>来回到原来的终端。 |
2305 |
-</p> |
2306 |
- |
2307 |
-</body> |
2308 |
-</subsection> |
2309 |
-<subsection> |
2310 |
-<title>可选:启动SSH服务</title> |
2311 |
-<body> |
2312 |
- |
2313 |
-<p> |
2314 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
2315 |
-</p> |
2316 |
- |
2317 |
-<p> |
2318 |
-执行下面的命令来启动SSH服务: |
2319 |
-</p> |
2320 |
- |
2321 |
-<pre caption="启动SSH服务"> |
2322 |
-# <i>/etc/init.d/sshd start</i> |
2323 |
-</pre> |
2324 |
- |
2325 |
-<p> |
2326 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
2327 |
-</p> |
2328 |
- |
2329 |
-</body> |
2330 |
+<include href="hb-install-bootconfig.xml"/> |
2331 |
</subsection> |
2332 |
</section> |
2333 |
</sections> |
2334 |
|
2335 |
|
2336 |
|
2337 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-bootloader.xml |
2338 |
|
2339 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-bootloader.xml?rev=1.4&view=markup |
2340 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-bootloader.xml?rev=1.4&content-type=text/plain |
2341 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-bootloader.xml?r1=1.3&r2=1.4 |
2342 |
|
2343 |
Index: hb-install-ppc64-bootloader.xml |
2344 |
=================================================================== |
2345 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-bootloader.xml,v |
2346 |
retrieving revision 1.3 |
2347 |
retrieving revision 1.4 |
2348 |
diff -u -r1.3 -r1.4 |
2349 |
--- hb-install-ppc64-bootloader.xml 1 Apr 2008 21:34:29 -0000 1.3 |
2350 |
+++ hb-install-ppc64-bootloader.xml 3 May 2008 21:46:34 -0000 1.4 |
2351 |
@@ -3,12 +3,12 @@ |
2352 |
|
2353 |
<!-- The content of this document is licensed under the CC-BY-SA license |
2354 |
See http://creativecommons.org/licenses/by-sa/2.5 |
2355 |
- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-bootloader.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
2356 |
-<!-- English CVS version: 1.28 --> |
2357 |
+ $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-bootloader.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
2358 |
+<!-- English CVS version: 1.29 --> |
2359 |
<sections> |
2360 |
|
2361 |
-<version>9.0</version> |
2362 |
-<date>2008-04-02</date> |
2363 |
+<version>9.1</version> |
2364 |
+<date>2008-05-04</date> |
2365 |
|
2366 |
<section> |
2367 |
<title>做出您的选择</title> |
2368 |
@@ -119,21 +119,21 @@ |
2369 |
## 也可以参考:/usr/share/doc/yaboot/examples可以得到一些配置的示例。 |
2370 |
|
2371 |
## 如果需要双重启动菜单,请添加以下一项或多项: |
2372 |
-## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ |
2373 |
+## bsd=/dev/sdaX, macos=/dev/sdaY, macosx=/dev/sdaZ |
2374 |
|
2375 |
## 我们的bootstrap分区:</comment> |
2376 |
|
2377 |
-boot=/dev/hda2 |
2378 |
+boot=/dev/sda2 |
2379 |
|
2380 |
<comment>## ofboot是Open Firmware指定bootstrap分区的方式。 |
2381 |
## 如果没有定义过这个变量,则yaboot会在G5和某些G4机器上失效(除非 |
2382 |
## 你将一些必要的参数传给mkofboot/ybin程序)。 |
2383 |
-## hd:X表示/dev/sdaX(或/dev/hdaX)。 |
2384 |
+## hd:X表示/dev/sdaX。 |
2385 |
</comment> |
2386 |
|
2387 |
ofboot=hd:2 |
2388 |
|
2389 |
-<comment>## hd:是Open Firmware称呼hda的方式</comment> |
2390 |
+<comment>## hd:是Open Firmware称呼sda的方式</comment> |
2391 |
device=hd: |
2392 |
|
2393 |
delay=5 |
2394 |
@@ -148,7 +148,7 @@ |
2395 |
#################</comment> |
2396 |
image=/boot/<keyval id="kernel-name"/> |
2397 |
label=Linux |
2398 |
- root=/dev/hda3 |
2399 |
+ root=/dev/sda3 |
2400 |
partition=3 |
2401 |
read-only |
2402 |
|
2403 |
|
2404 |
|
2405 |
|
2406 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml |
2407 |
|
2408 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml?rev=1.4&view=markup |
2409 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml?rev=1.4&content-type=text/plain |
2410 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml?r1=1.3&r2=1.4 |
2411 |
|
2412 |
Index: hb-install-ppc64-medium.xml |
2413 |
=================================================================== |
2414 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml,v |
2415 |
retrieving revision 1.3 |
2416 |
retrieving revision 1.4 |
2417 |
diff -u -r1.3 -r1.4 |
2418 |
--- hb-install-ppc64-medium.xml 1 Apr 2008 21:34:29 -0000 1.3 |
2419 |
+++ hb-install-ppc64-medium.xml 3 May 2008 21:46:34 -0000 1.4 |
2420 |
@@ -3,13 +3,13 @@ |
2421 |
|
2422 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2423 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2424 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
2425 |
-<!-- English CVS version: 1.37 --> |
2426 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
2427 |
+<!-- English CVS version: 1.38 --> |
2428 |
|
2429 |
<sections> |
2430 |
|
2431 |
-<version>9.0</version> |
2432 |
-<date>2008-04-02</date> |
2433 |
+<version>9.1</version> |
2434 |
+<date>2008-05-04</date> |
2435 |
|
2436 |
<section> |
2437 |
<title>硬件需求</title> |
2438 |
@@ -383,139 +383,8 @@ |
2439 |
|
2440 |
</body> |
2441 |
</subsection> |
2442 |
-<subsection id="hardware"> |
2443 |
-<title>额外硬件配置</title> |
2444 |
-<body> |
2445 |
- |
2446 |
-<p> |
2447 |
-当安装光盘启动时,它会尝试检测所有的硬件设备和加载准确的内核模块来支持这些硬件。绝大多数情况下,它会做的很好。但是,有些情况下,它可能没有自动加载你需要的内核模块。如果PCI自动检测错过了你系统里的一些硬件,你需要手动为它们加载相应的内核模块。 |
2448 |
-</p> |
2449 |
- |
2450 |
-<p> |
2451 |
-在下一个例子中,我们尝试加载<c>8139too</c>模块(支持某种网卡): |
2452 |
-</p> |
2453 |
- |
2454 |
-<pre caption="加载内核模块"> |
2455 |
-# <i>modprobe 8139too</i> |
2456 |
-</pre> |
2457 |
- |
2458 |
-</body> |
2459 |
-</subsection> |
2460 |
-<subsection> |
2461 |
-<title>可选:调整硬盘性能</title> |
2462 |
-<body> |
2463 |
- |
2464 |
-<p> |
2465 |
-如果你是高级用户,你可能想使用<c>hdparm</c>调整IDE硬盘的性能。你可以使用<c>-tT</c>选项来测试你的硬盘的性能(多执行几次以得到更精确的结果): |
2466 |
-</p> |
2467 |
- |
2468 |
-<pre caption="测试硬盘性能"> |
2469 |
-# <i>hdparm -tT /dev/hda</i> |
2470 |
-</pre> |
2471 |
- |
2472 |
-<p> |
2473 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<path>/dev/hda</path>作为例子(请把它替换成你目前使用的硬盘) |
2474 |
-</p> |
2475 |
- |
2476 |
-<pre caption="调整硬盘性能"> |
2477 |
-<comment>激活DMA:</comment> |
2478 |
-# <i>hdparm -d 1 /dev/hda</i> |
2479 |
-<comment>激活DMA,并附加安全选项:</comment> |
2480 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
2481 |
-</pre> |
2482 |
- |
2483 |
-</body> |
2484 |
-</subsection> |
2485 |
-<subsection id="useraccounts"> |
2486 |
-<title>可选:用户帐号</title> |
2487 |
-<body> |
2488 |
- |
2489 |
-<p> |
2490 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用<c>irssi</c>聊天的话,你需要创建必要的用户帐号,并改变root用户的密码。 |
2491 |
-</p> |
2492 |
- |
2493 |
-<p> |
2494 |
-使用<c>passwd</c>工具来修改root用户密码: |
2495 |
-</p> |
2496 |
- |
2497 |
-<pre caption="修改root用户密码"> |
2498 |
-# <i>passwd</i> |
2499 |
-New password: <comment>(输入新密码)</comment> |
2500 |
-Re-enter password: <comment>(再次输入密码)</comment> |
2501 |
-</pre> |
2502 |
- |
2503 |
-<p> |
2504 |
-要创建用户帐号,首先输入他们的用户名,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为"john"的用户。 |
2505 |
-</p> |
2506 |
- |
2507 |
-<pre caption="创建一个新用户"> |
2508 |
-# <i>useradd -m -G users john</i> |
2509 |
-# <i>passwd john</i> |
2510 |
-New password: <comment>(输入john的密码)</comment> |
2511 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
2512 |
-</pre> |
2513 |
- |
2514 |
-<p> |
2515 |
-你可以使用<c>su</c>从root用户切换到新建的用户: |
2516 |
-</p> |
2517 |
- |
2518 |
-<pre caption="切换用户"> |
2519 |
-# <i>su - john</i> |
2520 |
-</pre> |
2521 |
- |
2522 |
-</body> |
2523 |
-</subsection> |
2524 |
-<subsection> |
2525 |
-<title>可选:在安装时查看文档</title> |
2526 |
-<body> |
2527 |
- |
2528 |
-<p> |
2529 |
-如果你想在安装的时候查看Gentoo手册,确认你已经创建好了一个用户帐号(查看<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
2530 |
-</p> |
2531 |
- |
2532 |
-<p> |
2533 |
-如果你想查看光盘里的文档,你可以立即运行<c>links</c>来阅读: |
2534 |
-</p> |
2535 |
- |
2536 |
-<pre caption="查看光盘里的文档"> |
2537 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
2538 |
-</pre> |
2539 |
- |
2540 |
-<p> |
2541 |
-不过,首选的还是在线查看Gentoo手册,因为它比光盘里提供的要新。你也可以使用<c>links</c>阅读它,但是必须在完成<e>配置网络</e>这一章后才行(否则你不能到因特网上查看文档): |
2542 |
-</p> |
2543 |
- |
2544 |
-<pre caption="查看在线文档"> |
2545 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/<keyval id="online-book"/></i> |
2546 |
-</pre> |
2547 |
- |
2548 |
-<p> |
2549 |
-你可以按<c>Alt-F1</c>来回到原来的终端。 |
2550 |
-</p> |
2551 |
- |
2552 |
-</body> |
2553 |
-</subsection> |
2554 |
<subsection> |
2555 |
-<title>可选:启动SSH服务</title> |
2556 |
-<body> |
2557 |
- |
2558 |
-<p> |
2559 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
2560 |
-</p> |
2561 |
- |
2562 |
-<p> |
2563 |
-执行下面的命令来启动SSH服务: |
2564 |
-</p> |
2565 |
- |
2566 |
-<pre caption="启动SSH服务"> |
2567 |
-# <i>/etc/init.d/sshd start</i> |
2568 |
-</pre> |
2569 |
- |
2570 |
-<p> |
2571 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
2572 |
-</p> |
2573 |
- |
2574 |
-</body> |
2575 |
+<include href="hb-install-bootconfig.xml"/> |
2576 |
</subsection> |
2577 |
</section> |
2578 |
</sections> |
2579 |
|
2580 |
|
2581 |
|
2582 |
1.5 xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-disk.xml |
2583 |
|
2584 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-disk.xml?rev=1.5&view=markup |
2585 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-disk.xml?rev=1.5&content-type=text/plain |
2586 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-disk.xml?r1=1.4&r2=1.5 |
2587 |
|
2588 |
Index: hb-install-sparc-disk.xml |
2589 |
=================================================================== |
2590 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-disk.xml,v |
2591 |
retrieving revision 1.4 |
2592 |
retrieving revision 1.5 |
2593 |
diff -u -r1.4 -r1.5 |
2594 |
--- hb-install-sparc-disk.xml 1 Apr 2008 21:34:29 -0000 1.4 |
2595 |
+++ hb-install-sparc-disk.xml 3 May 2008 21:46:34 -0000 1.5 |
2596 |
@@ -3,12 +3,12 @@ |
2597 |
|
2598 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2599 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2600 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-disk.xml,v 1.4 2008/04/01 21:34:29 r0bertz Exp $ --> |
2601 |
-<!-- English CVS version: 1.31 --> |
2602 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-disk.xml,v 1.5 2008/05/03 21:46:34 r0bertz Exp $ --> |
2603 |
+<!-- English CVS version: 1.32 --> |
2604 |
<sections> |
2605 |
|
2606 |
-<version>5.0</version> |
2607 |
-<date>2008-04-02</date> |
2608 |
+<version>5.1</version> |
2609 |
+<date>2008-05-04</date> |
2610 |
|
2611 |
<section> |
2612 |
<title>块设备入门</title> |
2613 |
@@ -24,7 +24,7 @@ |
2614 |
</p> |
2615 |
|
2616 |
<p> |
2617 |
-第一个SCSI磁盘上的第一个分区是<path>/dev/sda1</path>,第二个是<path>/dev/sda2</path>依此类推。类似的,第一个IDE磁盘上的前两个分区是<path>/dev/hda1</path>和<path>/dev/hda2</path> |
2618 |
+第一个SCSI磁盘上的第一个分区是<path>/dev/sda1</path>,第二个是<path>/dev/sda2</path>依此类推。 |
2619 |
</p> |
2620 |
|
2621 |
<p> |
2622 |
@@ -45,7 +45,7 @@ |
2623 |
<body> |
2624 |
|
2625 |
<p> |
2626 |
-如果你对制订一个分区方案没有兴趣,那么可以采用下表的建议,一个适合多数系统的方案。对基于IDE硬盘的系统,把下面的<c>sda</c>替换成<c>hda</c>。 |
2627 |
+如果你对制订一个分区方案没有兴趣,那么可以采用下表的建议,一个适合多数系统的方案。 |
2628 |
</p> |
2629 |
|
2630 |
<p> |
2631 |
|
2632 |
|
2633 |
|
2634 |
1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-medium.xml |
2635 |
|
2636 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-medium.xml?rev=1.4&view=markup |
2637 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-medium.xml?rev=1.4&content-type=text/plain |
2638 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-medium.xml?r1=1.3&r2=1.4 |
2639 |
|
2640 |
Index: hb-install-sparc-medium.xml |
2641 |
=================================================================== |
2642 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-medium.xml,v |
2643 |
retrieving revision 1.3 |
2644 |
retrieving revision 1.4 |
2645 |
diff -u -r1.3 -r1.4 |
2646 |
--- hb-install-sparc-medium.xml 1 Apr 2008 21:34:29 -0000 1.3 |
2647 |
+++ hb-install-sparc-medium.xml 3 May 2008 21:46:34 -0000 1.4 |
2648 |
@@ -3,12 +3,12 @@ |
2649 |
|
2650 |
<!-- The content of this document is licensed under the CC-BY-SA license |
2651 |
See http://creativecommons.org/licenses/by-sa/2.5 |
2652 |
- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-medium.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ --> |
2653 |
-<!-- English CVS version: 1.46 --> |
2654 |
+ $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-medium.xml,v 1.4 2008/05/03 21:46:34 r0bertz Exp $ --> |
2655 |
+<!-- English CVS version: 1.47 --> |
2656 |
<sections> |
2657 |
|
2658 |
-<version>9.0</version> |
2659 |
-<date>2008-04-02</date> |
2660 |
+<version>9.1</version> |
2661 |
+<date>2008-05-04</date> |
2662 |
|
2663 |
<section> |
2664 |
<title>必需的硬件</title> |
2665 |
@@ -262,114 +262,8 @@ |
2666 |
|
2667 |
</body> |
2668 |
</subsection> |
2669 |
-<subsection id="hardware"> |
2670 |
-<title>额外硬件配置</title> |
2671 |
-<body> |
2672 |
- |
2673 |
-<p> |
2674 |
-如果不是所有的硬件都被支持,你需要加载适当的内核模块。 |
2675 |
-</p> |
2676 |
- |
2677 |
-<p> |
2678 |
-接下来的例子中我们尝试加载<c>8139too</c>模块(以支持某些网卡): |
2679 |
-</p> |
2680 |
- |
2681 |
-<pre caption="加载内核模块"> |
2682 |
-# <i>modprobe 8139too</i> |
2683 |
-</pre> |
2684 |
- |
2685 |
-</body> |
2686 |
-</subsection> |
2687 |
-<subsection id="useraccounts"> |
2688 |
-<title>可选:用户帐号</title> |
2689 |
-<body> |
2690 |
- |
2691 |
-<p> |
2692 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用<c>irssi</c>聊天的话,你需要创建必要的用户帐号,并改变root用户的密码。 |
2693 |
-</p> |
2694 |
- |
2695 |
-<p> |
2696 |
-使用<c>passwd</c>命令来修改root用户密码: |
2697 |
-</p> |
2698 |
- |
2699 |
-<pre caption="修改root用户密码"> |
2700 |
-# <i>passwd</i> |
2701 |
-New password: <comment>(输入新密码)</comment> |
2702 |
-Re-enter password: <comment>(再次输入密码)</comment> |
2703 |
-</pre> |
2704 |
- |
2705 |
-<p> |
2706 |
-为了创建用户账号,我们先输入他们的信息,接着是密码。我们使用<c>useradd</c>和<c>passwd</c>来做这些事。在下一个例子中,我们将创建一个叫"john"的用户。 |
2707 |
-</p> |
2708 |
- |
2709 |
-<pre caption="创建一个新用户"> |
2710 |
-# <i>useradd -m -G users john</i> |
2711 |
-# <i>passwd john</i> |
2712 |
-New password: <comment>(输入john的密码)</comment> |
2713 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
2714 |
-</pre> |
2715 |
- |
2716 |
-<p> |
2717 |
-你可以使用su从root用户切换到新建的用户: |
2718 |
-</p> |
2719 |
- |
2720 |
-<pre caption="切换用户"> |
2721 |
-# <i>su - john</i> |
2722 |
-</pre> |
2723 |
- |
2724 |
-</body> |
2725 |
-</subsection> |
2726 |
<subsection> |
2727 |
-<title>可选:在安装时查看文档</title> |
2728 |
-<body> |
2729 |
- |
2730 |
-<p> |
2731 |
-在安装过程中你想查看Gentoo手册(要么是光盘上的或者在线的),确定你有建立一个用户账号(查看<uri link="#useraccounts">可选:用户账号</uri>。然后按<c>Alt-F2</c>切换到一个新的终端并登陆。 |
2732 |
-</p> |
2733 |
- |
2734 |
-<p> |
2735 |
-如果你想马上查看光盘里的文档,运行<c>links</c>来查看: |
2736 |
-</p> |
2737 |
- |
2738 |
-<pre caption="查看光盘里的文档"> |
2739 |
-# <i>links /mnt/cdrom/docs/handbook/html/index.html</i> |
2740 |
-</pre> |
2741 |
- |
2742 |
-<p> |
2743 |
-不过,你最好是使用在线的Gentoo手册,因为它比光盘中的要新。你也可以用<c>links</c>来查看,但是得在完成了<e>配置你的网络</e>以后(否则你将无法连接到因特网上查看文档): |
2744 |
-</p> |
2745 |
- |
2746 |
-<pre caption="查看在线文档"> |
2747 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/<keyval id="online-book"/></i> |
2748 |
-</pre> |
2749 |
- |
2750 |
-<p> |
2751 |
-你可用按<c>Alt-F1</c>来返回最初的那个终端。 |
2752 |
-</p> |
2753 |
- |
2754 |
-</body> |
2755 |
-</subsection> |
2756 |
-<subsection> |
2757 |
-<title>可选:启动SSH服务</title> |
2758 |
-<body> |
2759 |
- |
2760 |
-<p> |
2761 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
2762 |
-</p> |
2763 |
- |
2764 |
-<p> |
2765 |
-执行下面的命令来启动SSH服务: |
2766 |
-</p> |
2767 |
- |
2768 |
-<pre caption="启动SSH服务"> |
2769 |
-# <i>/etc/init.d/sshd start</i> |
2770 |
-</pre> |
2771 |
- |
2772 |
-<p> |
2773 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
2774 |
-</p> |
2775 |
- |
2776 |
-</body> |
2777 |
+<include href="hb-install-bootconfig.xml"/> |
2778 |
</subsection> |
2779 |
</section> |
2780 |
</sections> |
2781 |
|
2782 |
|
2783 |
|
2784 |
1.6 xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml |
2785 |
|
2786 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.6&view=markup |
2787 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.6&content-type=text/plain |
2788 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml?r1=1.5&r2=1.6 |
2789 |
|
2790 |
Index: hb-install-x86+amd64-bootloader.xml |
2791 |
=================================================================== |
2792 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml,v |
2793 |
retrieving revision 1.5 |
2794 |
retrieving revision 1.6 |
2795 |
diff -u -r1.5 -r1.6 |
2796 |
--- hb-install-x86+amd64-bootloader.xml 1 Apr 2008 21:34:29 -0000 1.5 |
2797 |
+++ hb-install-x86+amd64-bootloader.xml 3 May 2008 21:46:34 -0000 1.6 |
2798 |
@@ -4,13 +4,13 @@ |
2799 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2800 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2801 |
|
2802 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml,v 1.5 2008/04/01 21:34:29 r0bertz Exp $ --> |
2803 |
-<!-- English CVS version: 1.10 --> |
2804 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml,v 1.6 2008/05/03 21:46:34 r0bertz Exp $ --> |
2805 |
+<!-- English CVS version: 1.11 --> |
2806 |
|
2807 |
<sections> |
2808 |
|
2809 |
-<version>6.0</version> |
2810 |
-<date>2008-04-02</date> |
2811 |
+<version>6.1</version> |
2812 |
+<date>2008-05-04</date> |
2813 |
|
2814 |
<section> |
2815 |
<title>做出您的选择</title> |
2816 |
@@ -156,7 +156,7 @@ |
2817 |
<body> |
2818 |
|
2819 |
<p> |
2820 |
-理解GRUB最重要的在于熟悉它如何表述硬盘驱动器和分区。在GRUB中,您的Linux分区<path>/dev/hda1</path>(IDE硬盘)或者<path>/dev/sda1</path>(SATA/SCSI硬盘)分区将很可能都被称为<path>(hd0,0)</path>。请注意<path>hd0,0</path>两边的括号——它们是必须加上的。 |
2821 |
+理解GRUB最重要的在于熟悉它如何表述硬盘驱动器和分区。在GRUB中,您的Linux分区<path>/dev/sda1</path>将很可能都被称为<path>(hd0,0)</path>。请注意<path>hd0,0</path>两边的括号——它们是必须加上的。 |
2822 |
</p> |
2823 |
|
2824 |
<p> |
2825 |
@@ -164,7 +164,7 @@ |
2826 |
</p> |
2827 |
|
2828 |
<p> |
2829 |
-假设您有一个硬盘是<path>/dev/hda</path>,一个cdrom播放器是<path>/dev/hdb</path>,一个刻录机是<path>/dev/hdc</path>,第二个硬盘是<path>/dev/hdd</path>,而且没有SCSI硬盘,那么<path>/dev/hdd7</path>将会被GRUB标识为<path>(hd1,6)</path>。听起来这很奇妙,而且它确实很奇妙,但正如我们即将见到的,即使您拥有许多的硬盘和分区,而且对GRUB的数字标识方案不甚了解,GRUB还是为您提供了一个tab补全机制,这将大大方便您的操作。 |
2830 |
+假设您有一个硬盘是<path>/dev/sda</path>,还有两个分别是<path>/dev/sdb</path>和<path>/dev/sdc</path>,那么<path>/dev/hdd7</path>将会被GRUB标识为<path>(hd1,6)</path>。听起来这有些不合常理,确实如此。但正如我们即将见到的,GRUB为您提供了一个tab补全机制,这将大大方便您的操作。即使您拥有许多的硬盘和分区,而且对GRUB的数字标识方案不甚了解,也不用怕。 |
2831 |
</p> |
2832 |
|
2833 |
<p> |
2834 |
@@ -228,15 +228,15 @@ |
2835 |
title Gentoo Linux <keyval id="kernel-version"/> |
2836 |
<comment># 内核镜像(或者操作系统)所在分区</comment> |
2837 |
root (hd0,0) |
2838 |
-kernel /boot/<keyval id="kernel-name"/> root=/dev/hda3 |
2839 |
+kernel /boot/<keyval id="kernel-name"/> root=/dev/sda3 |
2840 |
|
2841 |
title Gentoo Linux <keyval id="kernel-version"/> (rescue) |
2842 |
<comment># 内核镜像(或者操作系统)所在分区</comment> |
2843 |
root (hd0,0) |
2844 |
-kernel /boot/<keyval id="kernel-name"/> root=/dev/hda3 init=/bin/bb |
2845 |
+kernel /boot/<keyval id="kernel-name"/> root=/dev/sda3 init=/bin/bb |
2846 |
|
2847 |
<comment># 接下来的四行只有在您与Windows系统进行双启动的情况下才需要。</comment> |
2848 |
-<comment># 本例中,windows系统位于/dev/hda6。</comment> |
2849 |
+<comment># 本例中,windows系统位于/dev/sda6。</comment> |
2850 |
title Windows XP |
2851 |
rootnoverify (hd0,5) |
2852 |
makeactive |
2853 |
@@ -250,7 +250,7 @@ |
2854 |
|
2855 |
title Gentoo Linux <keyval id="kernel-version"/> |
2856 |
root (hd0,0) |
2857 |
-kernel /boot/<keyval id="genkernel-name"/> root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev |
2858 |
+kernel /boot/<keyval id="genkernel-name"/> root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev |
2859 |
initrd /boot/<keyval id="genkernel-initrd"/> |
2860 |
|
2861 |
<comment># 只有在双启动的情况下才需要以下内容</comment> |
2862 |
@@ -273,11 +273,11 @@ |
2863 |
</p> |
2864 |
|
2865 |
<p> |
2866 |
-如果您需要传递任何其他的参数给内核,简单地在内核命令后面加上它们就可以了。我们已经传递了一个参数(<c>root=/dev/hda3</c>或<c>real_root=/dev/hda3</c>),但您也可以加上其他的,例如我们前面讨论过的为framebuffer加上<c>video</c>和/或<c>vga</c>参数等等。 |
2867 |
+如果您需要传递任何其他的参数给内核,简单地在内核命令后面加上它们就可以了。我们已经传递了一个参数(<c>root=/dev/sda3</c>或<c>real_root=/dev/sda3</c>),但您也可以加上其他的,例如我们前面讨论过的为framebuffer加上<c>video</c>和/或<c>vga</c>参数等等。 |
2868 |
</p> |
2869 |
|
2870 |
<p> |
2871 |
-如果您使用的是2.6.7或更高版本的内核,并且您使用硬盘跳线来使主板的BIOS能正确处理大硬盘,那么在启动内核时您还需要附加<c>hdx=stroke</c>的参数。 |
2872 |
+如果您使用的是2.6.7或更高版本的内核,并且您使用硬盘跳线来使主板的BIOS能正确处理大硬盘,那么在启动内核时您还需要附加<c>sda=stroke</c>的参数。请把sda替换成需要这个参数的设备。 |
2873 |
</p> |
2874 |
|
2875 |
<p> |
2876 |
@@ -315,7 +315,7 @@ |
2877 |
</p> |
2878 |
|
2879 |
<pre caption="执行grub-install"> |
2880 |
-# <i>grub-install --no-floppy /dev/hda</i> |
2881 |
+# <i>grub-install --no-floppy /dev/sda</i> |
2882 |
</pre> |
2883 |
|
2884 |
<p> |
2885 |
@@ -363,7 +363,7 @@ |
2886 |
</pre> |
2887 |
|
2888 |
<note> |
2889 |
-如果您想将GRUB安装到某一个分区而不是硬盘主引导记录中,您需要调整<c>setup</c>命令,使其指向正确的分区。例如,如果您要将GRUB安装到<path>/dev/hda3</path>,对应的命令应该是<c>setup (hd0,2)</c>。但是只有少数用户需要这么做。 |
2890 |
+如果您想将GRUB安装到某一个分区而不是硬盘主引导记录中,您需要调整<c>setup</c>命令,使其指向正确的分区。例如,如果您要将GRUB安装到<path>/dev/sda3</path>,对应的命令应该是<c>setup (hd0,2)</c>。但是只有少数用户需要这么做。 |
2891 |
</note> |
2892 |
|
2893 |
<p> |
2894 |
@@ -435,7 +435,7 @@ |
2895 |
</note> |
2896 |
|
2897 |
<pre caption="示例/etc/lilo.conf"> |
2898 |
-boot=/dev/hda <comment># 将LILO安装到硬盘主引导扇区</comment> |
2899 |
+boot=/dev/sda <comment># 将LILO安装到硬盘主引导扇区</comment> |
2900 |
prompt <comment># 给用户选择其他引导项目的机会</comment> |
2901 |
timeout=50 <comment># 引导默认引导项目前等待5秒钟</comment> |
2902 |
default=gentoo <comment># 当等待结束后引导“gentoo”项目</comment> |
2903 |
@@ -444,12 +444,12 @@ |
2904 |
image=/boot/<keyval id="kernel-name"/> |
2905 |
label=gentoo <comment># 我们为此引导项目起的名字</comment> |
2906 |
read-only <comment># 以只读root状态开始。此处不要改变!</comment> |
2907 |
- root=/dev/hda3 <comment># 定位root文件系统</comment> |
2908 |
+ root=/dev/sda3 <comment># 定位root文件系统</comment> |
2909 |
|
2910 |
image=/boot/<keyval id="kernel-name"/> |
2911 |
label=gentoo.rescue <comment># 我们为此引导项目起的名字</comment> |
2912 |
read-only <comment># 以只读root状态开始。此处不要改变!</comment> |
2913 |
- root=/dev/hda3 <comment># 定位root文件系统</comment> |
2914 |
+ root=/dev/sda3 <comment># 定位root文件系统</comment> |
2915 |
append="init=/bin/bb" <comment># 启动Gentoo的静态急救shell</comment> |
2916 |
|
2917 |
<comment># 给使用genkernel的用户的</comment> |
2918 |
@@ -457,12 +457,12 @@ |
2919 |
label=gentoo |
2920 |
read-only |
2921 |
root=/dev/ram0 |
2922 |
- append="init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev" |
2923 |
+ append="init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev" |
2924 |
initrd=/boot/<keyval id="genkernel-initrd"/> |
2925 |
|
2926 |
<comment># 下边的两行只有在您与Windows系统进行双启动的情况下才需要</comment> |
2927 |
-<comment># 在本例中,Windows位于/dev/hda6</comment> |
2928 |
-other=/dev/hda6 |
2929 |
+<comment># 在本例中,Windows位于/dev/sda6</comment> |
2930 |
+other=/dev/sda6 |
2931 |
label=windows |
2932 |
</pre> |
2933 |
|
2934 |
@@ -482,12 +482,12 @@ |
2935 |
image=/boot/<keyval id="kernel-name"/> |
2936 |
label=gentoo |
2937 |
read-only |
2938 |
- root=/dev/hda3 |
2939 |
+ root=/dev/sda3 |
2940 |
<i>append="video=vesafb:mtrr,ywrap,1024x768-32@85"</i> |
2941 |
</pre> |
2942 |
|
2943 |
<p> |
2944 |
-如果您使用的是2.6.7或更高版本的内核,并且您使用硬盘跳线来使主板的BIOS能正确处理大硬盘,那么在启动内核时您还需要附加<c>hdx=stroke</c>的参数。 |
2945 |
+如果您使用的是2.6.7或更高版本的内核,并且您使用硬盘跳线来使主板的BIOS能正确处理大硬盘,那么在启动内核时您还需要附加<c>sda=stroke</c>的参数。请把sda替换成需要这个参数的设备。 |
2946 |
</p> |
2947 |
|
2948 |
<p> |
2949 |
|
2950 |
|
2951 |
|
2952 |
1.5 xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-disk.xml |
2953 |
|
2954 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-disk.xml?rev=1.5&view=markup |
2955 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-disk.xml?rev=1.5&content-type=text/plain |
2956 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-disk.xml?r1=1.4&r2=1.5 |
2957 |
|
2958 |
Index: hb-install-x86+amd64-disk.xml |
2959 |
=================================================================== |
2960 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-disk.xml,v |
2961 |
retrieving revision 1.4 |
2962 |
retrieving revision 1.5 |
2963 |
diff -u -r1.4 -r1.5 |
2964 |
--- hb-install-x86+amd64-disk.xml 1 Apr 2008 21:34:29 -0000 1.4 |
2965 |
+++ hb-install-x86+amd64-disk.xml 3 May 2008 21:46:34 -0000 1.5 |
2966 |
@@ -4,8 +4,8 @@ |
2967 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
2968 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
2969 |
|
2970 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-disk.xml,v 1.4 2008/04/01 21:34:29 r0bertz Exp $ --> |
2971 |
-<!-- English CVS version: 1.10 --> |
2972 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-disk.xml,v 1.5 2008/05/03 21:46:34 r0bertz Exp $ --> |
2973 |
+<!-- English CVS version: 1.11 --> |
2974 |
|
2975 |
<sections> |
2976 |
|
2977 |
@@ -13,8 +13,8 @@ |
2978 |
为了能够安装Gentoo,你必须创建所需的分区。本章讲解如何给磁盘分区以备后用。 |
2979 |
</abstract> |
2980 |
|
2981 |
-<version>6.0</version> |
2982 |
-<date>2008-04-02</date> |
2983 |
+<version>6.1</version> |
2984 |
+<date>2008-05-04</date> |
2985 |
|
2986 |
<section> |
2987 |
<title>块设备介绍</title> |
2988 |
@@ -34,7 +34,7 @@ |
2989 |
</p> |
2990 |
|
2991 |
<p> |
2992 |
-<e>主分区</e>是把自己的信息储存在MBR(主引导记录)中的分区。由于MBR非常小(512个字节),所以仅可以定义4个主分区(例如,<path>/dev/hda1</path>到<path>/dev/hda4</path>)。 |
2993 |
+<e>主分区</e>是把自己的信息储存在MBR(主引导记录)中的分区。由于MBR非常小(512个字节),所以仅可以定义4个主分区(例如,<path>/dev/sda1</path>到<path>/dev/sda4</path>)。 |
2994 |
</p> |
2995 |
|
2996 |
<p> |
2997 |
@@ -76,19 +76,19 @@ |
2998 |
<th>说明</th> |
2999 |
</tr> |
3000 |
<tr> |
3001 |
- <ti><path>/dev/hda1</path></ti> |
3002 |
+ <ti><path>/dev/sda1</path></ti> |
3003 |
<ti>ext2</ti> |
3004 |
<ti>32M</ti> |
3005 |
<ti>启动分区</ti> |
3006 |
</tr> |
3007 |
<tr> |
3008 |
- <ti><path>/dev/hda2</path></ti> |
3009 |
+ <ti><path>/dev/sda2</path></ti> |
3010 |
<ti>(swap)</ti> |
3011 |
<ti>512M</ti> |
3012 |
<ti>交换分区</ti> |
3013 |
</tr> |
3014 |
<tr> |
3015 |
- <ti><path>/dev/hda3</path></ti> |
3016 |
+ <ti><path>/dev/sda3</path></ti> |
3017 |
<ti>ext3</ti> |
3018 |
<ti>剩余磁盘</ti> |
3019 |
<ti>根分区</ti> |
3020 |
@@ -139,13 +139,13 @@ |
3021 |
<pre caption="文件系统使用实例"> |
3022 |
$ <i>df -h</i> |
3023 |
Filesystem Type Size Used Avail Use% Mounted on |
3024 |
-/dev/hda5 ext3 509M 132M 351M 28% / |
3025 |
-/dev/hda2 ext3 5.0G 3.0G 1.8G 63% /home |
3026 |
-/dev/hda7 ext3 7.9G 6.2G 1.3G 83% /usr |
3027 |
-/dev/hda8 ext3 1011M 483M 477M 51% /opt |
3028 |
-/dev/hda9 ext3 2.0G 607M 1.3G 32% /var |
3029 |
-/dev/hda1 ext2 51M 17M 31M 36% /boot |
3030 |
-/dev/hda6 swap 516M 12M 504M 2% <not mounted> |
3031 |
+/dev/sda5 ext3 509M 132M 351M 28% / |
3032 |
+/dev/sda2 ext3 5.0G 3.0G 1.8G 63% /home |
3033 |
+/dev/sda7 ext3 7.9G 6.2G 1.3G 83% /usr |
3034 |
+/dev/sda8 ext3 1011M 483M 477M 51% /opt |
3035 |
+/dev/sda9 ext3 2.0G 607M 1.3G 32% /var |
3036 |
+/dev/sda1 ext2 51M 17M 31M 36% /boot |
3037 |
+/dev/sda6 swap 516M 12M 504M 2% <not mounted> |
3038 |
<comment>(留作它用的未分配空间:2GB)</comment> |
3039 |
</pre> |
3040 |
|
3041 |
@@ -171,15 +171,15 @@ |
3042 |
<th>说明</th> |
3043 |
</tr> |
3044 |
<tr> |
3045 |
- <ti><path>/dev/hda1</path></ti> |
3046 |
+ <ti><path>/dev/sda1</path></ti> |
3047 |
<ti>启动分区</ti> |
3048 |
</tr> |
3049 |
<tr> |
3050 |
- <ti><path>/dev/hda2</path></ti> |
3051 |
+ <ti><path>/dev/sda2</path></ti> |
3052 |
<ti>交换分区</ti> |
3053 |
</tr> |
3054 |
<tr> |
3055 |
- <ti><path>/dev/hda3</path></ti> |
3056 |
+ <ti><path>/dev/sda3</path></ti> |
3057 |
<ti>根分区</ti> |
3058 |
</tr> |
3059 |
</table> |
3060 |
@@ -195,11 +195,11 @@ |
3061 |
<body> |
3062 |
|
3063 |
<p> |
3064 |
-<c>fdisk</c>是一个流行且强大的工具,用来把你的磁盘划分为分区。启动你磁盘上<c>fdisk</c>程序(在示例中,我们使用<path>/dev/hda</path>): |
3065 |
+<c>fdisk</c>是一个流行且强大的工具,用来把你的磁盘划分为分区。启动你磁盘上<c>fdisk</c>程序(在示例中,我们使用<path>/dev/sda</path>): |
3066 |
</p> |
3067 |
|
3068 |
<pre caption="启动fdisk"> |
3069 |
-# <i>fdisk /dev/hda</i> |
3070 |
+# <i>fdisk /dev/sda</i> |
3071 |
</pre> |
3072 |
|
3073 |
<p> |
3074 |
@@ -217,19 +217,19 @@ |
3075 |
<pre caption="分区配置示例"> |
3076 |
Command (m for help): <i>p</i> |
3077 |
|
3078 |
-Disk /dev/hda: 240 heads, 63 sectors, 2184 cylinders |
3079 |
+Disk /dev/sda: 240 heads, 63 sectors, 2184 cylinders |
3080 |
Units = cylinders of 15120 * 512 bytes |
3081 |
|
3082 |
Device Boot Start End Blocks Id System |
3083 |
-/dev/hda1 1 14 105808+ 83 Linux |
3084 |
-/dev/hda2 15 49 264600 82 Linux swap |
3085 |
-/dev/hda3 50 70 158760 83 Linux |
3086 |
-/dev/hda4 71 2184 15981840 5 Extended |
3087 |
-/dev/hda5 71 209 1050808+ 83 Linux |
3088 |
-/dev/hda6 210 348 1050808+ 83 Linux |
3089 |
-/dev/hda7 349 626 2101648+ 83 Linux |
3090 |
-/dev/hda8 627 904 2101648+ 83 Linux |
3091 |
-/dev/hda9 905 2184 9676768+ 83 Linux |
3092 |
+/dev/sda1 1 14 105808+ 83 Linux |
3093 |
+/dev/sda2 15 49 264600 82 Linux swap |
3094 |
+/dev/sda3 50 70 158760 83 Linux |
3095 |
+/dev/sda4 71 2184 15981840 5 Extended |
3096 |
+/dev/sda5 71 209 1050808+ 83 Linux |
3097 |
+/dev/sda6 210 348 1050808+ 83 Linux |
3098 |
+/dev/sda7 349 626 2101648+ 83 Linux |
3099 |
+/dev/sda8 627 904 2101648+ 83 Linux |
3100 |
+/dev/sda9 905 2184 9676768+ 83 Linux |
3101 |
|
3102 |
Command (m for help): |
3103 |
</pre> |
3104 |
@@ -245,7 +245,7 @@ |
3105 |
<body> |
3106 |
|
3107 |
<p> |
3108 |
-首先,我们将把磁盘上的所有分区删除。键入<c>d</c>来删除一个分区。例如,要删除存在的<path>/dev/hda1</path>: |
3109 |
+首先,我们将把磁盘上的所有分区删除。键入<c>d</c>来删除一个分区。例如,要删除存在的<path>/dev/sda1</path>: |
3110 |
</p> |
3111 |
|
3112 |
<pre caption="删除分区"> |
3113 |
@@ -262,7 +262,7 @@ |
3114 |
</p> |
3115 |
|
3116 |
<pre caption="空的分区表"> |
3117 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
3118 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
3119 |
240 heads, 63 sectors/track, 3876 cylinders |
3120 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
3121 |
|
3122 |
@@ -304,12 +304,12 @@ |
3123 |
<pre caption="已创建的启动分区"> |
3124 |
Command (m for help): <i>p</i> |
3125 |
|
3126 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
3127 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
3128 |
240 heads, 63 sectors/track, 3876 cylinders |
3129 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
3130 |
|
3131 |
Device Boot Start End Blocks Id System |
3132 |
-/dev/hda1 1 14 105808+ 83 Linux |
3133 |
+/dev/sda1 1 14 105808+ 83 Linux |
3134 |
</pre> |
3135 |
|
3136 |
<p> |
3137 |
@@ -323,19 +323,19 @@ |
3138 |
<body> |
3139 |
|
3140 |
<p> |
3141 |
-我们现在来创建交换分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk你创建的是主分区。接着输入<c>2</c>来创建第2个主分区,在本例中是<path>/dev/hda2</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后一个柱面的时候,输入<c>+512M</c>来创建一个512MB大小的分区。在这之后,键入<c>t</c>来设置分区类型,键入<c>2</c>选择你刚刚创建的那个分区,然后再输入<c>82</c>把分区类型设置成“Linux Swap”。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
3142 |
+我们现在来创建交换分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk你创建的是主分区。接着输入<c>2</c>来创建第2个主分区,在本例中是<path>/dev/sda2</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后一个柱面的时候,输入<c>+512M</c>来创建一个512MB大小的分区。在这之后,键入<c>t</c>来设置分区类型,键入<c>2</c>选择你刚刚创建的那个分区,然后再输入<c>82</c>把分区类型设置成“Linux Swap”。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
3143 |
</p> |
3144 |
|
3145 |
<pre caption="创建交换分区后的分区列表"> |
3146 |
Command (m for help): <i>p</i> |
3147 |
|
3148 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
3149 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
3150 |
240 heads, 63 sectors/track, 3876 cylinders |
3151 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
3152 |
|
3153 |
Device Boot Start End Blocks Id System |
3154 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
3155 |
-/dev/hda2 15 81 506520 82 Linux swap |
3156 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
3157 |
+/dev/sda2 15 81 506520 82 Linux swap |
3158 |
</pre> |
3159 |
|
3160 |
</body> |
3161 |
@@ -345,20 +345,20 @@ |
3162 |
<body> |
3163 |
|
3164 |
<p> |
3165 |
-最后,我们来创建根分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk你创建的是主分区。接着输入<c>3</c>来创建第3个主分区,在本例中是<path>/dev/hda3</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后一个柱面的时候,单击回车把你磁盘上的剩余空间创建一个分区。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
3166 |
+最后,我们来创建根分区。键入<c>n</c>创建一个新分区,然后键入<c>p</c>来告诉fdisk你创建的是主分区。接着输入<c>3</c>来创建第3个主分区,在本例中是<path>/dev/sda3</path>。当提示输入第一个柱面的时候,直接敲回车。当提示输入最后一个柱面的时候,单击回车把你磁盘上的剩余空间创建一个分区。完成以上这些步骤之后,键入<c>p</c>,应该显示一个与下面类似的分区表: |
3167 |
</p> |
3168 |
|
3169 |
<pre caption="创建根分区后的分区列表"> |
3170 |
Command (m for help): <i>p</i> |
3171 |
|
3172 |
-Disk /dev/hda: 30.0 GB, 30005821440 bytes |
3173 |
+Disk /dev/sda: 30.0 GB, 30005821440 bytes |
3174 |
240 heads, 63 sectors/track, 3876 cylinders |
3175 |
Units = cylinders of 15120 * 512 = 7741440 bytes |
3176 |
|
3177 |
Device Boot Start End Blocks Id System |
3178 |
-/dev/hda1 * 1 14 105808+ 83 Linux |
3179 |
-/dev/hda2 15 81 506520 82 Linux swap |
3180 |
-/dev/hda3 82 3876 28690200 83 Linux |
3181 |
+/dev/sda1 * 1 14 105808+ 83 Linux |
3182 |
+/dev/sda2 15 81 506520 82 Linux swap |
3183 |
+/dev/sda3 82 3876 28690200 83 Linux |
3184 |
</pre> |
3185 |
|
3186 |
</body> |
3187 |
@@ -433,12 +433,12 @@ |
3188 |
</table> |
3189 |
|
3190 |
<p> |
3191 |
-例如,要使启动分区(本例中的<path>/dev/hda1</path>)为ext2和根分区(本例中的<path>/dev/hda3</path>)为ext3,应该这样做: |
3192 |
+例如,要使启动分区(本例中的<path>/dev/sda1</path>)为ext2和根分区(本例中的<path>/dev/sda3</path>)为ext3,应该这样做: |
3193 |
</p> |
3194 |
|
3195 |
<pre caption="在分区上应用文件系统"> |
3196 |
-# <i>mke2fs /dev/hda1</i> |
3197 |
-# <i>mke2fs -j /dev/hda3</i> |
3198 |
+# <i>mke2fs /dev/sda1</i> |
3199 |
+# <i>mke2fs -j /dev/sda3</i> |
3200 |
</pre> |
3201 |
|
3202 |
<p> |
3203 |
@@ -456,7 +456,7 @@ |
3204 |
</p> |
3205 |
|
3206 |
<pre caption="创建交换分区标志"> |
3207 |
-# <i>mkswap /dev/hda2</i> |
3208 |
+# <i>mkswap /dev/sda2</i> |
3209 |
</pre> |
3210 |
|
3211 |
<p> |
3212 |
@@ -464,7 +464,7 @@ |
3213 |
</p> |
3214 |
|
3215 |
<pre caption="激活交换分区"> |
3216 |
-# <i>swapon /dev/hda2</i> |
3217 |
+# <i>swapon /dev/sda2</i> |
3218 |
</pre> |
3219 |
|
3220 |
<p> |
3221 |
@@ -483,9 +483,9 @@ |
3222 |
</p> |
3223 |
|
3224 |
<pre caption="挂载分区"> |
3225 |
-# <i>mount /dev/hda3 /mnt/gentoo</i> |
3226 |
+# <i>mount /dev/sda3 /mnt/gentoo</i> |
3227 |
# <i>mkdir /mnt/gentoo/boot</i> |
3228 |
-# <i>mount /dev/hda1 /mnt/gentoo/boot</i> |
3229 |
+# <i>mount /dev/sda1 /mnt/gentoo/boot</i> |
3230 |
</pre> |
3231 |
|
3232 |
<note> |
3233 |
|
3234 |
|
3235 |
|
3236 |
1.7 xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml |
3237 |
|
3238 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml?rev=1.7&view=markup |
3239 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml?rev=1.7&content-type=text/plain |
3240 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml?r1=1.6&r2=1.7 |
3241 |
|
3242 |
Index: hb-install-x86+amd64-medium.xml |
3243 |
=================================================================== |
3244 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml,v |
3245 |
retrieving revision 1.6 |
3246 |
retrieving revision 1.7 |
3247 |
diff -u -r1.6 -r1.7 |
3248 |
--- hb-install-x86+amd64-medium.xml 22 Apr 2008 19:25:39 -0000 1.6 |
3249 |
+++ hb-install-x86+amd64-medium.xml 3 May 2008 21:46:34 -0000 1.7 |
3250 |
@@ -4,8 +4,8 @@ |
3251 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
3252 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
3253 |
|
3254 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml,v 1.6 2008/04/22 19:25:39 r0bertz Exp $ --> |
3255 |
-<!-- English CVS version: 1.14 --> |
3256 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml,v 1.7 2008/05/03 21:46:34 r0bertz Exp $ --> |
3257 |
+<!-- English CVS version: 1.15 --> |
3258 |
|
3259 |
<sections> |
3260 |
|
3261 |
@@ -13,8 +13,8 @@ |
3262 |
你可以用许多方法安装Gentoo。本章讲解怎样用最小安装光盘安装Gentoo,尽管使用安装程序LiveCD也是可以的。 |
3263 |
</abstract> |
3264 |
|
3265 |
-<version>6.3</version> |
3266 |
-<date>2008-04-22</date> |
3267 |
+<version>6.4</version> |
3268 |
+<date>2008-05-04</date> |
3269 |
|
3270 |
<section> |
3271 |
<title>硬件需求</title> |
3272 |
@@ -305,18 +305,18 @@ |
3273 |
</table> |
3274 |
|
3275 |
<p> |
3276 |
-你也可以使用内核选项。他们代表了一些你可以激活或取消的设置。你在启动界面里敲击F2就可以看到下面的选项。 |
3277 |
+你也可以使用内核选项。他们代表了一些你可以激活或取消的设置。 |
3278 |
</p> |
3279 |
|
3280 |
</body> |
3281 |
|
3282 |
<body> |
3283 |
- <include href="hb-install-kernelparams.xml"/> |
3284 |
+<include href="hb-install-kernelparams.xml"/> |
3285 |
</body> |
3286 |
<body> |
3287 |
|
3288 |
<note> |
3289 |
-此CD将会先检查“no*”选项,然后再检查“do*”选项,所以你可以以你指定的顺序来覆盖任意选项。 |
3290 |
+本CD将会先检查“no*”选项,然后再检查“do*”选项,所以你可以以你指定的顺序来覆盖任意选项。 |
3291 |
</note> |
3292 |
|
3293 |
<p> |
3294 |
@@ -337,140 +337,8 @@ |
3295 |
|
3296 |
</body> |
3297 |
</subsection> |
3298 |
-<subsection id="hardware"> |
3299 |
-<title>额外硬件配置</title> |
3300 |
-<body> |
3301 |
- |
3302 |
-<p> |
3303 |
-当安装光盘启动时,它会尝试检测所有的硬件设备和加载准确的内核模块来支持这些硬件。绝大多数情况下,它会做的很好。但是,有些情况下,它可能没有自动加载你需要的内核模块。如果PCI自动检测错过了你系统里的一些硬件,你需要手动为它们加载相应的内核模块。 |
3304 |
-</p> |
3305 |
- |
3306 |
-<p> |
3307 |
-在下一个例子中,我们尝试加载<c>8139too</c>模块(支持某种网卡): |
3308 |
-</p> |
3309 |
- |
3310 |
-<pre caption="加载内核模块"> |
3311 |
-# <i>modprobe 8139too</i> |
3312 |
-</pre> |
3313 |
- |
3314 |
-</body> |
3315 |
-</subsection> |
3316 |
<subsection> |
3317 |
-<title>可选:调整硬盘性能</title> |
3318 |
-<body> |
3319 |
- |
3320 |
-<p> |
3321 |
-如果你是高级用户,你可能想使用hdparm调整IDE硬盘的性能。你可以使用<c>-tT</c>选项来测试你的硬盘的性能(多执行几次以得到更精确的结果): |
3322 |
-</p> |
3323 |
- |
3324 |
-<pre caption="测试硬盘性能"> |
3325 |
-# <i>hdparm -tT /dev/hda</i> |
3326 |
-</pre> |
3327 |
- |
3328 |
-<p> |
3329 |
-为了调整性能,你可以使用下面任何一个范例(或者自己试验),它们都是以<c>/dev/hda</c>作为例子(替换成你使用的硬盘): |
3330 |
-</p> |
3331 |
- |
3332 |
-<pre caption="调整硬盘性能"> |
3333 |
-<comment>(激活DMA:)</comment> |
3334 |
-# <i>hdparm -d 1 /dev/hda</i> |
3335 |
- |
3336 |
-<comment>(激活DMA,并附加安全选项:)</comment> |
3337 |
-# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
3338 |
-</pre> |
3339 |
- |
3340 |
-</body> |
3341 |
-</subsection> |
3342 |
-<subsection id="useraccounts"> |
3343 |
-<title>可选:用户帐号</title> |
3344 |
-<body> |
3345 |
- |
3346 |
-<p> |
3347 |
-如果你打算为其他人提供你安装环境的访问权限,或者你不想以root帐号的身份(因为安全原因)使用<c>irssi</c>聊天的话,你需要创建必要的用户帐号,并改变root用户的密码。 |
3348 |
-</p> |
3349 |
- |
3350 |
-<p> |
3351 |
-使用<c>passwd</c>命令来修改root用户密码: |
3352 |
-</p> |
3353 |
- |
3354 |
-<pre caption="修改root用户密码"> |
3355 |
-# <i>passwd</i> |
3356 |
-New password: <comment>(输入新密码)</comment> |
3357 |
-Re-enter password: <comment>(再次输入密码)</comment> |
3358 |
-</pre> |
3359 |
- |
3360 |
-<p> |
3361 |
-要创建用户帐号,首先输入他们的信息,再输入他的密码。我们可以使用<c>useradd</c>和<c>passwd</c>来完成。在下个的例子中,我们创建一个名为“john”的用户。 |
3362 |
-</p> |
3363 |
- |
3364 |
-<pre caption="创建一个新用户"> |
3365 |
-# <i>useradd -m -G users john</i> |
3366 |
-# <i>passwd john</i> |
3367 |
-New password: <comment>(输入john的密码)</comment> |
3368 |
-Re-enter password: <comment>(再次输入john的密码)</comment> |
3369 |
-</pre> |
3370 |
- |
3371 |
-<p> |
3372 |
-你可以使用su从root用户切换到新建的用户: |
3373 |
-</p> |
3374 |
- |
3375 |
-<pre caption="切换用户"> |
3376 |
-# <i>su - john</i> |
3377 |
-</pre> |
3378 |
- |
3379 |
-</body> |
3380 |
-</subsection> |
3381 |
-<subsection> |
3382 |
-<title>可选:在安装时查看文档</title> |
3383 |
-<body> |
3384 |
- |
3385 |
-<p> |
3386 |
-如果你想在安装的时候查看Gentoo手册(不管是光盘中的还是在线的),请确认你已经创建好了一个用户帐号(请查看<uri link="#useraccounts">可选:用户帐号</uri>)。然后按<c>Alt-F2</c>打开一个新的终端并登录进入。 |
3387 |
-</p> |
3388 |
- |
3389 |
-<p> |
3390 |
-如果你想查看光盘里的文档,你可以立即运行<c>links</c>来阅读: |
3391 |
-</p> |
3392 |
- |
3393 |
-<pre caption="查看光盘里的文档"> |
3394 |
-# <i>links /mnt/cdrom/docs/html/index.html</i> |
3395 |
-</pre> |
3396 |
- |
3397 |
-<p> |
3398 |
-不过,首选的还是在线查看Gentoo手册,因为它比光盘里提供的要新。你也可以使用<c>links</c>阅读它,但是必须在完成<e>配置网络</e>这一章后才行(否则你不能到因特网上查看文档): |
3399 |
-</p> |
3400 |
- |
3401 |
-<pre caption="查看在线文档"> |
3402 |
-# <i>links http://www.gentoo.org/doc/zh_cn/handbook/<keyval id="online-book"/></i> |
3403 |
-</pre> |
3404 |
- |
3405 |
-<p> |
3406 |
-你可以按<c>Alt-F1</c>来回到原来的终端。 |
3407 |
-</p> |
3408 |
- |
3409 |
-</body> |
3410 |
-</subsection> |
3411 |
-<subsection> |
3412 |
-<title>可选:启动SSH服务</title> |
3413 |
-<body> |
3414 |
- |
3415 |
-<p> |
3416 |
-如果你想在安装Gentoo的过程中允许别的用户登录你的电脑(可能是因为别的用户愿意帮助你安装Gentoo,甚至是代你安装),你需要为他们创建用户帐号,甚至提供root用户密码(<e>只有</e>在你<b>完全信任</b>这位用户的情况下才行)。 |
3417 |
-</p> |
3418 |
- |
3419 |
-<p> |
3420 |
-执行下面的命令来启动SSH服务: |
3421 |
-</p> |
3422 |
- |
3423 |
-<pre caption="启动SSH服务"> |
3424 |
-# <i>/etc/init.d/sshd start</i> |
3425 |
-</pre> |
3426 |
- |
3427 |
-<p> |
3428 |
-在使用sshd之前,你必须设置好你的网络。请从<uri link="?part=1&chap=3">配置网络</uri>一章继续。 |
3429 |
-</p> |
3430 |
- |
3431 |
-</body> |
3432 |
+<include href="hb-install-bootconfig.xml"/> |
3433 |
</subsection> |
3434 |
</section> |
3435 |
</sections> |
3436 |
|
3437 |
|
3438 |
|
3439 |
-- |
3440 |
gentoo-commits@l.g.o mailing list |