/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml

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

Revision 1.63 Revision 1.64
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-ppc-kernel.xml,v 1.63 2010/08/01 18:18:46 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.64 2010/09/05 01:57:09 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12The Linux kernel is the core of every distribution. This chapter 12The Linux kernel is the core of every distribution. This chapter
13explains how to configure your kernel. 13explains how to configure your kernel.
14</abstract> 14</abstract>
15 15
16<version>10.2</version> 16<version>10.3</version>
17<date>2010-08-01</date> 17<date>2010-09-04</date>
18 18
19<section> 19<section>
20<title>Timezone</title> 20<title>Timezone</title>
21<body> 21<body>
22 22
353Next, copy over the kernel configuration used by the Installation CD to the 353Next, copy over the kernel configuration used by the Installation CD to the
354location where genkernel looks for the default kernel configuration: 354location where genkernel looks for the default kernel configuration:
355</p> 355</p>
356 356
357<pre caption="Copying over the Installation CD kernel config"> 357<pre caption="Copying over the Installation CD kernel config">
358# <i>zcat /proc/config.gz > /usr/share/genkernel/ppc/kernel-config-2.6</i> 358# <i>zcat /proc/config.gz > /usr/share/genkernel/arch/ppc/kernel-config</i>
359</pre> 359</pre>
360 360
361<p> 361<p>
362If you are using FireWire or USB to boot, you'll need to add modules to the 362If you are using FireWire or USB to boot, you'll need to add modules to the
363initrd. Edit <path>/usr/share/genkernel/ppc/modules_load</path> and change 363initrd. Edit <path>/usr/share/genkernel/arch/ppc/modules_load</path> and change
364<c>MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"</c> for FireWire support or 364<c>MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"</c> for FireWire support or
365<c>MODULES_USB="usbcore ohci-hcd ehci-hcd usb-storage"</c> for USB support. 365<c>MODULES_USB="usbcore ohci-hcd ehci-hcd usb-storage"</c> for USB support.
366</p> 366</p>
367 367
368<p> 368<p>
399<pre caption="Running genkernel"> 399<pre caption="Running genkernel">
400# <i>genkernel all</i> 400# <i>genkernel all</i>
401</pre> 401</pre>
402 402
403<pre caption="Running genkernel on the Pegasos"> 403<pre caption="Running genkernel on the Pegasos">
404# <i>genkernel --genzimage --kernel-config=/usr/share/genkernel/ppc/Pegasos all</i> 404# <i>genkernel --genzimage all</i>
405</pre> 405</pre>
406 406
407<p> 407<p>
408Once <c>genkernel</c> completes, a kernel, full set of modules and 408Once <c>genkernel</c> completes, a kernel, full set of modules and
409<e>initial root disk</e> (initrd) will be created. We will use the kernel 409<e>initial root disk</e> (initrd) will be created. We will use the kernel

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.64

  ViewVC Help
Powered by ViewVC 1.1.20