/[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.43 Revision 1.44
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.43 2006/09/05 16:56:57 josejx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-kernel.xml,v 1.44 2006/09/28 02:46:15 josejx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>7.1</version> 11<version>7.2</version>
12<date>2006-09-05</date> 12<date>2006-09-27</date>
13 13
14<section> 14<section>
15<title>Timezone</title> 15<title>Timezone</title>
16<body> 16<body>
17 17
385Now that your kernel source tree is installed, it's now time to compile your 385Now that your kernel source tree is installed, it's now time to compile your
386kernel by using our <c>genkernel</c> script to automatically build a kernel for 386kernel by using our <c>genkernel</c> script to automatically build a kernel for
387you. <c>genkernel</c> works by configuring a kernel nearly identically to the 387you. <c>genkernel</c> works by configuring a kernel nearly identically to the
388way our Installation CD kernel is configured. This means that when you use 388way our Installation CD kernel is configured. This means that when you use
389<c>genkernel</c> to build your kernel, your system will generally detect all 389<c>genkernel</c> to build your kernel, your system will generally detect all
390your hardware at boot-time, just like our Installation CD does. Because genkernel 390your hardware at boot-time, just like our Installation CD does. Because
391doesn't require any manual kernel configuration, it is an ideal solution for 391genkernel doesn't require any manual kernel configuration, it is an ideal
392those users who may not be comfortable compiling their own kernels. 392solution for those users who may not be comfortable compiling their own kernels.
393</p> 393</p>
394 394
395<p> 395<p>
396Now, let's see how to use genkernel. First, emerge the genkernel ebuild: 396Now, let's see how to use genkernel. First, emerge the genkernel ebuild:
397</p> 397</p>
414initrd. Edit <path>/usr/share/genkernel/ppc/modules_load</path> and change 414initrd. Edit <path>/usr/share/genkernel/ppc/modules_load</path> and change
415<c>MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"</c> for firewire support or 415<c>MODULES_FIREWIRE="ieee1394 ohci1394 sbp2"</c> for firewire support or
416<c>MODULES_USB="usbcore ohci-hcd ehci-hcd usb-storage"</c> for USB support. 416<c>MODULES_USB="usbcore ohci-hcd ehci-hcd usb-storage"</c> for USB support.
417</p> 417</p>
418 418
419<p>
420Before compiling your sources, the fstab needs a slight adjustment. The rest of
421the fstab will be completed during a later step, so don't worry about the
422details now. If you did not create a separate boot partition (NOT bootstrap,
423that's different), remove the line referencing /boot from
424<path>/etc/fstab</path>. This will need to be done on most Apple computers.
425</p>
426
427<pre caption="Removing /boot from /etc/fstab on machines without a boot partition">
428# <i>nano -w /etc/fstab</i>
429<comment>Remove this line</comment>
430/dev/BOOT /boot ext2 noauto,noatime 1 2
431</pre>
419 432
420<p> 433<p>
421Now, compile your kernel sources by running <c>genkernel --genzimage all</c>. 434Now, compile your kernel sources by running <c>genkernel --genzimage all</c>.
422For Pegasos, we will need to use a different config and create a zImage instead 435For Pegasos, we will need to use a different config and create a zImage instead
423of the vmlinux kernel used on Apple machines. Be aware, as <c>genkernel</c> 436of the vmlinux kernel used on Apple machines. Be aware, as <c>genkernel</c>

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.20