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

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

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

Revision 1.32 Revision 1.33
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-alpha-kernel.xml,v 1.32 2005/11/21 15:37:12 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v 1.33 2006/01/08 14:05:29 neysx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.10</version> 11<version>2.11</version>
12<date>2005-11-21</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
55 55
56<p> 56<p>
57In the next example we install the <c>vanilla-sources</c>. 57In the next example we install the <c>vanilla-sources</c>.
58Of course substitute with your choice of sources, this is merely an example. 58Of course substitute with your choice of sources, this is merely an example.
59The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other 59The <c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other
60dependencies at this point: 60dependencies at this point. <c>USE="symlink"</c> is not necessary for a new
61+install, but ensures proper creation of the <path>/usr/src/linux</path>
62+symlink.
61</p> 63</p>
62 64
63<pre caption="Installing a kernel source"> 65<pre caption="Installing a kernel source">
64# <i>USE="-doc" emerge vanilla-sources</i> 66# <i>USE="-doc symlink" emerge vanilla-sources</i>
65</pre> 67</pre>
66 68
67<p> 69<p>
68When you take a look in <path>/usr/src</path> you should see a symlink called 70When you take a look in <path>/usr/src</path> you should see a symlink called
69<path>linux</path> pointing to your kernel source: 71<path>linux</path> pointing to your kernel source. In this case, the installed
72kernel source points to <c>vanilla-sources-2.6.11.2</c>. Your version may be
73different, so keep this in mind.
70</p> 74</p>
71 75
72<pre caption="Viewing the kernel source symlink"> 76<pre caption="Viewing the kernel source symlink">
73# <i>ls -l /usr/src/linux</i> 77# <i>ls -l /usr/src/linux</i>
74lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.6.11.2 78lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -&gt; linux-2.6.11.2
75</pre>
76
77<p>
78If this isn't the case (i.e. the symlink points to a different kernel source)
79change the symlink before you continue:
80</p>
81
82<pre caption="Changing the kernel source symlink">
83# <i>rm /usr/src/linux</i>
84# <i>cd /usr/src</i>
85# <i>ln -s linux-2.6.11.2 linux</i>
86</pre> 79</pre>
87 80
88<p> 81<p>
89Now it is time to configure and compile your kernel source. You 82Now it is time to configure and compile your kernel source. You
90can use <c>genkernel</c> for this, which will build a generic kernel as used 83can use <c>genkernel</c> for this, which will build a generic kernel as used
180 173
181<comment>(With a 2.6.x kernel)</comment> 174<comment>(With a 2.6.x kernel)</comment>
182File systems ---&gt; 175File systems ---&gt;
183 Pseudo Filesystems ---&gt; 176 Pseudo Filesystems ---&gt;
184 [*] /proc file system support 177 [*] /proc file system support
185 [ ] /dev file system support (OBSOLETE)
186 [*] Virtual memory file system support (former shm fs) 178 [*] Virtual memory file system support (former shm fs)
187 179
188<comment>(Select one or more of the following options as needed by your system)</comment> 180<comment>(Select one or more of the following options as needed by your system)</comment>
189 &lt;*&gt; Reiserfs support 181 &lt;*&gt; Reiserfs support
190 &lt;*&gt; Ext3 journalling file system support 182 &lt;*&gt; Ext3 journalling file system support
309# <i>make boot</i> 301# <i>make boot</i>
310</pre> 302</pre>
311 303
312<p> 304<p>
313When the kernel has finished compiling, copy the kernel image to 305When the kernel has finished compiling, copy the kernel image to
314<path>/boot</path>. In the next example we assume you have configured and 306<path>/boot</path>. Recent kernels might create <path>vmlinux</path> instead of
315compiled <c>vanilla-sources-2.6.11.2</c>; recent kernels might create 307<path>vmlinux.gz</path>. Keep this in mind when you copy your kernel image.
316<path>vmlinux</path> instead of <path>vmlinux.gz</path>.
317</p> 308</p>
318 309
319<pre caption="Installing the kernel"> 310<pre caption="Installing the kernel">
320# <i>cp arch/alpha/boot/vmlinux.gz /boot/</i> 311# <i>cp arch/alpha/boot/vmlinux.gz /boot/</i>
321</pre>
322
323<p>
324It is also wise to copy over your kernel configuration file to
325<path>/boot</path>, just in case :)
326</p>
327
328<pre caption="Backing up your kernel configuration">
329# <i>cp .config /boot/config-2.6.11.2</i>
330</pre> 312</pre>
331 313
332<p> 314<p>
333Now continue with <uri link="#kernel_modules">Installing Separate Kernel 315Now continue with <uri link="#kernel_modules">Installing Separate Kernel
334Modules</uri>. 316Modules</uri>.

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.20