/[gentoo]/xml/htdocs/doc/en/kernel-upgrade.xml
Gentoo

Diff of /xml/htdocs/doc/en/kernel-upgrade.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.15 2006/05/04 16:49:14 fox2mike Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.16 2006/07/23 12:27:14 neysx Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5<guide link="/doc/en/kernel-upgrade.xml"> 5<guide link="/doc/en/kernel-upgrade.xml">
6<title>Gentoo Linux Kernel Upgrade Guide</title> 6<title>Gentoo Linux Kernel Upgrade Guide</title>
7<author title="Author"> 7<author title="Author">
15 15
16<!-- The content of this document is licensed under the CC-BY-SA license --> 16<!-- The content of this document is licensed under the CC-BY-SA license -->
17<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 17<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
18<license/> 18<license/>
19 19
20<version>0.4</version> 20<version>0.5</version>
21<date>2006-05-04</date> 21<date>2006-07-23</date>
22 22
23<chapter> 23<chapter>
24<title>Introduction</title> 24<title>Introduction</title>
25<section> 25<section>
26<body> 26<body>
169<section> 169<section>
170<body> 170<body>
171 171
172<p> 172<p>
173For either of these options, you should refer to the instructions given in the 173For either of these options, you should refer to the instructions given in the
174<uri link="/doc/en/handbook/index.xml">Gentoo 174<uri link="/doc/en/handbook/">Gentoo Handbook</uri> relating to <e>Configuring
175Handbook</uri> relating to <e>Configuring the Kernel</e> and <e>Configuring 175the Kernel</e> and <e>Configuring the Bootloader</e>. Below is an outline of
176the Bootloader</e>. Below is an outline of the required actions: 176the required actions:
177</p> 177</p>
178 178
179</body> 179</body>
180</section> 180</section>
181<section> 181<section>
190<p> 190<p>
191Simply run genkernel in the normal way: 191Simply run genkernel in the normal way:
192</p> 192</p>
193 193
194<pre caption="Invoking genkernel"> 194<pre caption="Invoking genkernel">
195<comment>(For 2.4 kernels:)</comment>
196# <i>genkernel all</i> 195# <i>genkernel all</i>
197
198<comment>(For 2.6 kernels:)</comment>
199# <i>genkernel --udev all</i>
200</pre> 196</pre>
201 197
202<p> 198<p>
203You can also use extra parameters for other genkernel functionality. For 199You can also use extra parameters for other genkernel functionality. For
204example, if you wish to configure some extra kernel options using 200example, if you wish to configure some extra kernel options using
205<c>menuconfig</c> and you wish genkernel to automatically update your grub 201<c>menuconfig</c> and you wish genkernel to automatically update your grub boot
206boot loader configuration, then invoke genkernel as follows: 202loader configuration, then invoke genkernel as follows:
207</p> 203</p>
208 204
209<pre caption="Invoking genkernel with some common arguments"> 205<pre caption="Invoking genkernel with some common arguments">
210# <i>genkernel --menuconfig --bootloader=grub all</i> 206# <i>genkernel --menuconfig --bootloader=grub all</i>
211</pre> 207</pre>
212 208
213<p> 209<p>
214For more info, follow the 210For more info, follow the <uri link="/doc/en/genkernel.xml">Gentoo Linux
215<uri link="/doc/en/genkernel.xml">Gentoo Linux Genkernel
216Guide</uri>, or refer to the <uri link="/doc/en/handbook/index.xml">Gentoo 211Genkernel Guide</uri>, or refer to the <uri link="/doc/en/handbook/">Gentoo
217Handbook</uri>. Many of the options can be set in the configuration file for 212Handbook</uri>. Many of the options can be set in the configuration file for
218<c>genkernel</c>, <path>/etc/genkernel.conf</path>. 213<c>genkernel</c>, <path>/etc/genkernel.conf</path>.
219</p> 214</p>
220 215
221</body> 216</body>
418resulting in the user running into problems because they disabled options that 413resulting in the user running into problems because they disabled options that
419they really didn't want to. 414they really didn't want to.
420</p> 415</p>
421 416
422<p> 417<p>
423To reuse your old <path>.config</path>, you simply need to copy it over and then 418To reuse your old <path>.config</path>, you simply need to copy it over and
424run <c>make oldconfig</c>. In the following example, we take the configuration 419then run <c>make oldconfig</c>. In the following example, we take the
425from <c>gentoo-sources-2.6.9-r1</c> and import it into 420configuration from <c>gentoo-sources-2.6.9-r1</c> and import it into
426<c>gentoo-sources-2.6.9-r2</c>. 421<c>gentoo-sources-2.6.9-r2</c>.
427</p> 422</p>
428 423
429<pre caption="Reusing your old config"> 424<pre caption="Reusing your old config">
430# <i>cd /usr/src/linux-2.6.9-gentoo-r2</i> 425# <i>cd /usr/src/linux-2.6.9-gentoo-r2</i>
431# <i>cp ../linux-2.6.9-gentoo-r1/.config .</i> 426# <i>cp ../linux-2.6.9-gentoo-r1/.config .</i>
432# <i>make oldconfig</i> 427# <i>make oldconfig</i>
428</pre>
429
430<pre caption="Reusing your old config with genkernel">
431# <i>cd /etc/kernels</i>
432# <i>cp kernel-config-x86-2.6.9-gentoo-r1 kernel-config-x86-2.6.9-gentoo-r2</i>
433# <i>genkernel all</i>
433</pre> 434</pre>
434 435
435<p> 436<p>
436At this point, you may be asked to produce answers for configuration options 437At this point, you may be asked to produce answers for configuration options
437which have changed between the two versions. Once you have done that, you can 438which have changed between the two versions. Once you have done that, you can

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20