| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.39 2011/08/22 17:28:40 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.40 2011/09/02 19:39:44 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <abstract> |
11 | <abstract> |
| 12 | The Linux kernel is the core of every distribution. This chapter |
12 | The Linux kernel is the core of every distribution. This chapter |
| 13 | explains how to configure your kernel. |
13 | explains how to configure your kernel. |
| 14 | </abstract> |
14 | </abstract> |
| 15 | |
15 | |
| 16 | <version>10</version> |
16 | <version>11</version> |
| 17 | <date>2011-08-22</date> |
17 | <date>2011-09-02</date> |
| 18 | |
18 | |
| 19 | <section> |
19 | <section> |
| 20 | <title>Timezone</title> |
20 | <title>Timezone</title> |
| 21 | <body> |
21 | <body> |
| 22 | |
22 | |
| … | |
… | |
| 372 | <pre caption="Emerging genkernel"> |
372 | <pre caption="Emerging genkernel"> |
| 373 | # <i>emerge genkernel</i> |
373 | # <i>emerge genkernel</i> |
| 374 | </pre> |
374 | </pre> |
| 375 | |
375 | |
| 376 | <p> |
376 | <p> |
| 377 | Next, copy over the kernel configuration used by the Installation CD to the |
|
|
| 378 | location where genkernel looks for the default kernel configuration: |
|
|
| 379 | </p> |
|
|
| 380 | |
|
|
| 381 | <pre test="func:keyval('arch')='x86'" caption="Copying over the Installation CD kernel config"> |
|
|
| 382 | # <i>zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config</i> |
|
|
| 383 | </pre> |
|
|
| 384 | |
|
|
| 385 | <pre test="func:keyval('arch')='AMD64'" caption="Copying over the Installation CD kernel config"> |
|
|
| 386 | # <i>zcat /proc/config.gz > /usr/share/genkernel/arch/x86_64/kernel-config</i> |
|
|
| 387 | </pre> |
|
|
| 388 | |
|
|
| 389 | <p> |
|
|
| 390 | Now, compile your kernel sources by running <c>genkernel all</c>. Be aware |
377 | Now, compile your kernel sources by running <c>genkernel all</c>. Be aware |
| 391 | though, as <c>genkernel</c> compiles a kernel that supports almost all |
378 | though, as <c>genkernel</c> compiles a kernel that supports almost all |
| 392 | hardware, this compilation will take quite a while to finish! |
379 | hardware, this compilation will take quite a while to finish! |
| 393 | </p> |
380 | </p> |
| 394 | |
381 | |