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

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

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

Revision 1.21 Revision 1.22
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-ppc64-kernel.xml,v 1.21 2005/11/24 17:26:10 neysx Exp $ --> 7<!-- $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 $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.9</version> 11<version>2.10</version>
12<date>2005-11-24</date> 12<date>2006-01-06</date>
13 13
14<section> 14<section>
15<title>Timezone</title> 15<title>Timezone</title>
16<body> 16<body>
17 17
45link="/doc/en/gentoo-kernel.xml">Gentoo Kernel Guide</uri>. 45link="/doc/en/gentoo-kernel.xml">Gentoo Kernel Guide</uri>.
46</p> 46</p>
47 47
48<p> 48<p>
49For PPC64 you should use <c>gentoo-sources</c>. So let's continue with 49For PPC64 you should use <c>gentoo-sources</c>. So let's continue with
50<c>emerge</c>'ing the kernel sources. 50<c>emerge</c>'ing the kernel sources. The <c>USE="-doc"</c> is necessary to
51The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other 51avoid installing xorg-x11 or other dependencies at this point.
52dependencies at this point: 52<c>USE="symlink"</c> is not necessary for a new install, but ensures proper
53creation of the <path>/usr/src/linux</path> symlink.
53</p> 54</p>
54 55
55<pre caption="Installing a kernel source"> 56<pre caption="Installing a kernel source">
56# <i>USE="-doc" emerge gentoo-sources</i> 57# <i>USE="-doc symlink" emerge gentoo-sources</i>
57</pre> 58</pre>
58 59
59<p> 60<p>
60When you take a look in <path>/usr/src</path> you should see a symlink 61When you take a look in <path>/usr/src</path> you should see a symlink called
61called <path>linux</path> pointing to your kernel source: 62<path>linux</path> pointing to your kernel source. In this case, the installed
63kernel source points to <c>gentoo-sources-2.6.12-r10</c>. Your version may be
64different, so keep this in mind.
62</p> 65</p>
63 66
64<pre caption="Viewing the kernel source symlink"> 67<pre caption="Viewing the kernel source symlink">
65# <i>ls -l /usr/src/linux</i> 68# <i>ls -l /usr/src/linux</i>
66lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.6.12-gentoo-r10 69lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.6.12-gentoo-r10
67</pre>
68
69<p>
70If this isn't the case (i.e. the symlink points to a different kernel
71source) change the symlink before you continue:
72</p>
73
74<pre caption="Changing the kernel source symlink">
75# <i>rm /usr/src/linux</i>
76# <i>cd /usr/src</i>
77# <i>ln -s linux-2.6.12-gentoo-r10 linux</i>
78</pre> 70</pre>
79 71
80<p> 72<p>
81Now it is time to configure and compile your kernel source. There is the 73Now it is time to configure and compile your kernel source. There is the
82ability to use "genkernel" which would create a generic kernel like the 74ability to use "genkernel" which would create a generic kernel like the
149General setup ---> 141General setup --->
150 [*] Support for hot-pluggable devices 142 [*] Support for hot-pluggable devices
151</pre> 143</pre>
152 144
153<p> 145<p>
154Now go to <c>File Systems</c> and select support for the filesystems you 146Now go to <c>File Systems</c> and select support for the filesystems you use.
155use. <e>Don't</e> compile them as modules, otherwise your Gentoo system 147<e>Don't</e> compile them as modules, otherwise your Gentoo system will not be
156will not be able to mount your partitions. Also select <c>Virtual 148able to mount your partitions. Also select <c>Virtual memory</c>, <c>/proc file
157memory</c>, <c>/proc file system</c>, <c>/dev file system</c> + 149system</c>, and <c>/dev/pts file system for Unix98 PTYs</c>:
158<c>Automatically mount at boot</c> and <c>/dev/pts file system for
159Unix98 PTYs</c>:
160</p> 150</p>
161 151
162<pre caption="Selecting necessary file systems"> 152<pre caption="Selecting necessary file systems">
163File systems ---&gt; 153File systems ---&gt;
164 [*] Virtual memory file system support (former shm fs) 154 [*] Virtual memory file system support (former shm fs)
165 [*] /proc file system support 155 [*] /proc file system support
166 [*] /dev file system support (EXPERIMENTAL)
167 [*] Automatically mount at boot
168 [*] /dev/pts file system for Unix98 PTYs 156 [*] /dev/pts file system for Unix98 PTYs
169 157
170<comment>(Select one or more of the following options as needed by your system)</comment> 158<comment>(Select one or more of the following options as needed by your system)</comment>
171 &lt;*&gt; Reiserfs support 159 &lt;*&gt; Reiserfs support
172 &lt;*&gt; Ext3 journalling file system support 160 &lt;*&gt; Ext3 journalling file system support
234(Apple/IBM) # <i>make &amp;&amp; make modules_install</i> 222(Apple/IBM) # <i>make &amp;&amp; make modules_install</i>
235</pre> 223</pre>
236 224
237<p> 225<p>
238When the kernel has finished compiling, copy the kernel image to 226When the kernel has finished compiling, copy the kernel image to
239<path>/boot</path>. 227<path>/boot</path>. Remember to replace <path>&lt;kernel-version&lt;</path>
228with your actual kernel version:
240</p> 229</p>
241 230
242<pre caption="Installing the kernel"> 231<pre caption="Installing the kernel">
243(Apple/IBM) # <i>cp vmlinux /boot/kernel-2.6.12-gentoo-r10</i> 232(Apple/IBM) # <i>cp vmlinux /boot/&lt;kernel-version&gt;</i>
244</pre>
245
246<p>
247It is also wise to copy over your kernel configuration file to
248<path>/boot</path>, just in case :)
249</p>
250
251<pre caption="Backing up your kernel configuration">
252# <i>cp .config /boot/config-2.6.12-gentoo-r10</i>
253</pre> 233</pre>
254 234
255<p> 235<p>
256Now continue with <uri link="#kernel_modules">Configuring the Modules</uri>. 236Now continue with <uri link="#kernel_modules">Configuring the Modules</uri>.
257</p> 237</p>

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20