| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 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.49 2012/02/22 21:27:45 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v 1.51 2012/09/11 22:49:20 nightmorph Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>12</version> |
11 | <version>14</version> |
| 12 | <date>2012-02-22</date> |
12 | <date>2012-09-11</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Timezone</title> |
15 | <title>Timezone</title> |
| 16 | <body> |
16 | <body> |
| 17 | |
17 | |
| 18 | <p> |
18 | <p> |
| 19 | You first need to select your timezone so that your system knows where it is |
19 | You first need to select your timezone so that your system knows where it is |
| 20 | located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy |
20 | located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy |
| 21 | it to <path>/etc/localtime</path>. Please avoid the |
21 | it to <path>/etc/localtime</path>. Please avoid the |
| 22 | <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not |
22 | <path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not |
| 23 | indicate the expected zones. For instance, <path>GMT-8</path> is in fact |
23 | indicate the expected zones. For instance, <path>GMT-8</path> is in fact |
| 24 | GMT+8. |
24 | GMT+8. |
| 25 | </p> |
25 | </p> |
| 26 | |
26 | |
| 27 | <pre caption="Setting the timezone information"> |
27 | <pre caption="Setting the timezone information"> |
| … | |
… | |
| 148 | <comment>(Select one or more of the following options as needed by your system)</comment> |
148 | <comment>(Select one or more of the following options as needed by your system)</comment> |
| 149 | <*> Reiserfs support |
149 | <*> Reiserfs support |
| 150 | <*> Ext3 journalling file system support |
150 | <*> Ext3 journalling file system support |
| 151 | <*> JFS filesystem support |
151 | <*> JFS filesystem support |
| 152 | <*> Second extended fs support |
152 | <*> Second extended fs support |
| 153 | <*> XFS filesystem support |
153 | <*> XFS filesystem support |
| 154 | </pre> |
154 | </pre> |
| 155 | |
155 | |
| 156 | <p> |
156 | <p> |
| 157 | If you are using PPPoE to connect to the Internet or you are using a dial-up |
157 | If you are using PPPoE to connect to the Internet or you are using a dial-up |
| 158 | modem, you will need the following options in the kernel: |
158 | modem, you will need the following options in the kernel: |
| 159 | </p> |
159 | </p> |
| 160 | |
160 | |
| 161 | <pre caption="Selecting PPPoE necessary drivers"> |
161 | <pre caption="Selecting PPPoE necessary drivers"> |
| 162 | Device Drivers ---> |
162 | Device Drivers ---> |
| 163 | Networking support ---> |
163 | Network device support ---> |
| 164 | <*> PPP (point-to-point protocol) support |
164 | <*> PPP (point-to-point protocol) support |
| 165 | <*> PPP support for async serial ports |
165 | <*> PPP support for async serial ports |
| 166 | <*> PPP support for sync tty ports |
166 | <*> PPP support for sync tty ports |
| 167 | </pre> |
167 | </pre> |
| 168 | |
168 | |
| 169 | <p> |
169 | <p> |
| 170 | The two compression options won't harm but are not definitely needed, neither |
170 | The two compression options won't harm but are not definitely needed, neither |
| 171 | does the <c>PPP over Ethernet</c> option, that might only be used by <c>ppp</c> |
171 | does the <c>PPP over Ethernet</c> option, that might only be used by <c>ppp</c> |
| 172 | when configured to do kernel mode PPPoE. |
172 | when configured to do kernel mode PPPoE. |
| 173 | </p> |
173 | </p> |
| 174 | |
174 | |
| 175 | <p> |
175 | <p> |
| 176 | If you require it, don't forget to include support in the kernel for your |
176 | If you require it, don't forget to include support in the kernel for your |
| 177 | ethernet card. |
177 | ethernet card. |
| 178 | </p> |
178 | </p> |
| … | |
… | |
| 254 | <pre caption="Compiling the kernel"> |
254 | <pre caption="Compiling the kernel"> |
| 255 | # <i>make && make modules_install</i> |
255 | # <i>make && make modules_install</i> |
| 256 | # <i>make boot</i> |
256 | # <i>make boot</i> |
| 257 | </pre> |
257 | </pre> |
| 258 | |
258 | |
| 259 | <p> |
259 | <p> |
| 260 | When the kernel has finished compiling, copy the kernel image to |
260 | When the kernel has finished compiling, copy the kernel image to |
| 261 | <path>/boot</path>. Recent kernels might create <path>vmlinux</path> instead of |
261 | <path>/boot</path>. Recent kernels might create <path>vmlinux</path> instead of |
| 262 | <path>vmlinux.gz</path>. Keep this in mind when you copy your kernel image. |
262 | <path>vmlinux.gz</path>. Keep this in mind when you copy your kernel image. |
| 263 | </p> |
263 | </p> |
| 264 | |
264 | |
| 265 | <pre caption="Installing the kernel"> |
265 | <pre caption="Installing the kernel"> |
| 266 | # <i>cp arch/alpha/boot/vmlinux.gz /boot/</i> |
266 | # <i>cp arch/alpha/boot/vmlinux.gz /boot/</i> |
| 267 | </pre> |
267 | </pre> |
| 268 | |
268 | |
| 269 | <p> |
|
|
| 270 | Now continue with <uri link="#kernel_modules">Kernel Modules</uri>. |
|
|
| 271 | </p> |
|
|
| 272 | |
|
|
| 273 | </body> |
269 | </body> |
|
|
270 | </subsection> |
| 274 | </subsection> |
271 | <subsection> |
|
|
272 | <include href="hb-install-initramfs.xml"/> |
|
|
273 | </subsection> |
|
|
274 | |
| 275 | </section> |
275 | </section> |
| 276 | <section id="genkernel"> |
276 | <section id="genkernel"> |
| 277 | <title>Alternative: Using genkernel</title> |
277 | <title>Alternative: Using genkernel</title> |
| 278 | <body> |
278 | <body> |
| 279 | |
279 | |
| 280 | <p> |
280 | <p> |
| 281 | If you are reading this section, you have chosen to use our <c>genkernel</c> |
281 | If you are reading this section, you have chosen to use our <c>genkernel</c> |
| 282 | script to configure your kernel for you. |
282 | script to configure your kernel for you. |
| 283 | </p> |
283 | </p> |
| 284 | |
284 | |
| 285 | <p> |
285 | <p> |
| 286 | Now that your kernel source tree is installed, it's now time to compile your |
286 | Now that your kernel source tree is installed, it's now time to compile your |
| 287 | kernel by using our <c>genkernel</c> script to automatically build a kernel for |
287 | kernel by using our <c>genkernel</c> script to automatically build a kernel for |
| 288 | you. <c>genkernel</c> works by configuring a kernel nearly identically to the |
288 | you. <c>genkernel</c> works by configuring a kernel nearly identically to the |
| 289 | way our Installation CD kernel is configured. This means that when you use |
289 | way our Installation CD kernel is configured. This means that when you use |