1 |
neysx 06/01/08 14:05:29 |
2 |
|
3 |
Modified: xml/htdocs/doc/en/handbook hb-install-alpha-kernel.xml |
4 |
hb-install-amd64-kernel.xml |
5 |
hb-install-hppa-kernel.xml |
6 |
hb-install-mips-kernel.xml |
7 |
hb-install-ppc-kernel.xml |
8 |
hb-install-ppc64-kernel.xml |
9 |
hb-install-sparc-kernel.xml |
10 |
hb-install-x86-kernel.xml |
11 |
Log: |
12 |
#118031 hb-install-*-kernel.xml files need TLC |
13 |
|
14 |
Revision Changes Path |
15 |
1.33 +12 -30 xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml |
16 |
|
17 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml?rev=1.33&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
18 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml?rev=1.33&content-type=text/plain&cvsroot=gentoo |
19 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml.diff?r1=1.32&r2=1.33&cvsroot=gentoo |
20 |
|
21 |
Index: hb-install-alpha-kernel.xml |
22 |
=================================================================== |
23 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v |
24 |
retrieving revision 1.32 |
25 |
retrieving revision 1.33 |
26 |
diff -u -r1.32 -r1.33 |
27 |
--- hb-install-alpha-kernel.xml 21 Nov 2005 15:37:12 -0000 1.32 |
28 |
+++ hb-install-alpha-kernel.xml 8 Jan 2006 14:05:29 -0000 1.33 |
29 |
@@ -4,12 +4,12 @@ |
30 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
|
33 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v 1.32 2005/11/21 15:37:12 neysx Exp $ --> |
34 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v 1.33 2006/01/08 14:05:29 neysx Exp $ --> |
35 |
|
36 |
<sections> |
37 |
|
38 |
-<version>2.10</version> |
39 |
-<date>2005-11-21</date> |
40 |
+<version>2.11</version> |
41 |
+<date>2006-01-06</date> |
42 |
|
43 |
<section> |
44 |
<title>Timezone</title> |
45 |
@@ -57,16 +57,20 @@ |
46 |
In the next example we install the <c>vanilla-sources</c>. |
47 |
Of course substitute with your choice of sources, this is merely an example. |
48 |
The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
49 |
-dependencies at this point: |
50 |
+dependencies at this point. <c>USE="symlink"</c> is not necessary for a new |
51 |
++install, but ensures proper creation of the <path>/usr/src/linux</path> |
52 |
++symlink. |
53 |
</p> |
54 |
|
55 |
<pre caption="Installing a kernel source"> |
56 |
-# <i>USE="-doc" emerge vanilla-sources</i> |
57 |
+# <i>USE="-doc symlink" emerge vanilla-sources</i> |
58 |
</pre> |
59 |
|
60 |
<p> |
61 |
When you take a look in <path>/usr/src</path> you should see a symlink called |
62 |
-<path>linux</path> pointing to your kernel source: |
63 |
+<path>linux</path> pointing to your kernel source. In this case, the installed |
64 |
+kernel source points to <c>vanilla-sources-2.6.11.2</c>. Your version may be |
65 |
+different, so keep this in mind. |
66 |
</p> |
67 |
|
68 |
<pre caption="Viewing the kernel source symlink"> |
69 |
@@ -75,17 +79,6 @@ |
70 |
</pre> |
71 |
|
72 |
<p> |
73 |
-If this isn't the case (i.e. the symlink points to a different kernel source) |
74 |
-change the symlink before you continue: |
75 |
-</p> |
76 |
- |
77 |
-<pre caption="Changing the kernel source symlink"> |
78 |
-# <i>rm /usr/src/linux</i> |
79 |
-# <i>cd /usr/src</i> |
80 |
-# <i>ln -s linux-2.6.11.2 linux</i> |
81 |
-</pre> |
82 |
- |
83 |
-<p> |
84 |
Now it is time to configure and compile your kernel source. You |
85 |
can use <c>genkernel</c> for this, which will build a generic kernel as used |
86 |
by the Installation CD. We explain the "manual" configuration first though, as it is |
87 |
@@ -182,7 +175,6 @@ |
88 |
File systems ---> |
89 |
Pseudo Filesystems ---> |
90 |
[*] /proc file system support |
91 |
- [ ] /dev file system support (OBSOLETE) |
92 |
[*] Virtual memory file system support (former shm fs) |
93 |
|
94 |
<comment>(Select one or more of the following options as needed by your system)</comment> |
95 |
@@ -311,9 +303,8 @@ |
96 |
|
97 |
<p> |
98 |
When the kernel has finished compiling, copy the kernel image to |
99 |
-<path>/boot</path>. In the next example we assume you have configured and |
100 |
-compiled <c>vanilla-sources-2.6.11.2</c>; recent kernels might create |
101 |
-<path>vmlinux</path> instead of <path>vmlinux.gz</path>. |
102 |
+<path>/boot</path>. Recent kernels might create <path>vmlinux</path> instead of |
103 |
+<path>vmlinux.gz</path>. Keep this in mind when you copy your kernel image. |
104 |
</p> |
105 |
|
106 |
<pre caption="Installing the kernel"> |
107 |
@@ -321,15 +312,6 @@ |
108 |
</pre> |
109 |
|
110 |
<p> |
111 |
-It is also wise to copy over your kernel configuration file to |
112 |
-<path>/boot</path>, just in case :) |
113 |
-</p> |
114 |
- |
115 |
-<pre caption="Backing up your kernel configuration"> |
116 |
-# <i>cp .config /boot/config-2.6.11.2</i> |
117 |
-</pre> |
118 |
- |
119 |
-<p> |
120 |
Now continue with <uri link="#kernel_modules">Installing Separate Kernel |
121 |
Modules</uri>. |
122 |
</p> |
123 |
|
124 |
|
125 |
|
126 |
1.35 +18 -33 xml/htdocs/doc/en/handbook/hb-install-amd64-kernel.xml |
127 |
|
128 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-kernel.xml?rev=1.35&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
129 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-kernel.xml?rev=1.35&content-type=text/plain&cvsroot=gentoo |
130 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-amd64-kernel.xml.diff?r1=1.34&r2=1.35&cvsroot=gentoo |
131 |
|
132 |
Index: hb-install-amd64-kernel.xml |
133 |
=================================================================== |
134 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-amd64-kernel.xml,v |
135 |
retrieving revision 1.34 |
136 |
retrieving revision 1.35 |
137 |
diff -u -r1.34 -r1.35 |
138 |
--- hb-install-amd64-kernel.xml 27 Nov 2005 01:46:02 -0000 1.34 |
139 |
+++ hb-install-amd64-kernel.xml 8 Jan 2006 14:05:29 -0000 1.35 |
140 |
@@ -4,12 +4,12 @@ |
141 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
142 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
143 |
|
144 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-amd64-kernel.xml,v 1.34 2005/11/27 01:46:02 neysx Exp $ --> |
145 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-amd64-kernel.xml,v 1.35 2006/01/08 14:05:29 neysx Exp $ --> |
146 |
|
147 |
<sections> |
148 |
|
149 |
-<version>2.11</version> |
150 |
-<date>2005-11-26</date> |
151 |
+<version>2.12</version> |
152 |
+<date>2006-01-06</date> |
153 |
|
154 |
<section> |
155 |
<title>Timezone</title> |
156 |
@@ -52,18 +52,22 @@ |
157 |
</p> |
158 |
|
159 |
<p> |
160 |
-Choose your kernel source and install it using <c>emerge</c>. |
161 |
-The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
162 |
-dependencies at this point: |
163 |
+Choose your kernel source and install it using <c>emerge</c>. The |
164 |
+<c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
165 |
+dependencies at this point. <c>USE="symlink"</c> is not necessary for a new |
166 |
+install, but ensures proper creation of the <path>/usr/src/linux</path> |
167 |
+symlink. |
168 |
</p> |
169 |
|
170 |
<pre caption="Installing a kernel source"> |
171 |
-# <i>USE="-doc" emerge gentoo-sources</i> |
172 |
+# <i>USE="-doc symlink" emerge gentoo-sources</i> |
173 |
</pre> |
174 |
|
175 |
<p> |
176 |
When you take a look in <path>/usr/src</path> you should see a symlink called |
177 |
-<path>linux</path> pointing to your kernel source: |
178 |
+<path>linux</path> pointing to your kernel source. In this case, the installed |
179 |
+kernel source points to <c>gentoo-sources-2.6.12-r10</c>. Your version may be |
180 |
+different, so keep this in mind. |
181 |
</p> |
182 |
|
183 |
<pre caption="Viewing the kernel source symlink"> |
184 |
@@ -72,17 +76,6 @@ |
185 |
</pre> |
186 |
|
187 |
<p> |
188 |
-If this isn't the case (i.e. the symlink points to a different kernel source) |
189 |
-change the symlink before you continue: |
190 |
-</p> |
191 |
- |
192 |
-<pre caption="Changing the kernel source symlink"> |
193 |
-# <i>rm /usr/src/linux</i> |
194 |
-# <i>cd /usr/src</i> |
195 |
-# <i>ln -s linux-2.6.12-gentoo-r10 linux</i> |
196 |
-</pre> |
197 |
- |
198 |
-<p> |
199 |
Now it is time to configure and compile your kernel source. |
200 |
You can use <c>genkernel</c> for this, which will build a generic kernel as used |
201 |
by the Installation CD. We explain the "manual" configuration first though, as |
202 |
@@ -182,15 +175,13 @@ |
203 |
Now go to <c>File Systems</c> and select support for the filesystems you use. |
204 |
<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be |
205 |
able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc |
206 |
-file system</c>. Do <e>not</e> select <c>/dev file system support</c> as |
207 |
-Gentoo/AMD64 now uses <c>udev</c> by default. |
208 |
+file system</c>. |
209 |
</p> |
210 |
|
211 |
<pre caption="Selecting necessary file systems"> |
212 |
File systems ---> |
213 |
Pseudo Filesystems ---> |
214 |
[*] /proc file system support |
215 |
- [ ] /dev file system support (OBSOLETE) |
216 |
[*] Virtual memory file system support (former shm fs) |
217 |
|
218 |
<comment>(Select one or more of the following options as needed by your system)</comment> |
219 |
@@ -269,20 +260,14 @@ |
220 |
|
221 |
<p> |
222 |
When the kernel has finished compiling, copy the kernel image to |
223 |
-<path>/boot</path>: |
224 |
+<path>/boot</path>. Use whatever name you feel is appropriate for your kernel |
225 |
+choice and remember it as you will need it later on when you configure your |
226 |
+bootloader. Remember to replace <path><kernel-version></path> with the name and |
227 |
+version of your kernel. |
228 |
</p> |
229 |
|
230 |
<pre caption="Installing the kernel"> |
231 |
-# <i>cp arch/x86_64/boot/bzImage /boot/kernel-2.6.12-gentoo-r10</i> |
232 |
-</pre> |
233 |
- |
234 |
-<p> |
235 |
-It is also wise to copy over your kernel configuration file to |
236 |
-<path>/boot</path>, just in case :) |
237 |
-</p> |
238 |
- |
239 |
-<pre caption="Backing up your kernel configuration"> |
240 |
-# <i>cp .config /boot/config-2.6.12-gentoo-r10</i> |
241 |
+# <i>cp arch/x86_64/boot/bzImage /boot/<kernel-version></i> |
242 |
</pre> |
243 |
|
244 |
<p> |
245 |
|
246 |
|
247 |
|
248 |
1.30 +22 -38 xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml |
249 |
|
250 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml?rev=1.30&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
251 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml?rev=1.30&content-type=text/plain&cvsroot=gentoo |
252 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml.diff?r1=1.29&r2=1.30&cvsroot=gentoo |
253 |
|
254 |
Index: hb-install-hppa-kernel.xml |
255 |
=================================================================== |
256 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml,v |
257 |
retrieving revision 1.29 |
258 |
retrieving revision 1.30 |
259 |
diff -u -r1.29 -r1.30 |
260 |
--- hb-install-hppa-kernel.xml 21 Nov 2005 15:37:12 -0000 1.29 |
261 |
+++ hb-install-hppa-kernel.xml 8 Jan 2006 14:05:29 -0000 1.30 |
262 |
@@ -4,12 +4,12 @@ |
263 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
264 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
265 |
|
266 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml,v 1.29 2005/11/21 15:37:12 neysx Exp $ --> |
267 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-kernel.xml,v 1.30 2006/01/08 14:05:29 neysx Exp $ --> |
268 |
|
269 |
<sections> |
270 |
|
271 |
-<version>1.22</version> |
272 |
-<date>2005-11-21</date> |
273 |
+<version>1.23</version> |
274 |
+<date>2006-01-06</date> |
275 |
|
276 |
<section> |
277 |
<title>Timezone</title> |
278 |
@@ -46,21 +46,25 @@ |
279 |
</p> |
280 |
|
281 |
<p> |
282 |
-For HPPA we have <c>hppa-sources</c>. Default these sources are based on |
283 |
-the 2.6 kernel sources. If you want to install a 2.4 kernel, you will need |
284 |
-to install Gentoo from a working Internet connection as we do not supply those |
285 |
-sources on our Installation CD. Continue by installing the kernel source. |
286 |
-The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
287 |
-dependencies at this point: |
288 |
+For HPPA we have <c>hppa-sources</c>. By default, these sources are based on |
289 |
+the 2.6 kernel sources. If you want to install a 2.4 kernel, you will need to |
290 |
+install Gentoo from a working Internet connection as we do not supply those |
291 |
+sources on our Installation CD. Continue by installing the kernel source. The |
292 |
+<c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
293 |
+dependencies at this point. <c>USE="symlink"</c> is not necessary for a new |
294 |
+install, but ensures proper creation of the <path>/usr/src/linux</path> |
295 |
+symlink. |
296 |
</p> |
297 |
|
298 |
<pre caption="Installing a kernel source"> |
299 |
-# <i>USE="-doc" emerge hppa-sources</i> |
300 |
+# <i>USE="-doc symlink" emerge hppa-sources</i> |
301 |
</pre> |
302 |
|
303 |
<p> |
304 |
When you take a look in <path>/usr/src</path> you should see a symlink called |
305 |
-<path>linux</path> pointing to your kernel source: |
306 |
+<path>linux</path> pointing to your kernel source. In this case, the installed |
307 |
+kernel source points to <c>hppa-sources-2.6.12.2-pa2</c>. Your version may be |
308 |
+different, so keep this in mind. |
309 |
</p> |
310 |
|
311 |
<pre caption="Viewing the kernel source symlink"> |
312 |
@@ -69,17 +73,6 @@ |
313 |
</pre> |
314 |
|
315 |
<p> |
316 |
-If this isn't the case (i.e. the symlink points to a different kernel source) |
317 |
-change the symlink before you continue: |
318 |
-</p> |
319 |
- |
320 |
-<pre caption="Changing the kernel source symlink"> |
321 |
-# <i>rm /usr/src/linux</i> |
322 |
-# <i>cd /usr/src</i> |
323 |
-# <i>ln -s linux-2.6.12.2-pa2 linux</i> |
324 |
-</pre> |
325 |
- |
326 |
-<p> |
327 |
Now it is time to configure and compile your kernel source. All architectures |
328 |
can use <c>genkernel</c> for this, which will build a generic kernel as used |
329 |
by the Installation CD. We explain the "manual" configuration first though, as |
330 |
@@ -157,16 +150,14 @@ |
331 |
<p> |
332 |
Now go to <c>File Systems</c> and select support for the filesystems you use. |
333 |
<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be |
334 |
-able to mount your partitions. Also select <c>Virtual memory</c>, <c>/proc |
335 |
-file system</c>, <c>/dev file system</c> + <c>Automatically mount at boot</c>: |
336 |
+able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc |
337 |
+file system</c>: |
338 |
</p> |
339 |
|
340 |
<pre caption="Selecting necessary file systems"> |
341 |
File systems ---> |
342 |
Pseudo Filesystems ---> |
343 |
[*] /proc file system support |
344 |
- [*] /dev file system support (OBSOLETE) |
345 |
- [*] Automatically mount at boot |
346 |
[*] Virtual memory file system support (former shm fs) |
347 |
|
348 |
<comment>(Select one or more of the following options as needed by your system)</comment> |
349 |
@@ -268,21 +259,14 @@ |
350 |
|
351 |
<p> |
352 |
When the kernel has finished compiling, copy the kernel image to |
353 |
-<path>/boot</path>. In the next example we assume you have configured and |
354 |
-compiled <c>hppa-sources-2.6.12.2-pa2</c>. |
355 |
+<path>/boot</path>. Use whatever name you feel is appropriate for your kernel |
356 |
+choice and remember it as you will need it later on when you configure your |
357 |
+bootloader. Remember to replace <path><kernel-version></path> with the |
358 |
+name and version of your kernel. |
359 |
</p> |
360 |
|
361 |
<pre caption="Installing the kernel"> |
362 |
-# <i>cp vmlinux /boot/kernel-2.6.12.2-pa2</i> |
363 |
-</pre> |
364 |
- |
365 |
-<p> |
366 |
-It is also wise to copy over your kernel configuration file to |
367 |
-<path>/boot</path>, just in case :) |
368 |
-</p> |
369 |
- |
370 |
-<pre caption="Backing up your kernel configuration"> |
371 |
-# <i>cp .config /boot/config-2.6.12.2-pa2</i> |
372 |
+# <i>cp vmlinux /boot/<kernel-version></i> |
373 |
</pre> |
374 |
|
375 |
<p> |
376 |
|
377 |
|
378 |
|
379 |
1.19 +20 -34 xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml |
380 |
|
381 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml?rev=1.19&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
382 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml?rev=1.19&content-type=text/plain&cvsroot=gentoo |
383 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml.diff?r1=1.18&r2=1.19&cvsroot=gentoo |
384 |
|
385 |
Index: hb-install-mips-kernel.xml |
386 |
=================================================================== |
387 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml,v |
388 |
retrieving revision 1.18 |
389 |
retrieving revision 1.19 |
390 |
diff -u -r1.18 -r1.19 |
391 |
--- hb-install-mips-kernel.xml 21 Nov 2005 15:37:12 -0000 1.18 |
392 |
+++ hb-install-mips-kernel.xml 8 Jan 2006 14:05:29 -0000 1.19 |
393 |
@@ -4,12 +4,12 @@ |
394 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
395 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
396 |
|
397 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml,v 1.18 2005/11/21 15:37:12 neysx Exp $ --> |
398 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml,v 1.19 2006/01/08 14:05:29 neysx Exp $ --> |
399 |
|
400 |
<sections> |
401 |
|
402 |
-<version>1.14</version> |
403 |
-<date>2005-11-21</date> |
404 |
+<version>1.15</version> |
405 |
+<date>2006-01-06</date> |
406 |
|
407 |
<section> |
408 |
<title>Timezone</title> |
409 |
@@ -50,10 +50,12 @@ |
410 |
</p> |
411 |
|
412 |
<p> |
413 |
-Choose your kernel source and install it using <c>emerge</c>. |
414 |
-Of course substitute with your choice of sources, this is merely an example. |
415 |
-The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
416 |
-dependencies at this point: |
417 |
+Choose your kernel source and install it using <c>emerge</c>. Of course |
418 |
+substitute with your choice of sources, this is merely an example. The |
419 |
+<c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
420 |
+dependencies at this point. <c>USE="symlink"</c> is not necessary for a new |
421 |
+install, but ensures proper creation of the <path>/usr/src/linux</path> |
422 |
+symlink. |
423 |
</p> |
424 |
|
425 |
<note> |
426 |
@@ -64,17 +66,19 @@ |
427 |
|
428 |
<pre caption="Installing a kernel source"> |
429 |
<comment>(For SGI machines)</comment> |
430 |
-# <i>USE="-doc" emerge mips-sources</i> |
431 |
+# <i>USE="-doc symlink" emerge mips-sources</i> |
432 |
|
433 |
<comment>(For Cobalt machines)</comment> |
434 |
# <i>mkdir -p /etc/portage</i> |
435 |
# <i>echo "sys-kernel/mips-sources cobalt" >> /etc/portage/package.use</i> |
436 |
-# <i>USE="-doc" emerge mips-sources</i> |
437 |
+# <i>USE="-doc symlink" emerge mips-sources</i> |
438 |
</pre> |
439 |
|
440 |
<p> |
441 |
When you take a look in <path>/usr/src</path> you should see a symlink called |
442 |
-<path>linux</path> pointing to your kernel source: |
443 |
+<path>linux</path> pointing to your kernel source. In this case, the installed |
444 |
+kernel source points to <c>mips-sources-2.4.24</c>. Your version may be |
445 |
+different, so keep this in mind. |
446 |
</p> |
447 |
|
448 |
<pre caption="Viewing the kernel source symlink"> |
449 |
@@ -83,17 +87,6 @@ |
450 |
</pre> |
451 |
|
452 |
<p> |
453 |
-If this isn't the case (i.e. the symlink points to a different kernel source) |
454 |
-change the symlink before you continue: |
455 |
-</p> |
456 |
- |
457 |
-<pre caption="Changing the kernel source symlink"> |
458 |
-# <i>rm /usr/src/linux</i> |
459 |
-# <i>cd /usr/src</i> |
460 |
-# <i>ln -s linux-2.4.24 linux</i> |
461 |
-</pre> |
462 |
- |
463 |
-<p> |
464 |
Now it is time to configure and compile your kernel source. |
465 |
</p> |
466 |
|
467 |
@@ -196,23 +189,16 @@ |
468 |
</p> |
469 |
|
470 |
<note> |
471 |
-On Cobalt servers, the bootloader will expect to see a compressed kernelimage. |
472 |
-Remember to <c>gzip -9</c> the file once it is in <path>/boot</path>. |
473 |
+On Cobalt servers, the bootloader will expect to see a compressed kernel image. |
474 |
+Remember to <c>gzip -9</c> the file once it is in <path>/boot</path>. In the |
475 |
+following example, replace <path><kernel-version></path> with your kernel |
476 |
+version. |
477 |
</note> |
478 |
|
479 |
<pre caption="Installing the kernel"> |
480 |
-# <i>cp vmlinux /boot/kernel-2.4.24</i> |
481 |
+# <i>cp vmlinux /boot/<kernel-version<</i> |
482 |
<comment>(Cobalt Servers -- Compressing the kernel image)</comment> |
483 |
-# <i>gzip -9v /boot/kernel-2.4.24</i> |
484 |
-</pre> |
485 |
- |
486 |
-<p> |
487 |
-It is also wise to copy over your kernel configuration file to |
488 |
-<path>/boot</path>, just in case :) |
489 |
-</p> |
490 |
- |
491 |
-<pre caption="Backing up your kernel configuration"> |
492 |
-# <i>cp .config /boot/config-2.4.24</i> |
493 |
+# <i>gzip -9v /boot/<kernel-version<</i> |
494 |
</pre> |
495 |
|
496 |
<!-- |
497 |
|
498 |
|
499 |
|
500 |
1.38 +23 -40 xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml |
501 |
|
502 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml?rev=1.38&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
503 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml?rev=1.38&content-type=text/plain&cvsroot=gentoo |
504 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml.diff?r1=1.37&r2=1.38&cvsroot=gentoo |
505 |
|
506 |
Index: hb-install-ppc-kernel.xml |
507 |
=================================================================== |
508 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v |
509 |
retrieving revision 1.37 |
510 |
retrieving revision 1.38 |
511 |
diff -u -r1.37 -r1.38 |
512 |
--- hb-install-ppc-kernel.xml 21 Nov 2005 15:37:12 -0000 1.37 |
513 |
+++ hb-install-ppc-kernel.xml 8 Jan 2006 14:05:29 -0000 1.38 |
514 |
@@ -4,12 +4,12 @@ |
515 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
516 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
517 |
|
518 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.37 2005/11/21 15:37:12 neysx Exp $ --> |
519 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.38 2006/01/08 14:05:29 neysx Exp $ --> |
520 |
|
521 |
<sections> |
522 |
|
523 |
-<version>2.14</version> |
524 |
-<date>2005-11-21</date> |
525 |
+<version>2.15</version> |
526 |
+<date>2006-01-06</date> |
527 |
|
528 |
<section> |
529 |
<title>Timezone</title> |
530 |
@@ -46,27 +46,32 @@ |
531 |
</p> |
532 |
|
533 |
<p> |
534 |
-We suggest using either <c>vanilla-sources</c> or <c>gentoo-sources</c> |
535 |
-on PPC, which are both 2.6 kernels. The latter is available when you |
536 |
-perform a networkless installation. So let's continue with <c>emerge</c>'ing |
537 |
-the kernel sources. |
538 |
-The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
539 |
-dependencies at this point: |
540 |
+We suggest using either <c>vanilla-sources</c> or <c>gentoo-sources</c> on PPC, |
541 |
+which are both 2.6 kernels. The latter is available when you perform a |
542 |
+networkless installation. So let's continue with <c>emerge</c>'ing the kernel |
543 |
+sources. The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or |
544 |
+other dependencies at this point. <c>USE="symlink"</c> is not necessary for a |
545 |
+new install, but ensures proper creation of the <path>/usr/src/linux</path> |
546 |
+symlink. |
547 |
</p> |
548 |
|
549 |
<pre caption="Installing the kernel source"> |
550 |
-# <i>USE="-doc" emerge gentoo-sources</i> |
551 |
+# <i>USE="-doc symlink" emerge gentoo-sources</i> |
552 |
</pre> |
553 |
|
554 |
+<!-- Removed, as we're trying to avoid specific kernel versions to improve HB |
555 |
+maintainability |
556 |
<note> |
557 |
-The suggested sources at the time of the 2005.1 release are |
558 |
+The suggested sources at the time of the 2005.1 release are |
559 |
<c>gentoo-sources-2.6.12-r4</c> and <c>vanilla-sources-2.6.12.2</c>. |
560 |
-</note> |
561 |
+</note> |
562 |
+--> |
563 |
|
564 |
<p> |
565 |
If you take a look in <path>/usr/src</path> you should see a symlink named |
566 |
-<path>linux</path> pointing to your current kernel source. Here, we will assume |
567 |
-that the kernel source installed is <c>gentoo-sources-2.6.12-r4</c>: |
568 |
+<path>linux</path> pointing to your current kernel source. In this case, the |
569 |
+installed kernel source points to <c>gentoo-sources-2.6.12-r4</c>. Your version |
570 |
+may be different, so keep this in mind. |
571 |
</p> |
572 |
|
573 |
<pre caption="Viewing the kernel source symlink"> |
574 |
@@ -75,18 +80,6 @@ |
575 |
</pre> |
576 |
|
577 |
<p> |
578 |
-If the symlink doesn't point to the kernel source of your choice (note that |
579 |
-<c>linux-2.6.12-gentoo-r4</c> is merely an example) you should change it to the |
580 |
-desired kernel sources: |
581 |
-</p> |
582 |
- |
583 |
-<pre caption="Changing the kernel source symlink"> |
584 |
-# <i>rm /usr/src/linux</i> |
585 |
-# <i>cd /usr/src</i> |
586 |
-# <i>ln -s linux-2.6.12-gentoo-r4 linux</i> |
587 |
-</pre> |
588 |
- |
589 |
-<p> |
590 |
It is now time to configure and compile your kernel source. You can use |
591 |
<c>genkernel</c> to build a generic kernel similar to the one used by the |
592 |
Installation CD, or you can perform a manual configuration to best suit your |
593 |
@@ -172,14 +165,13 @@ |
594 |
Now go to <c>File Systems</c> and select support for the filesystems you use. |
595 |
<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be |
596 |
able to mount your partitions. Also select <c>/proc file system</c> and |
597 |
-<c>Virtual memory</c>. Do <e>not</e> select the <c>/dev file system</c>. |
598 |
+<c>Virtual memory</c>. |
599 |
</p> |
600 |
|
601 |
<pre caption="Selecting necessary file systems"> |
602 |
File systems ---> |
603 |
Pseudo Filesystems ---> |
604 |
[*] /proc file system support |
605 |
- [ ] /dev file system support (OBSOLETE) |
606 |
[*] Virtual memory file system support (former shm fs) |
607 |
|
608 |
<comment>(Select one or more of the following options as needed by your system)</comment> |
609 |
@@ -315,18 +307,9 @@ |
610 |
</p> |
611 |
|
612 |
<pre caption="Installing the kernel"> |
613 |
-<comment>replace 2.6.12 with your kernel-version</comment> |
614 |
-(Apple/IBM) # <i>cp vmlinux /boot/kernel-2.6.12</i> |
615 |
-(Pegasos) # <i>cp arch/ppc/boot/images/zImage.chrp /boot/kernel-2.6.12</i> |
616 |
-</pre> |
617 |
- |
618 |
-<p> |
619 |
-It is also wise to copy over your kernel configuration file to |
620 |
-<path>/boot</path>, just in case :) |
621 |
-</p> |
622 |
- |
623 |
-<pre caption="Backing up your kernel configuration"> |
624 |
-# <i>cp .config /boot/config-2.6.12-gentoo-r4</i> |
625 |
+<comment>replace <kernel-version> with your kernel version</comment> |
626 |
+(Apple/IBM) # <i>cp vmlinux /boot/<kernel-version></i> |
627 |
+(Pegasos) # <i>cp arch/ppc/boot/images/zImage.chrp /boot/<kernel-version></i> |
628 |
</pre> |
629 |
|
630 |
<p> |
631 |
|
632 |
|
633 |
|
634 |
1.22 +19 -39 xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml |
635 |
|
636 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml?rev=1.22&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
637 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml?rev=1.22&content-type=text/plain&cvsroot=gentoo |
638 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml.diff?r1=1.21&r2=1.22&cvsroot=gentoo |
639 |
|
640 |
Index: hb-install-ppc64-kernel.xml |
641 |
=================================================================== |
642 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml,v |
643 |
retrieving revision 1.21 |
644 |
retrieving revision 1.22 |
645 |
diff -u -r1.21 -r1.22 |
646 |
--- hb-install-ppc64-kernel.xml 24 Nov 2005 17:26:10 -0000 1.21 |
647 |
+++ hb-install-ppc64-kernel.xml 8 Jan 2006 14:05:29 -0000 1.22 |
648 |
@@ -4,12 +4,12 @@ |
649 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
650 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
651 |
|
652 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml,v 1.21 2005/11/24 17:26:10 neysx Exp $ --> |
653 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-kernel.xml,v 1.22 2006/01/08 14:05:29 neysx Exp $ --> |
654 |
|
655 |
<sections> |
656 |
|
657 |
-<version>2.9</version> |
658 |
-<date>2005-11-24</date> |
659 |
+<version>2.10</version> |
660 |
+<date>2006-01-06</date> |
661 |
|
662 |
<section> |
663 |
<title>Timezone</title> |
664 |
@@ -47,18 +47,21 @@ |
665 |
|
666 |
<p> |
667 |
For PPC64 you should use <c>gentoo-sources</c>. So let's continue with |
668 |
-<c>emerge</c>'ing the kernel sources. |
669 |
-The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
670 |
-dependencies at this point: |
671 |
+<c>emerge</c>'ing the kernel sources. The <c>USE="-doc"</c> is necessary to |
672 |
+avoid installing xorg-x11 or other dependencies at this point. |
673 |
+<c>USE="symlink"</c> is not necessary for a new install, but ensures proper |
674 |
+creation of the <path>/usr/src/linux</path> symlink. |
675 |
</p> |
676 |
|
677 |
<pre caption="Installing a kernel source"> |
678 |
-# <i>USE="-doc" emerge gentoo-sources</i> |
679 |
+# <i>USE="-doc symlink" emerge gentoo-sources</i> |
680 |
</pre> |
681 |
|
682 |
<p> |
683 |
-When you take a look in <path>/usr/src</path> you should see a symlink |
684 |
-called <path>linux</path> pointing to your kernel source: |
685 |
+When you take a look in <path>/usr/src</path> you should see a symlink called |
686 |
+<path>linux</path> pointing to your kernel source. In this case, the installed |
687 |
+kernel source points to <c>gentoo-sources-2.6.12-r10</c>. Your version may be |
688 |
+different, so keep this in mind. |
689 |
</p> |
690 |
|
691 |
<pre caption="Viewing the kernel source symlink"> |
692 |
@@ -67,17 +70,6 @@ |
693 |
</pre> |
694 |
|
695 |
<p> |
696 |
-If this isn't the case (i.e. the symlink points to a different kernel |
697 |
-source) change the symlink before you continue: |
698 |
-</p> |
699 |
- |
700 |
-<pre caption="Changing the kernel source symlink"> |
701 |
-# <i>rm /usr/src/linux</i> |
702 |
-# <i>cd /usr/src</i> |
703 |
-# <i>ln -s linux-2.6.12-gentoo-r10 linux</i> |
704 |
-</pre> |
705 |
- |
706 |
-<p> |
707 |
Now it is time to configure and compile your kernel source. There is the |
708 |
ability to use "genkernel" which would create a generic kernel like the |
709 |
ones used on the installation CDs, but it is not fully functional for PPC64 at |
710 |
@@ -151,20 +143,16 @@ |
711 |
</pre> |
712 |
|
713 |
<p> |
714 |
-Now go to <c>File Systems</c> and select support for the filesystems you |
715 |
-use. <e>Don't</e> compile them as modules, otherwise your Gentoo system |
716 |
-will not be able to mount your partitions. Also select <c>Virtual |
717 |
-memory</c>, <c>/proc file system</c>, <c>/dev file system</c> + |
718 |
-<c>Automatically mount at boot</c> and <c>/dev/pts file system for |
719 |
-Unix98 PTYs</c>: |
720 |
+Now go to <c>File Systems</c> and select support for the filesystems you use. |
721 |
+<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be |
722 |
+able to mount your partitions. Also select <c>Virtual memory</c>, <c>/proc file |
723 |
+system</c>, and <c>/dev/pts file system for Unix98 PTYs</c>: |
724 |
</p> |
725 |
|
726 |
<pre caption="Selecting necessary file systems"> |
727 |
File systems ---> |
728 |
[*] Virtual memory file system support (former shm fs) |
729 |
[*] /proc file system support |
730 |
- [*] /dev file system support (EXPERIMENTAL) |
731 |
- [*] Automatically mount at boot |
732 |
[*] /dev/pts file system for Unix98 PTYs |
733 |
|
734 |
<comment>(Select one or more of the following options as needed by your system)</comment> |
735 |
@@ -236,20 +224,12 @@ |
736 |
|
737 |
<p> |
738 |
When the kernel has finished compiling, copy the kernel image to |
739 |
-<path>/boot</path>. |
740 |
+<path>/boot</path>. Remember to replace <path><kernel-version<</path> |
741 |
+with your actual kernel version: |
742 |
</p> |
743 |
|
744 |
<pre caption="Installing the kernel"> |
745 |
-(Apple/IBM) # <i>cp vmlinux /boot/kernel-2.6.12-gentoo-r10</i> |
746 |
-</pre> |
747 |
- |
748 |
-<p> |
749 |
-It is also wise to copy over your kernel configuration file to |
750 |
-<path>/boot</path>, just in case :) |
751 |
-</p> |
752 |
- |
753 |
-<pre caption="Backing up your kernel configuration"> |
754 |
-# <i>cp .config /boot/config-2.6.12-gentoo-r10</i> |
755 |
+(Apple/IBM) # <i>cp vmlinux /boot/<kernel-version></i> |
756 |
</pre> |
757 |
|
758 |
<p> |
759 |
|
760 |
|
761 |
|
762 |
1.22 +21 -38 xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml |
763 |
|
764 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.22&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
765 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.22&content-type=text/plain&cvsroot=gentoo |
766 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml.diff?r1=1.21&r2=1.22&cvsroot=gentoo |
767 |
|
768 |
Index: hb-install-sparc-kernel.xml |
769 |
=================================================================== |
770 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v |
771 |
retrieving revision 1.21 |
772 |
retrieving revision 1.22 |
773 |
diff -u -r1.21 -r1.22 |
774 |
--- hb-install-sparc-kernel.xml 24 Nov 2005 17:26:10 -0000 1.21 |
775 |
+++ hb-install-sparc-kernel.xml 8 Jan 2006 14:05:29 -0000 1.22 |
776 |
@@ -4,12 +4,12 @@ |
777 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
778 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
779 |
|
780 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.21 2005/11/24 17:26:10 neysx Exp $ --> |
781 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.22 2006/01/08 14:05:29 neysx Exp $ --> |
782 |
|
783 |
<sections> |
784 |
|
785 |
-<version>2.6</version> |
786 |
-<date>2005-11-24</date> |
787 |
+<version>2.7</version> |
788 |
+<date>2006-01-06</date> |
789 |
|
790 |
<section> |
791 |
<title>Timezone</title> |
792 |
@@ -56,19 +56,22 @@ |
793 |
</p> |
794 |
|
795 |
<p> |
796 |
-In the next example we install the <c>sparc-sources</c>. |
797 |
-Of course substitute with your choice of sources, this is merely an example. |
798 |
-The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
799 |
-dependencies at this point: |
800 |
+In the next example we install the <c>sparc-sources</c>. Of course substitute |
801 |
+with your choice of sources, this is merely an example. The <c>USE="-doc"</c> |
802 |
+is necessary to avoid installing xorg-x11 or other dependencies at this point. |
803 |
+<c>USE="symlink"</c> is not necessary for a new install, but ensures proper |
804 |
+creation of the <path>/usr/src/linux</path> symlink. |
805 |
</p> |
806 |
|
807 |
<pre caption="Installing a kernel source"> |
808 |
-# <i>USE="-doc" emerge sparc-sources</i> |
809 |
+# <i>USE="-doc symlink" emerge sparc-sources</i> |
810 |
</pre> |
811 |
|
812 |
<p> |
813 |
When you take a look in <path>/usr/src</path> you should see a symlink called |
814 |
-<path>linux</path> pointing to your kernel source: |
815 |
+<path>linux</path> pointing to your kernel source. In this case, the installed |
816 |
+kernel source points to <c>sparc-sources-2.4.31</c>. Your version may be |
817 |
+different, so keep this in mind. |
818 |
</p> |
819 |
|
820 |
<pre caption="Viewing the kernel source symlink"> |
821 |
@@ -77,17 +80,6 @@ |
822 |
</pre> |
823 |
|
824 |
<p> |
825 |
-If this isn't the case (i.e. the symlink points to a different kernel source) |
826 |
-change the symlink before you continue: |
827 |
-</p> |
828 |
- |
829 |
-<pre caption="Changing the kernel source symlink"> |
830 |
-# <i>rm /usr/src/linux</i> |
831 |
-# <i>cd /usr/src</i> |
832 |
-# <i>ln -s linux-2.4.31-sparc linux</i> |
833 |
-</pre> |
834 |
- |
835 |
-<p> |
836 |
Now it is time to configure and compile your kernel source. |
837 |
</p> |
838 |
|
839 |
@@ -153,8 +145,9 @@ |
840 |
<p> |
841 |
Now go to <c>File Systems</c> and select support for the filesystems you use. |
842 |
<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be |
843 |
-able to mount your partitions. Also select <c>Virtual memory</c>, <c>/proc |
844 |
-file system</c>, <c>/dev file system</c> + <c>Automatically mount at boot</c>: |
845 |
+able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc |
846 |
+file system</c>. If you are running a 2.4 kernel, you should also select |
847 |
+<c>/dev file system</c> + <c>Automatically mount at boot</c>: |
848 |
</p> |
849 |
|
850 |
<pre caption="Selecting necessary file systems"> |
851 |
@@ -170,8 +163,6 @@ |
852 |
File systems ---> |
853 |
Pseudo Filesystems ---> |
854 |
[*] /proc file system support |
855 |
- [*] /dev file system support (OBSOLETE) |
856 |
- [*] Automatically mount at boot |
857 |
[*] Virtual memory file system support (former shm fs) |
858 |
|
859 |
<comment>(Select one or more of the following options as needed by your system)</comment> |
860 |
@@ -324,30 +315,22 @@ |
861 |
|
862 |
<p> |
863 |
When the kernel has finished compiling, copy the kernel image to |
864 |
-<path>/boot</path>. |
865 |
+<path>/boot</path>. Remember to replace <path><kernel-version></path> |
866 |
+with your actual kernel version. |
867 |
</p> |
868 |
|
869 |
<pre caption="Installing the kernel"> |
870 |
<comment>(For 2.4 kernel, sparc32)</comment> |
871 |
-# <i>cp vmlinux /boot/kernel-2.4.29</i> |
872 |
+# <i>cp vmlinux /boot/<kernel-version></i> |
873 |
|
874 |
<comment>(For 2.4 kernel, sparc64)</comment> |
875 |
-# <i>cp arch/sparc64/boot/image /boot/kernel-2.4.31</i> |
876 |
+# <i>cp arch/sparc64/boot/image /boot/<kernel-version></i> |
877 |
|
878 |
<comment>(For 2.6 kernel, sparc32)</comment> |
879 |
-# <i>cp arch/sparc/boot/image /boot/kernel-2.6.11</i> |
880 |
+# <i>cp arch/sparc/boot/image /boot/<kernel-version></i> |
881 |
|
882 |
<comment>(For 2.6 kernel, sparc64)</comment> |
883 |
-# <i>cp arch/sparc64/boot/image /boot/kernel-2.6.11</i> |
884 |
-</pre> |
885 |
- |
886 |
-<p> |
887 |
-It is also wise to copy over your kernel configuration file to |
888 |
-<path>/boot</path>, just in case :) |
889 |
-</p> |
890 |
- |
891 |
-<pre caption="Backing up your kernel configuration"> |
892 |
-# <i>cp .config /boot/config-2.4.31</i> |
893 |
+# <i>cp arch/sparc64/boot/image /boot/<kernel-version></i> |
894 |
</pre> |
895 |
|
896 |
<p> |
897 |
|
898 |
|
899 |
|
900 |
1.60 +19 -40 xml/htdocs/doc/en/handbook/hb-install-x86-kernel.xml |
901 |
|
902 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-kernel.xml?rev=1.60&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
903 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-kernel.xml?rev=1.60&content-type=text/plain&cvsroot=gentoo |
904 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-kernel.xml.diff?r1=1.59&r2=1.60&cvsroot=gentoo |
905 |
|
906 |
Index: hb-install-x86-kernel.xml |
907 |
=================================================================== |
908 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-kernel.xml,v |
909 |
retrieving revision 1.59 |
910 |
retrieving revision 1.60 |
911 |
diff -u -r1.59 -r1.60 |
912 |
--- hb-install-x86-kernel.xml 12 Dec 2005 15:53:35 -0000 1.59 |
913 |
+++ hb-install-x86-kernel.xml 8 Jan 2006 14:05:29 -0000 1.60 |
914 |
@@ -4,12 +4,12 @@ |
915 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
916 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
917 |
|
918 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-kernel.xml,v 1.59 2005/12/12 15:53:35 neysx Exp $ --> |
919 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-kernel.xml,v 1.60 2006/01/08 14:05:29 neysx Exp $ --> |
920 |
|
921 |
<sections> |
922 |
|
923 |
-<version>3.10</version> |
924 |
-<date>2005-12-12</date> |
925 |
+<version>3.11</version> |
926 |
+<date>2006-01-06</date> |
927 |
|
928 |
<section> |
929 |
<title>Timezone</title> |
930 |
@@ -53,19 +53,22 @@ |
931 |
</p> |
932 |
|
933 |
<p> |
934 |
-Choose your kernel source and install it using <c>emerge</c>. |
935 |
-The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
936 |
-dependencies at this point: |
937 |
+Choose your kernel source and install it using <c>emerge</c>. The |
938 |
+<c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other |
939 |
+dependencies at this point. <c>USE="symlink"</c> is not necessary for a new |
940 |
+install, but ensures proper creation of the <path>/usr/src/linux</path> |
941 |
+symlink. |
942 |
</p> |
943 |
|
944 |
<pre caption="Installing a kernel source"> |
945 |
-# <i>USE="-doc" emerge gentoo-sources</i> |
946 |
+# <i>USE="-doc symlink" emerge gentoo-sources</i> |
947 |
</pre> |
948 |
|
949 |
<p> |
950 |
When you take a look in <path>/usr/src</path> you should see a symlink called |
951 |
-<path>linux</path> pointing to your kernel source. We will assume the kernel |
952 |
-source installed is <c>gentoo-sources-2.6.12-r10</c>: |
953 |
+<path>linux</path> pointing to your kernel source. In this case, the installed |
954 |
+kernel source points to <c>gentoo-sources-2.6.12-r10</c>. Your version may be |
955 |
+different, so keep this in mind. |
956 |
</p> |
957 |
|
958 |
<pre caption="Viewing the kernel source symlink"> |
959 |
@@ -74,18 +77,6 @@ |
960 |
</pre> |
961 |
|
962 |
<p> |
963 |
-If the symlink doesn't point to the kernel source of your choice (note that |
964 |
-<c>linux-2.6.12-gentoo-r10</c> is merely an example) you should change it to the |
965 |
-right kernel: |
966 |
-</p> |
967 |
- |
968 |
-<pre caption="Changing the kernel source symlink"> |
969 |
-# <i>rm /usr/src/linux</i> |
970 |
-# <i>cd /usr/src</i> |
971 |
-# <i>ln -s linux-2.6.12-gentoo-r10 linux</i> |
972 |
-</pre> |
973 |
- |
974 |
-<p> |
975 |
Now it is time to configure and compile your kernel source. You |
976 |
can use <c>genkernel</c> for this, which will build a generic kernel as used |
977 |
by the Installation CD. We explain the "manual" configuration first though, as |
978 |
@@ -180,10 +171,8 @@ |
979 |
Now go to <c>File Systems</c> and select support for the filesystems you use. |
980 |
<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be |
981 |
able to mount your partitions. Also select <c>Virtual memory</c> and <c>/proc |
982 |
-file system</c>. If you are using a 2.6 kernel (default), do <e>not</e> select |
983 |
-the <c>/dev file system</c>, Gentoo/x86 uses <c>udev</c> by default now. If you |
984 |
-are using a 2.4 kernel, you still need to select <c>/dev file system</c> though |
985 |
-as 2.4 kernels do not support <c>udev</c>. |
986 |
+file system</c>. If you are using a 2.4 kernel, you need to select <c>/dev file |
987 |
+system</c> as 2.4 kernels do not support <c>udev</c>. |
988 |
</p> |
989 |
|
990 |
<pre caption="Selecting necessary file systems"> |
991 |
@@ -199,7 +188,6 @@ |
992 |
File systems ---> |
993 |
Pseudo Filesystems ---> |
994 |
[*] /proc file system support |
995 |
- [ ] /dev file system support (OBSOLETE) |
996 |
[*] Virtual memory file system support (former shm fs) |
997 |
|
998 |
<comment>(Select one or more of the following options as needed by your system)</comment> |
999 |
@@ -341,23 +329,14 @@ |
1000 |
|
1001 |
<p> |
1002 |
When the kernel has finished compiling, copy the kernel image to |
1003 |
-<path>/boot</path>. From here onwards we assume that the kernel you are |
1004 |
-installing is the 2.6.12-r10 version of the <c>gentoo-sources</c>. Use whatever |
1005 |
-name you feel is appropriate for your choice and remember it as you will need it |
1006 |
-later on when you configure your bootloader. |
1007 |
+<path>/boot</path>. Use whatever name you feel is appropriate for your kernel |
1008 |
+choice and remember it as you will need it later on when you configure your |
1009 |
+bootloader. Remember to replace <path><kernel-version></path> with the name and |
1010 |
+version of your kernel. |
1011 |
</p> |
1012 |
|
1013 |
<pre caption="Installing the kernel"> |
1014 |
-# <i>cp arch/i386/boot/bzImage /boot/kernel-2.6.12-gentoo-r10</i> |
1015 |
-</pre> |
1016 |
- |
1017 |
-<p> |
1018 |
-It is also wise to copy over your kernel configuration file to |
1019 |
-<path>/boot</path>, just in case :) |
1020 |
-</p> |
1021 |
- |
1022 |
-<pre caption="Backing up your kernel configuration"> |
1023 |
-# <i>cp .config /boot/config-2.6.12-gentoo-r10</i> |
1024 |
+# <i>cp arch/i386/boot/bzImage /boot/<kernel-version></i> |
1025 |
</pre> |
1026 |
|
1027 |
<p> |
1028 |
|
1029 |
|
1030 |
|
1031 |
-- |
1032 |
gentoo-doc-cvs@g.o mailing list |