Gentoo Archives: gentoo-commits

From: "Le Zhang (r0bertz)" <r0bertz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/doc/zh_cn/handbook: handbook-amd64.xml handbook-x86.xml hb-install-alpha-medium.xml hb-install-config.xml hb-install-mips-stage.xml hb-install-ppc-medium.xml hb-install-ppc64-kernel.xml hb-install-ppc64-medium.xml hb-install-sparc-kernel.xml hb-install-stage.xml hb-install-system.xml hb-install-x86+amd64-bootloader.xml hb-install-x86+amd64-kernel.xml hb-install-x86+amd64-medium.xml
Date: Fri, 01 Jan 2010 19:38:32
Message-Id: E1NQnKM-0006tM-Ot@stork.gentoo.org
1 r0bertz 10/01/01 19:38:26
2
3 Modified: handbook-amd64.xml handbook-x86.xml
4 hb-install-alpha-medium.xml hb-install-config.xml
5 hb-install-mips-stage.xml hb-install-ppc-medium.xml
6 hb-install-ppc64-kernel.xml
7 hb-install-ppc64-medium.xml
8 hb-install-sparc-kernel.xml hb-install-stage.xml
9 hb-install-system.xml
10 hb-install-x86+amd64-bootloader.xml
11 hb-install-x86+amd64-kernel.xml
12 hb-install-x86+amd64-medium.xml
13 Log:
14 [zh_cn] updated dri-howto.xml
15
16 Revision Changes Path
17 1.11 xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml
18
19 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml?rev=1.11&view=markup
20 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml?rev=1.11&content-type=text/plain
21 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml?r1=1.10&r2=1.11
22
23 Index: handbook-amd64.xml
24 ===================================================================
25 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml,v
26 retrieving revision 1.10
27 retrieving revision 1.11
28 diff -u -r1.10 -r1.11
29 --- handbook-amd64.xml 1 Aug 2008 18:37:49 -0000 1.10
30 +++ handbook-amd64.xml 1 Jan 2010 19:38:24 -0000 1.11
31 @@ -1,8 +1,8 @@
32 <?xml version='1.0' encoding='UTF-8'?>
33 <!DOCTYPE book SYSTEM "/dtd/book.dtd">
34
35 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml,v 1.10 2008/08/01 18:37:49 r0bertz Exp $ -->
36 -<!-- English CVS version: 1.150 -->
37 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-amd64.xml,v 1.11 2010/01/01 19:38:24 r0bertz Exp $ -->
38 +<!-- English CVS version: 1.152 -->
39 <book lang="zh_cn">
40 <title>Gentoo Linux AMD64手册</title>
41
42 @@ -10,19 +10,15 @@
43 <key id="arch">AMD64</key>
44 <key id="arch-sub">x86_64</key>
45 <key id="/boot">/dev/sda1</key>
46 - <key id="kernel-version">2.6.24-r5</key>
47 - <key id="kernel-name">kernel-2.6.24-gentoo-r5</key>
48 - <key id="genkernel-name">kernel-genkernel-amd64-2.6.24-gentoo-r5</key>
49 - <key id="genkernel-initrd">initramfs-genkernel-amd64-2.6.24-gentoo-r5</key>
50 - <key id="min-cd-name">install-amd64-minimal-2008.0.iso</key>
51 + <key id="kernel-version">2.6.30-r5</key>
52 + <key id="kernel-name">kernel-2.6.30-gentoo-r5</key>
53 + <key id="genkernel-name">kernel-genkernel-amd64-2.6.30-gentoo-r5</key>
54 + <key id="genkernel-initrd">initramfs-genkernel-amd64-2.6.30-gentoo-r5</key>
55 + <key id="min-cd-name">install-amd64-minimal-&lt;release&gt;.iso</key>
56 <key id="min-cd-size">50</key>
57 - <key id="live-cd-name">livecd-amd64-installer-2008.0-r1.iso</key>
58 - <key id="live-cd-size">701</key>
59 - <key id="release-dir">releases/amd64/2008.0/</key>
60 - <key id="stage3">stage3-amd64-2008.0.tar.bz2</key>
61 - <key id="profile">default-linux/amd64/2008.0</key>
62 - <key id="CFLAGS">-march=k8 -O2 -pipe</key>
63 - <key id="online-book">handbook-amd64.xml</key>
64 + <key id="release-dir">releases/amd64/autobuilds/</key>
65 + <key id="stage3">stage3-amd64-&lt;release&gt;.tar.bz2</key>
66 + <key id="profile">default/linux/amd64/10.0</key>
67 </values>
68
69 <author title="作者">
70 @@ -184,8 +180,8 @@
71 See http://creativecommons.org/licenses/by-sa/2.5 -->
72 <license/>
73
74 -<version>9.6</version>
75 -<date>2008-08-02</date>
76 +<version>10.1</version>
77 +<date>2010-01-02</date>
78
79 <part>
80 <title>安装Gentoo</title>
81
82
83
84 1.11 xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml
85
86 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml?rev=1.11&view=markup
87 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml?rev=1.11&content-type=text/plain
88 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml?r1=1.10&r2=1.11
89
90 Index: handbook-x86.xml
91 ===================================================================
92 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml,v
93 retrieving revision 1.10
94 retrieving revision 1.11
95 diff -u -r1.10 -r1.11
96 --- handbook-x86.xml 1 Aug 2008 18:37:49 -0000 1.10
97 +++ handbook-x86.xml 1 Jan 2010 19:38:24 -0000 1.11
98 @@ -1,8 +1,8 @@
99 <?xml version='1.0' encoding='UTF-8'?>
100 <!DOCTYPE book SYSTEM "/dtd/book.dtd">
101
102 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml,v 1.10 2008/08/01 18:37:49 r0bertz Exp $ -->
103 -<!-- English CVS version: 1.171 -->
104 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/handbook-x86.xml,v 1.11 2010/01/01 19:38:24 r0bertz Exp $ -->
105 +<!-- English CVS version: 1.173 -->
106
107 <book lang="zh_cn">
108 <title>Gentoo Linux x86手册</title>
109 @@ -11,19 +11,15 @@
110 <key id="arch">x86</key>
111 <key id="arch-sub">i386</key>
112 <key id="/boot">/dev/sda1</key>
113 - <key id="kernel-version">2.6.24-r5</key>
114 - <key id="kernel-name">kernel-2.6.24-gentoo-r5</key>
115 - <key id="genkernel-name">kernel-genkernel-x86-2.6.24-gentoo-r5</key>
116 - <key id="genkernel-initrd">initramfs-genkernel-x86-2.6.24-gentoo-r5</key>
117 - <key id="min-cd-name">install-x86-minimal-2008.0.iso</key>
118 + <key id="kernel-version">2.6.30-r5</key>
119 + <key id="kernel-name">kernel-2.6.30-gentoo-r5</key>
120 + <key id="genkernel-name">kernel-genkernel-x86-2.6.30-gentoo-r5</key>
121 + <key id="genkernel-initrd">initramfs-genkernel-x86-2.6.30-gentoo-r5</key>
122 + <key id="min-cd-name">install-x86-minimal-&lt;release&gt;.iso</key>
123 <key id="min-cd-size">57</key>
124 - <key id="live-cd-name">livecd-i686-installer-2008.0-r1.iso</key>
125 - <key id="live-cd-size">655</key>
126 - <key id="release-dir">releases/x86/2008.0/</key>
127 - <key id="stage3">stage3-i686-2008.0.tar.bz2</key>
128 - <key id="profile">default-linux/x86/2008.0</key>
129 - <key id="online-book">handbook-x86.xml</key>
130 - <key id="CFLAGS">-O2 -march=i686 -pipe</key>
131 + <key id="release-dir">releases/x86/autobuilds/</key>
132 + <key id="stage3">stage3-i686-&lt;release&gt;.tar.bz2</key>
133 + <key id="profile">default/linux/x86/10.0</key>
134 </values>
135
136 <author title="作者">
137 @@ -190,8 +186,8 @@
138 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
139 <license/>
140
141 -<version>9.6</version>
142 -<date>2008-08-02</date>
143 +<version>10.1</version>
144 +<date>2010-01-02</date>
145
146 <part>
147 <title>安装Gentoo</title>
148
149
150
151 1.7 xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml
152
153 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml?rev=1.7&view=markup
154 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml?rev=1.7&content-type=text/plain
155 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml?r1=1.6&r2=1.7
156
157 Index: hb-install-alpha-medium.xml
158 ===================================================================
159 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml,v
160 retrieving revision 1.6
161 retrieving revision 1.7
162 diff -u -r1.6 -r1.7
163 --- hb-install-alpha-medium.xml 21 Feb 2009 14:06:29 -0000 1.6
164 +++ hb-install-alpha-medium.xml 1 Jan 2010 19:38:24 -0000 1.7
165 @@ -3,13 +3,13 @@
166
167 <!-- The content of this document is licensed under the CC-BY-SA license -->
168 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
169 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml,v 1.6 2009/02/21 14:06:29 r0bertz Exp $ -->
170 -<!-- English CVS version: 1.50 -->
171 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-alpha-medium.xml,v 1.7 2010/01/01 19:38:24 r0bertz Exp $ -->
172 +<!-- English CVS version: 1.51 -->
173
174 <sections>
175
176 -<version>9.3</version>
177 -<date>2009-02-21</date>
178 +<version>9.4</version>
179 +<date>2010-01-02</date>
180
181 <section>
182 <title>硬件需求</title>
183 @@ -255,7 +255,7 @@
184 <comment>(用你的光驱设备代替dkb0)</comment>
185 &gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
186 <comment>(如果需要串口控制台支持)</comment>
187 -&gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
188 +&gt;&gt;&gt; <i>boot dkb0 -flags 1</i>
189 </pre>
190
191 <pre caption="使用MILO来启动光盘">
192
193
194
195 1.9 xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml
196
197 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml?rev=1.9&view=markup
198 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml?rev=1.9&content-type=text/plain
199 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml?r1=1.8&r2=1.9
200
201 Index: hb-install-config.xml
202 ===================================================================
203 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml,v
204 retrieving revision 1.8
205 retrieving revision 1.9
206 diff -u -r1.8 -r1.9
207 --- hb-install-config.xml 21 Feb 2009 14:06:29 -0000 1.8
208 +++ hb-install-config.xml 1 Jan 2010 19:38:24 -0000 1.9
209 @@ -4,8 +4,8 @@
210 <!-- The content of this document is licensed under the CC-BY-SA license -->
211 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
212
213 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml,v 1.8 2009/02/21 14:06:29 r0bertz Exp $ -->
214 -<!-- English CVS version: 1.100 -->
215 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-config.xml,v 1.9 2010/01/01 19:38:24 r0bertz Exp $ -->
216 +<!-- English CVS version: 1.101 -->
217
218 <sections>
219
220 @@ -13,8 +13,8 @@
221 你需要编辑一些重要的配置文件。在这一章中将对这些重要的配置文件作概述,并且介绍如何配置它们。
222 </abstract>
223
224 -<version>9.3</version>
225 -<date>2009-02-21</date>
226 +<version>9.4</version>
227 +<date>2010-01-02</date>
228
229 <section>
230 <title>文件系统信息</title>
231 @@ -389,9 +389,7 @@
232 </p>
233
234 <note test="substring(func:keyval('arch'),1,3)='PPC'">
235 -PPC在大部分系统中都采用x86键映射。如果用户希望在启动的时候就能采用ADB键映射,
236 -那么应该在内核中启用ADB keycode sending,
237 -并且在<path>/etc/conf.d/keymaps</path>中设置一个mac/ppc键映射。
238 +大部分PPC系统都采用x86键映射。
239 </note>
240
241 <p>
242
243
244
245 1.4 xml/htdocs/doc/zh_cn/handbook/hb-install-mips-stage.xml
246
247 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-stage.xml?rev=1.4&view=markup
248 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-stage.xml?rev=1.4&content-type=text/plain
249 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-stage.xml?r1=1.3&r2=1.4
250
251 Index: hb-install-mips-stage.xml
252 ===================================================================
253 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-stage.xml,v
254 retrieving revision 1.3
255 retrieving revision 1.4
256 diff -u -r1.3 -r1.4
257 --- hb-install-mips-stage.xml 1 Apr 2008 21:34:29 -0000 1.3
258 +++ hb-install-mips-stage.xml 1 Jan 2010 19:38:24 -0000 1.4
259 @@ -3,12 +3,12 @@
260
261 <!-- The content of this document is licensed under the CC-BY-SA license
262 See http://creativecommons.org/licenses/by-sa/2.5
263 - $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-stage.xml,v 1.3 2008/04/01 21:34:29 r0bertz Exp $ -->
264 -<!-- English CVS version: 1.9 -->
265 + $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-mips-stage.xml,v 1.4 2010/01/01 19:38:24 r0bertz Exp $ -->
266 +<!-- English CVS version: 1.10 -->
267 <sections>
268
269 -<version>9.0</version>
270 -<date>2008-04-02</date>
271 +<version>9.1</version>
272 +<date>2010-01-02</date>
273
274 <section>
275 <title>安装一个Stage Tarball</title>
276 @@ -277,7 +277,7 @@
277 </pre>
278
279 <p>
280 -第二个是<c>-O</c>标记(是大写的O,而不是数字零),它是指定<c>gcc</c>的优化级别的标记。可能的级别有<c>s</c>(为优化文件大小),<c>0</c>(零——不优化),<c>1</c>、<c>2</c>或者<c>3</c>是为了获得更快速度的优化标记(每个级别都包含前一级标记的优化措施,并额外增加了一些)。比如等级2优化:
281 +第二个是<c>-O</c>标记(是大写的O,而不是数字零),它是指定<c>gcc</c>的优化级别的标记。可能的级别有<c>s</c>(为优化文件大小),<c>0</c>(0——不优化),<c>1</c>、<c>2</c>乃至<c>3</c>是针对速度的优化标记(每个级别都包含前一级的优化措施,并额外增加了一些)。<c>-O2</c>是推荐的默认设置。<c>-O3</c>已知当全局启用时会引起一些问题,所以我们推荐你还是用<c>-O2</c>。
282 </p>
283
284 <pre caption="GCC优化设定">
285 @@ -305,6 +305,10 @@
286 CXXFLAGS="${CFLAGS}" <comment># 两个变量使用相同的设置</comment>
287 </pre>
288
289 +<note>
290 +你应该看一看<uri link="/doc/zh_cn/gcc-optimization.xml">编译优化指南</uri>以了解更多的信息,比如不同的编译选项将如何影响你的系统。
291 +</note>
292 +
293 </body>
294 </subsection>
295 <subsection>
296
297
298
299 1.7 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml
300
301 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml?rev=1.7&view=markup
302 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml?rev=1.7&content-type=text/plain
303 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml?r1=1.6&r2=1.7
304
305 Index: hb-install-ppc-medium.xml
306 ===================================================================
307 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml,v
308 retrieving revision 1.6
309 retrieving revision 1.7
310 diff -u -r1.6 -r1.7
311 --- hb-install-ppc-medium.xml 3 May 2008 21:46:34 -0000 1.6
312 +++ hb-install-ppc-medium.xml 1 Jan 2010 19:38:24 -0000 1.7
313 @@ -3,12 +3,12 @@
314
315 <!-- The content of this document is licensed under the CC-BY-SA license -->
316 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
317 -<!-- $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 $ -->
318 -<!-- English CVS version: 1.61 -->
319 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc-medium.xml,v 1.7 2010/01/01 19:38:24 r0bertz Exp $ -->
320 +<!-- English CVS version: 1.62 -->
321 <sections>
322
323 -<version>9.1</version>
324 -<date>2008-05-04</date>
325 +<version>9.2</version>
326 +<date>2010-01-02</date>
327
328 <section>
329 <title>硬件需求</title>
330 @@ -308,12 +308,11 @@
331 </p>
332
333 <p>
334 -如果在一个使用非美语键盘布局的系统上安装Gentoo,使用<c>loadkeys</c>为你的键盘装载好键盘布局。为了列出可用的键盘布局,执行<c>ls /usr/share/keymaps/i386</c>。在NewWorld机器或Pegasos上不要使用<path>ppc</path>或<path>mac</path>中的键盘布局,因为它们只是为了基于ADB的OldWorld机器准备的。
335 +如果在一个使用非美语键盘布局的系统上安装Gentoo,使用<c>loadkeys</c>为你的键盘装载好键盘布局。为了列出可用的键盘布局,执行<c>ls /usr/share/keymaps/i386</c>。
336 </p>
337
338 <pre caption="列出可用的键盘布局">
339 -<comment>(在大多数系统上PPC使用x86键盘布局。安装光盘也提供了mac/ppc布局,
340 -它们是ADB布局且无法在安装光盘的内核下使用)</comment>
341 +<comment>(在大多数系统上PPC使用x86键盘布局)</comment>
342 # <i>ls /usr/share/keymaps/i386</i>
343 </pre>
344
345
346
347
348 1.8 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-kernel.xml
349
350 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-kernel.xml?rev=1.8&view=markup
351 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-kernel.xml?rev=1.8&content-type=text/plain
352 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-kernel.xml?r1=1.7&r2=1.8
353
354 Index: hb-install-ppc64-kernel.xml
355 ===================================================================
356 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-kernel.xml,v
357 retrieving revision 1.7
358 retrieving revision 1.8
359 diff -u -r1.7 -r1.8
360 --- hb-install-ppc64-kernel.xml 1 Apr 2008 21:34:29 -0000 1.7
361 +++ hb-install-ppc64-kernel.xml 1 Jan 2010 19:38:24 -0000 1.8
362 @@ -3,12 +3,12 @@
363
364 <!-- The content of this document is licensed under the CC-BY-SA license
365 See http://creativecommons.org/licenses/by-sa/2.5
366 - $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-kernel.xml,v 1.7 2008/04/01 21:34:29 r0bertz Exp $ -->
367 -<!-- English CVS version: 1.35 -->
368 + $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-kernel.xml,v 1.8 2010/01/01 19:38:24 r0bertz Exp $ -->
369 +<!-- English CVS version: 1.36 -->
370 <sections>
371
372 -<version>9.0</version>
373 -<date>2008-04-02</date>
374 +<version>9.1</version>
375 +<date>2010-01-02</date>
376
377 <section>
378 <title>时区</title>
379 @@ -138,15 +138,6 @@
380 </p>
381
382 <p>
383 -禁掉ADB raw keycodes:
384 -</p>
385 -
386 -<pre caption="禁掉ADB raw keycodes">
387 -Macintosh Device Drivers ---&gt;
388 - [ ] Support for ADB raw keycodes
389 -</pre>
390 -
391 -<p>
392 当你配置好你的内核后,请继续阅读<uri link="#compiling">编译和安装</uri>。
393 </p>
394
395
396
397
398 1.7 xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml
399
400 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml?rev=1.7&view=markup
401 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml?rev=1.7&content-type=text/plain
402 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml?r1=1.6&r2=1.7
403
404 Index: hb-install-ppc64-medium.xml
405 ===================================================================
406 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml,v
407 retrieving revision 1.6
408 retrieving revision 1.7
409 diff -u -r1.6 -r1.7
410 --- hb-install-ppc64-medium.xml 11 Jul 2009 11:48:43 -0000 1.6
411 +++ hb-install-ppc64-medium.xml 1 Jan 2010 19:38:24 -0000 1.7
412 @@ -3,13 +3,13 @@
413
414 <!-- The content of this document is licensed under the CC-BY-SA license -->
415 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
416 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml,v 1.6 2009/07/11 11:48:43 r0bertz Exp $ -->
417 -<!-- English CVS version: 1.40 -->
418 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-ppc64-medium.xml,v 1.7 2010/01/01 19:38:24 r0bertz Exp $ -->
419 +<!-- English CVS version: 1.41 -->
420
421 <sections>
422
423 -<version>9.3</version>
424 -<date>2009-07-11</date>
425 +<version>9.4</version>
426 +<date>2010-01-02</date>
427
428 <section>
429 <title>硬件需求</title>
430 @@ -364,8 +364,7 @@
431 </p>
432
433 <pre caption="列出可用的键盘布局">
434 -<comment>(在大多数系统上PPC使用x86键盘布局。安装光盘也提供了mac/ppc布局,
435 -它们是ADB布局且无法在安装光盘的内核下使用)</comment>
436 +<comment>(在大多数系统上PPC使用x86键盘布局)</comment>
437 # <i>ls /usr/share/keymaps/i386</i>
438 </pre>
439
440
441
442
443 1.9 xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-kernel.xml
444
445 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-kernel.xml?rev=1.9&view=markup
446 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-kernel.xml?rev=1.9&content-type=text/plain
447 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-kernel.xml?r1=1.8&r2=1.9
448
449 Index: hb-install-sparc-kernel.xml
450 ===================================================================
451 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-kernel.xml,v
452 retrieving revision 1.8
453 retrieving revision 1.9
454 diff -u -r1.8 -r1.9
455 --- hb-install-sparc-kernel.xml 15 Apr 2009 07:39:00 -0000 1.8
456 +++ hb-install-sparc-kernel.xml 1 Jan 2010 19:38:24 -0000 1.9
457 @@ -3,12 +3,12 @@
458
459 <!-- The content of this document is licensed under the CC-BY-SA license -->
460 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
461 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-kernel.xml,v 1.8 2009/04/15 07:39:00 r0bertz Exp $ -->
462 -<!-- English CVS version: 1.35 -->
463 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-sparc-kernel.xml,v 1.9 2010/01/01 19:38:24 r0bertz Exp $ -->
464 +<!-- English CVS version: 1.38 -->
465 <sections>
466
467 -<version>9.1</version>
468 -<date>2009-04-15</date>
469 +<version>9.4</version>
470 +<date>2010-01-02</date>
471
472 <section>
473 <title>时区</title>
474 @@ -48,10 +48,6 @@
475 # <i>emerge gentoo-sources</i>
476 </pre>
477
478 -<note>
479 -如果你正在使用qla2xxx磁盘控制器,你需要<c>emerge =vanilla-sources-2.6.16*</c>(<e>不是</e><c>gentoo-sources</c>),因为自2.6.17内核开始不再支持此控制器。
480 -</note>
481 -
482 <p>
483 当你看一看<path>/usr/src</path>的时候应该能看到一个名为<path>linux</path>的符号链接指向你的内核源代码。在这个例子中,安装好的内核源代码指向<c>linux-<keyval id="kernel-version"/></c>。你的版本可能会不同,注意这一点。
484 </p>
485 @@ -184,6 +180,21 @@
486 </p>
487
488 <p>
489 +如果你正在使用qla2xxx磁盘控制器,你需要使用2.6.27或者更新的内核,并且你需要emerge <c>sys-block/qla-fc-firmware</c>。然后,执行<c>make menuconfig</c>并进入Device Drivers部分。你需要启用加载external firmware的支持。
490 +</p>
491 +
492 +<pre caption="启用external firmware">
493 +Device Drivers ---&gt;
494 + Generic Driver Options ---&gt;
495 + () External firmware blobs to build into the kernel binary
496 + () Firmware blobs root directory
497 +</pre>
498 +
499 +<p>
500 +把“External firmware blobs”设置为<path>ql2200_fw.bin</path>,并把“Firmware blobs root directory”设置为<path>/lib/firmware</path>。
501 +</p>
502 +
503 +<p>
504 当你配置完内核以后,继续<uri link="#compiling">编译和安装</uri>。无论如何,编译完内核以后,请检查它的大小:
505 </p>
506
507 @@ -223,7 +234,7 @@
508 </p>
509
510 <pre caption="安装内核">
511 -# <i>cp arch/sparc64/boot/image /boot/&lt;kernel-version&gt;</i>
512 +# <i>cp arch/sparc/boot/image /boot/&lt;kernel-version&gt;</i>
513 </pre>
514
515 <p>
516
517
518
519 1.7 xml/htdocs/doc/zh_cn/handbook/hb-install-stage.xml
520
521 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-stage.xml?rev=1.7&view=markup
522 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-stage.xml?rev=1.7&content-type=text/plain
523 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-stage.xml?r1=1.6&r2=1.7
524
525 Index: hb-install-stage.xml
526 ===================================================================
527 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-stage.xml,v
528 retrieving revision 1.6
529 retrieving revision 1.7
530 diff -u -r1.6 -r1.7
531 --- hb-install-stage.xml 13 Apr 2008 19:38:12 -0000 1.6
532 +++ hb-install-stage.xml 1 Jan 2010 19:38:24 -0000 1.7
533 @@ -4,8 +4,8 @@
534 <!-- The content of this document is licensed under the CC-BY-SA license -->
535 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
536
537 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-stage.xml,v 1.6 2008/04/13 19:38:12 r0bertz Exp $ -->
538 -<!-- English CVS version: 1.115 -->
539 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-stage.xml,v 1.7 2010/01/01 19:38:24 r0bertz Exp $ -->
540 +<!-- English CVS version: 1.118 -->
541
542 <sections>
543
544 @@ -13,8 +13,8 @@
545 我们使用一个stage3文件来安装Gentoo。在这一章里我们将教你如何解压缩stage3文件和配置Portage。
546 </abstract>
547
548 -<version>9.1</version>
549 -<date>2008-04-14</date>
550 +<version>10.1</version>
551 +<date>2010-01-02</date>
552
553 <section>
554 <title>安装一个Stage Tarball</title>
555 @@ -193,11 +193,11 @@
556 </pre>
557
558 <p>
559 -现在我们来解开你选择的stage tarball。我们将使用<c>tar</c>。确保你使用了同样的参数(<c>xvjpf</c>)。<c>v</c>参数是可选的,而且有些版本的<c>tar</c>不支持它。接下来的一个例子里,我们解开stage tarball <path>stage3-&lt;subarch&gt;-2008.0.tar.bz2</path>。确保用你的stage来替换tarball的文件名。
560 +现在我们来解开你选择的stage tarball。我们将使用<c>tar</c>。确保你使用了同样的参数(<c>xvjpf</c>)。<c>v</c>参数是可选的,而且有些版本的<c>tar</c>不支持它。接下来的一个例子里,我们解开stage tarball <path>stage3-&lt;subarch&gt;-&lt;release&gt;.tar.bz2</path>。确保用你的stage来替换tarball的文件名。
561 </p>
562
563 <pre caption="解开stage tarball">
564 -# <i>tar xvjpf /mnt/cdrom/stages/stage3-&lt;subarch&gt;-2008.0.tar.bz2</i>
565 +# <i>tar xvjpf /mnt/cdrom/stages/stage3-&lt;subarch&gt;-&lt;release&gt;.tar.bz2</i>
566 </pre>
567
568 <p>
569 @@ -275,7 +275,7 @@
570 </p>
571
572 <note>
573 -所有可能的变量都用注释形式罗列在<path>/mnt/gentoo/etc/make.conf.example</path>里。要成功地安装Gentoo,你只需要设置下面提到的变量。
574 +所有可能的变量都用注释形式罗列在<path>/mnt/gentoo/usr/share/portage/config/make.conf.example</path>里。要成功地安装Gentoo,你只需要设置下面提到的变量。
575 </note>
576
577 <p>
578 @@ -293,16 +293,6 @@
579 </body>
580 </subsection>
581 <subsection>
582 -<title>CHOST</title>
583 -<body>
584 -
585 -<p>
586 -<c>CHOST</c>变量声明了你的系统的target、build和host(译注:target定义了编译出的工具链产生的代码将运行的系统类型,只在编译工具链时有意义;build定义了本机系统类型;host定义了编译出的软件将运行的系统类型)。这个变量应该已经被设置为正确的值了。<brite>不要编辑它</brite>,这可能会毁坏你的系统。如果<c>CHOST</c>变量看起来是不正确的,你也许使用了错误的stage3 tarball。
587 -</p>
588 -
589 -</body>
590 -</subsection>
591 -<subsection>
592 <title>CFLAGS和CXXFLAGS</title>
593 <body>
594
595 @@ -329,11 +319,11 @@
596 </p>
597
598 <p>
599 -第二个是<c>-O</c>标记(是大写的O,而不是数字零),它是指定<c>gcc</c>的优化级别的标记。可能的级别有<c>s</c>(为优化文件大小),<c>0</c>(零——不优化),<c>1</c>、<c>2</c>或者<c>3</c>是为了获得更快速度的优化标记(每个级别都包含前一级标记的优化措施,并额外增加了一些)。<c>-O2</c>是推荐的默认设置。
600 +第二个是<c>-O</c>标记(是大写的O,而不是数字零),它是指定<c>gcc</c>的优化级别的标记。可能的级别有<c>s</c>(为优化文件大小),<c>0</c>(0——不优化),<c>1</c>、<c>2</c>乃至<c>3</c>是针对速度的优化标记(每个级别都包含前一级的优化措施,并额外增加了一些)。<c>-O2</c>是推荐的默认设置。<c>-O3</c>已知当全局启用时会引起一些问题,所以我们推荐你还是用<c>-O2</c>。
601 </p>
602
603 <p>
604 -另一个普遍使用的优化标记是<c>-pipe</c>(不同编译阶段通信使用管道而不是临时文件)。它对产生的代码没有任何影响。
605 +另一个普遍使用的优化标记是<c>-pipe</c>(不同编译阶段通信使用管道而不是临时文件)。它对产生的代码没有任何影响,但是会使用更多的内存。在内存不多的系统里,gcc可能会被杀掉。如果是那样的话,就不要用这个标记。
606 </p>
607
608 <p>
609 @@ -356,6 +346,10 @@
610 CXXFLAGS="${CFLAGS}"
611 </pre>
612
613 +<note>
614 +你应该看一看<uri link="/doc/zh_cn/gcc-optimization.xml">编译优化指南</uri>以了解更多的信息,比如不同的编译选项将如何影响你的系统。
615 +</note>
616 +
617 </body>
618 </subsection>
619 <subsection>
620
621
622
623 1.9 xml/htdocs/doc/zh_cn/handbook/hb-install-system.xml
624
625 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-system.xml?rev=1.9&view=markup
626 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-system.xml?rev=1.9&content-type=text/plain
627 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-system.xml?r1=1.8&r2=1.9
628
629 Index: hb-install-system.xml
630 ===================================================================
631 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-system.xml,v
632 retrieving revision 1.8
633 retrieving revision 1.9
634 diff -u -r1.8 -r1.9
635 --- hb-install-system.xml 8 Aug 2008 08:04:38 -0000 1.8
636 +++ hb-install-system.xml 1 Jan 2010 19:38:24 -0000 1.9
637 @@ -4,8 +4,8 @@
638 <!-- The content of this document is licensed under the CC-BY-SA license -->
639 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
640
641 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-system.xml,v 1.8 2008/08/08 08:04:38 r0bertz Exp $ -->
642 -<!-- English CVS version: 1.111 -->
643 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-system.xml,v 1.9 2010/01/01 19:38:24 r0bertz Exp $ -->
644 +<!-- English CVS version: 1.112 -->
645
646 <sections>
647
648 @@ -13,8 +13,8 @@
649 安装并配置完stage3以后,你就会有一个可用的Gentoo基本系统了。这一章将教你如何达到这一状态。
650 </abstract>
651
652 -<version>9.2</version>
653 -<date>2008-06-02</date>
654 +<version>10.0</version>
655 +<date>2010-01-02</date>
656
657 <section>
658 <title>Chroot</title>
659 @@ -157,7 +157,7 @@
660 </p>
661
662 <p>
663 -profile是每个Gentoo系统的构造块。它不仅指定了CHOST、CFLAGS以及其他重要变量的默认值,它还把系统可用的软件版本锁定在某个范围。而这些都是由Gentoo的开发者来维护的。
664 +profile是每个Gentoo系统的构造块。它不仅指定了USE、CFLAGS以及其他重要变量的默认值,它还把系统可用的软件版本锁定在某个范围。而这些都是由Gentoo的开发者来维护的。
665 </p>
666
667 <p>
668 @@ -169,8 +169,11 @@
669 </p>
670
671 <pre caption="验证系统profile">
672 -# <i>ls -FGg /etc/make.profile</i>
673 -lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/<keyval id="profile"/>
674 +# <i>eselect profile list</i>
675 +Available profile symlink targets:
676 + [1] <keyval id="profile"/> *
677 + [2] <keyval id="profile"/>/desktop
678 + [3] <keyval id="profile"/>/server
679 </pre>
680
681 <p>
682 @@ -178,15 +181,15 @@
683 </p>
684
685 <p>
686 -系统也为某些架构提供了可用的<c>desktop</c>和<c>server</c>的子profile。请查看一下是否可以在<path>2008.0/</path>profile里面找到这两个子profile。你也许想看一下<c>desktop</c> profile的<path>make.defaults</path>是否适合你的需要。
687 +系统也为某些架构提供了<c>desktop</c>和<c>server</c>的子profile。运行<c>eselect profile list</c>来显示所有可用的profile。
688 </p>
689
690 <p>
691 -看完了<path>/usr/portage/profiles/</path>里你的体系结构可用的profile之后,如果你愿意,你可以换一个profile。
692 +看完了你的体系结构可用的profile之后,如果你愿意,你可以换一个profile。
693 </p>
694
695 <pre caption="切换profile">
696 -# <i>ln -snf /usr/portage/profiles/&lt;profile name&gt; /etc/make.profile</i>
697 +# <i>eselect profile set 2</i>
698 </pre>
699
700 <p test="func:keyval('arch')='AMD64'">
701 @@ -194,7 +197,21 @@
702 </p>
703
704 <pre test="func:keyval('arch')='AMD64'" caption="切换到non-multilib profile">
705 -# <i>ln -snf /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib /etc/make.profile</i>
706 +# <i>eselect profile list</i>
707 +Available profile symlink targets:
708 + [1] <keyval id="profile"/> *
709 + [2] <keyval id="profile"/>/desktop
710 + [3] <keyval id="profile"/>/no-multilib
711 + [4] <keyval id="profile"/>/server
712 +<comment>(Choose the no-multilib profile)</comment>
713 +# <i>eselect profile set 3</i>
714 +<comment>(Verify the change)</comment>
715 +# <i>eselect profile list</i>
716 +Available profile symlink targets:
717 + [1] <keyval id="profile"/>
718 + [2] <keyval id="profile"/>/desktop
719 + [3] <keyval id="profile"/>/no-multilib *
720 + [4] <keyval id="profile"/>/server
721 </pre>
722
723 <note>
724
725
726
727 1.10 xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml
728
729 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.10&view=markup
730 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.10&content-type=text/plain
731 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml?r1=1.9&r2=1.10
732
733 Index: hb-install-x86+amd64-bootloader.xml
734 ===================================================================
735 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml,v
736 retrieving revision 1.9
737 retrieving revision 1.10
738 diff -u -r1.9 -r1.10
739 --- hb-install-x86+amd64-bootloader.xml 10 Dec 2009 16:57:23 -0000 1.9
740 +++ hb-install-x86+amd64-bootloader.xml 1 Jan 2010 19:38:24 -0000 1.10
741 @@ -4,13 +4,13 @@
742 <!-- The content of this document is licensed under the CC-BY-SA license -->
743 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
744
745 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml,v 1.9 2009/12/10 16:57:23 r0bertz Exp $ -->
746 -<!-- English CVS version: 1.13 -->
747 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-bootloader.xml,v 1.10 2010/01/01 19:38:24 r0bertz Exp $ -->
748 +<!-- English CVS version: 1.16 -->
749
750 <sections>
751
752 -<version>6.3</version>
753 -<date>2009-12-10</date>
754 +<version>6.6</version>
755 +<date>2010-01-02</date>
756
757 <section>
758 <title>做出您的选择</title>
759 @@ -41,61 +41,15 @@
760 <body>
761
762 <p>
763 -<e>如果</e>您已经为您的内核加上了framebuffer支持(或者您使用<c>genkernel</c>的默认内核配置),您就可以在bootloader配置文件中加入一个<c>vga</c>和/或一个<c>video</c>内核参数来启用它。
764 +<e>如果</e>您已经为您的内核加上了framebuffer支持(或者您使用<c>genkernel</c>的默认内核配置),您就可以在bootloader配置文件中加入一个<c>video</c>内核参数来激活它。
765 </p>
766
767 <p>
768 -首先,您需要知道您使用的是什么类型的framebuffer设备。如果您用的是加过Gentoo补丁的内核源代码(例如<c>gentoo-sources</c>),您将可以选择<c>uvesafb</c>作为<e>VESA驱动</e>。这样的话,您使用的就是<c>uvesafb</c>驱动,您将<e>不需要</e>设置<c>vga</c>参数。否则您使用的就是<c>vesafb</c>驱动,您将<e>需要</e>设置<c>vga</c>参数。
769 +首先,您需要知道您使用的framebuffer设备。您应该使用<c>uvesafb</c>作为<e>VESA驱动</e>.
770 </p>
771
772 <p>
773 -<c>vga</c>参数用来控制您的<c>vesafb</c> framebuffer屏幕的分辨率和颜色深度。正如<path>/usr/src/linux/Documentation/fb/vesafb.txt</path>(您安装内核源码包的同时就会安装这一文件)里说明的那样,您需要将与您想使用的分辨率和色深相对应的VESA数值传递给此参数。
774 -</p>
775 -
776 -<p>
777 -下表列出了可用的分辨率和对应的颜色深度,您在里面可以找到需要传递给<c>vga</c>参数的值。
778 -</p>
779 -
780 -<table>
781 -<tr>
782 - <ti></ti>
783 - <th>640x480</th>
784 - <th>800x600</th>
785 - <th>1024x768</th>
786 - <th>1280x1024</th>
787 -</tr>
788 -<tr>
789 - <th>256</th>
790 - <ti>0x301</ti>
791 - <ti>0x303</ti>
792 - <ti>0x305</ti>
793 - <ti>0x307</ti>
794 -</tr>
795 -<tr>
796 - <th>32k</th>
797 - <ti>0x310</ti>
798 - <ti>0x313</ti>
799 - <ti>0x316</ti>
800 - <ti>0x319</ti>
801 -</tr>
802 -<tr>
803 - <th>64k</th>
804 - <ti>0x311</ti>
805 - <ti>0x314</ti>
806 - <ti>0x317</ti>
807 - <ti>0x31A</ti>
808 -</tr>
809 -<tr>
810 - <th>16M</th>
811 - <ti>0x312</ti>
812 - <ti>0x315</ti>
813 - <ti>0x318</ti>
814 - <ti>0x31B</ti>
815 -</tr>
816 -</table>
817 -
818 -<p>
819 -<c>video</c>语句用来控制framebuffer的显示参数。此语句中需指定欲使用的framebuffer驱动以及你想启用的控制语句。<path>/usr/src/linux/Documentation/fb/vesafb.txt</path>文件里列出了所有变量。最常用的选项是:
820 +<c>video</c>语句用来控制framebuffer的显示参数。此语句中需指定欲使用的framebuffer驱动以及你想启用的控制语句。<path>/usr/src/linux/Documentation/fb/uvesafb.txt</path>文件里列出了所有变量。最常用的选项是:
821 </p>
822
823 <table>
824 @@ -123,7 +77,6 @@
825 <tr>
826 <ti><c>模式</c></ti>
827 <ti>
828 - (只针对<c>uvesafb</c>)<br/>
829 设定分辨率,颜色深度和刷新率。
830 例如,<c>1024x768-32@85</c>对应的分辨率是1024x768,32位色深和85Hz的刷新率。
831 </ti>
832 @@ -131,7 +84,7 @@
833 </table>
834
835 <p>
836 -最后这两个参数的内容可能类似这样<c>vga=0x318 video=vesafb:mtrr:3,ywrap</c>或者<c>video=uvesafb:mtrr:3,ywrap,1024x768-32@85</c>。将它们记下来;很快您将用到它们。
837 +最后这个参数的内容可能类似这样<c>video=uvesafb:mtrr:3,ywrap,1024x768-32@85</c>。将它记下来;很快您将用到它。
838 </p>
839
840 <p test="func:keyval('arch')='IA64'">
841 @@ -270,7 +223,11 @@
842 </p>
843
844 <p>
845 -如果您需要传递任何其他的参数给内核,简单地在内核命令后面加上它们就可以了。我们已经传递了一个参数(<c>root=/dev/sda3</c>或<c>real_root=/dev/sda3</c>),但您也可以加上其他的,例如我们前面讨论过的为framebuffer加上<c>video</c>和/或<c>vga</c>参数等等。
846 +如果您需要传递任何其他的参数给内核,简单地在内核命令后面加上它们就可以了。我们已经传递了一个参数(<c>root=/dev/sda3</c>或<c>real_root=/dev/sda3</c>),但您也可以加上其他的,例如我们前面讨论过的为framebuffer加上<c>video</c>参数。
847 +</p>
848 +
849 +<p>
850 +如果你的引导程序配置文件包含real_root参数,请使用real_rootflags参数来设置根文件系统的挂载选项。
851 </p>
852
853 <p>
854 @@ -472,7 +429,7 @@
855 label=gentoo
856 read-only
857 root=/dev/sda3
858 - <i>append="video=vesafb:mtrr,ywrap,1024x768-32@85"</i>
859 + <i>append="video=uvesafb:mtrr,ywrap,1024x768-32@85"</i>
860 </pre>
861
862 <p>
863
864
865
866 1.12 xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-kernel.xml
867
868 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-kernel.xml?rev=1.12&view=markup
869 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-kernel.xml?rev=1.12&content-type=text/plain
870 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-kernel.xml?r1=1.11&r2=1.12
871
872 Index: hb-install-x86+amd64-kernel.xml
873 ===================================================================
874 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-kernel.xml,v
875 retrieving revision 1.11
876 retrieving revision 1.12
877 diff -u -r1.11 -r1.12
878 --- hb-install-x86+amd64-kernel.xml 4 Jul 2008 22:41:58 -0000 1.11
879 +++ hb-install-x86+amd64-kernel.xml 1 Jan 2010 19:38:24 -0000 1.12
880 @@ -3,16 +3,16 @@
881
882 <!-- The content of this document is licensed under the CC-BY-SA license -->
883 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
884 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-kernel.xml,v 1.11 2008/07/04 22:41:58 r0bertz Exp $ -->
885 -<!-- English CVS version: 1.26 -->
886 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-kernel.xml,v 1.12 2010/01/01 19:38:24 r0bertz Exp $ -->
887 +<!-- English CVS version: 1.31 -->
888 <sections>
889
890 <abstract>
891 Linux内核是每个发行版的核心。本章节将解释如何配置您自己的内核。
892 </abstract>
893
894 -<version>6.4</version>
895 -<date>2008-07-05</date>
896 +<version>7.3</version>
897 +<date>2010-01-02</date>
898
899 <section>
900 <title>时区</title>
901 @@ -118,11 +118,13 @@
902
903 <pre caption="选择处理器类型和特性">
904 Processor type and features --->
905 + [ ] Machine Check Exception
906 [ ] Intel MCE Features
907 [ ] AMD MCE Features
908 Processor family (AMD-Opteron/Athlon64) --->
909 - ( ) AMD-Opteron/Athlon64
910 - ( ) Intel EM64T
911 + ( ) Opteron/Athlon64/Hammer/K8
912 + ( ) Intel P4 / older Netburst based Xeon
913 + ( ) Core 2/newer Xeon
914 ( ) Generic-x86-64
915 Executable file formats / Emulations --->
916 [*] IA32 Emulation
917 @@ -292,19 +294,17 @@
918 # <i>emerge genkernel</i>
919 </pre>
920
921 -</body>
922 -<body test="func:keyval('arch')='x86'">
923 -
924 <p>
925 然后,复制安装光盘上的内核配置文件到genkernel搜索配置文件的默认位置:
926 </p>
927
928 -<pre caption="复制安装光盘的配置文件">
929 +<pre test="func:keyval('arch')='x86'" caption="复制安装光盘的配置文件">
930 # <i>zcat /proc/config.gz &gt; /usr/share/genkernel/x86/kernel-config-2.6</i>
931 </pre>
932
933 -</body>
934 -<body>
935 +<pre test="func:keyval('arch')='AMD64'" caption="复制安装光盘的配置文件">
936 +# <i>zcat /proc/config.gz &gt; /usr/share/genkernel/arch/x86_64/kernel-config</i>
937 +</pre>
938
939 <p>
940 现在执行<c>genkernel all</c>编译您的内核源码。请注意,<c>genkernel</c>编译出的内核支持几乎所有硬件,编译需要一段很长的时间。
941
942
943
944 1.9 xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml
945
946 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml?rev=1.9&view=markup
947 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml?rev=1.9&content-type=text/plain
948 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml?r1=1.8&r2=1.9
949
950 Index: hb-install-x86+amd64-medium.xml
951 ===================================================================
952 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml,v
953 retrieving revision 1.8
954 retrieving revision 1.9
955 diff -u -r1.8 -r1.9
956 --- hb-install-x86+amd64-medium.xml 21 Feb 2009 14:06:29 -0000 1.8
957 +++ hb-install-x86+amd64-medium.xml 1 Jan 2010 19:38:24 -0000 1.9
958 @@ -4,8 +4,8 @@
959 <!-- The content of this document is licensed under the CC-BY-SA license -->
960 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
961
962 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml,v 1.8 2009/02/21 14:06:29 r0bertz Exp $ -->
963 -<!-- English CVS version: 1.16 -->
964 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/zh_cn/handbook/hb-install-x86+amd64-medium.xml,v 1.9 2010/01/01 19:38:24 r0bertz Exp $ -->
965 +<!-- English CVS version: 1.17 -->
966
967 <sections>
968
969 @@ -13,8 +13,8 @@
970 你可以用许多方法安装Gentoo。本章讲解怎样用最小安装光盘安装Gentoo,尽管使用安装程序LiveCD也是可以的。
971 </abstract>
972
973 -<version>6.5</version>
974 -<date>2009-02-21</date>
975 +<version>7.0</version>
976 +<date>2010-01-02</date>
977
978 <section>
979 <title>硬件需求</title>
980 @@ -110,13 +110,15 @@
981 </p>
982
983 <p>
984 -所有的安装光盘都允许你启动、设置网络、初始化硬盘分区和从因特网上开始安装Gentoo。我们目前提供两种安装光盘,它们都同样适合安装Gentoo,只要你想通过网络安装并使用最新的软件包。
985 +所有的安装光盘都允许你启动、设置网络、初始化硬盘分区和从因特网上开始安装Gentoo。
986 </p>
987
988 +<!--
989 <impo>
990 如果你想在无网络条件下安装Gentoo或是想进行自动安装,请参考<uri link="2008.0/">Gentoo 2008.0手册</uri>里的说明。
991 </impo>
992 -
993 +-->
994 +<!--
995 <p>
996 我们目前提供的安装光盘是:
997 </p>
998 @@ -133,7 +135,7 @@
999 <p>
1000 为了让你更好的做出选择,我们列出了每种安装光盘的优点和缺点。
1001 </p>
1002 -
1003 +-->
1004 </body>
1005 </subsection>
1006 <subsection>
1007 @@ -143,7 +145,7 @@
1008 <p>
1009 这个最小安装光盘名叫<c><keyval id="min-cd-name"/></c>。大小只有<keyval id="min-cd-size"/>MB。你可以用它安装Gentoo,但是<e>只能</e>用于有网络的环境。
1010 </p>
1011 -
1012 +<!--
1013 <table>
1014 <tr>
1015 <th>最小安装光盘</th>
1016 @@ -160,9 +162,10 @@
1017 </ti>
1018 </tr>
1019 </table>
1020 -
1021 +-->
1022 </body>
1023 </subsection>
1024 +<!--
1025 <subsection>
1026 <title>Gentoo安装程序LiveCD</title>
1027 <body>
1028 @@ -190,6 +193,7 @@
1029
1030 </body>
1031 </subsection>
1032 +-->
1033 <subsection>
1034 <title>Stage3</title>
1035 <body>
1036 @@ -199,7 +203,8 @@
1037 </p>
1038
1039 <p>
1040 -Stage3不包含在LiveCD中,你可以从任何一个<uri link="/main/en/mirrors.xml">Gentoo官方镜像</uri>的<path><keyval id="release-dir"/>stages/</path>目录里下载。
1041 +Stage3不包含在LiveCD中,你可以从任何一个<uri link="/main/en/mirrors.xml">Gentoo
1042 + 官方镜像</uri>的<path><keyval id="release-dir"/>current-stage3/</path>目录里下载。
1043 </p>
1044
1045 </body>
1046 @@ -217,7 +222,7 @@
1047 </p>
1048
1049 <p>
1050 -你可以从我们任何一个<uri link="/main/en/mirrors.xml">镜像</uri>下载。这些安装光盘位于<path><keyval id="release-dir"/>installcd/</path>目录里。
1051 +你可以从我们任何一个<uri link="/main/en/mirrors.xml">镜像</uri>下载。这些安装光盘位于<path><keyval id="release-dir"/>current-iso/</path>目录里。
1052 </p>
1053
1054 <p>