/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml

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

Revision 1.56 Revision 1.57
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-x86+amd64-kernel.xml,v 1.56 2014/06/01 13:20:25 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.57 2014/08/07 16:15:41 swift 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>26</version> 16<version>27</version>
17<date>2014-06-01</date> 17<date>2014-08-07</date>
18 18
19<section> 19<section>
20<title>Installing the Sources</title> 20<title>Installing the Sources</title>
21<subsection> 21<subsection>
22<title>Choosing a Kernel</title> 22<title>Choosing a Kernel</title>
371<pre caption="Emerging genkernel"> 371<pre caption="Emerging genkernel">
372# <i>emerge genkernel</i> 372# <i>emerge genkernel</i>
373</pre> 373</pre>
374 374
375<p> 375<p>
376Next, edit the <path>/etc/fstab</path> file so that the line containing
377<path>/boot</path> as second field has the first field pointing to the right
378device. If the partitioning example from the handbook is followed, then this
379device is most likely <path><keyval id="/boot"/></path> with the ext2 file
380system. This would make the entry in the file look like so:
381</p>
382
383<pre caption="Editing /etc/fstab for the /boot entry">
384# <i>nano -w /etc/fstab</i>
385...
386<keyval id="/boot"/> /boot ext2 defaults 0 2
387</pre>
388
389<p>
390The remainder of the <path>/etc/fstab</path> will be updated in the next section,
391but as <c>genkernel</c> reads this information we need to update the
392<path>/boot</path> line up front.
393</p>
394
395<p>
376Now, compile your kernel sources by running <c>genkernel all</c>. Be aware 396Now, compile your kernel sources by running <c>genkernel all</c>. Be aware
377though, as <c>genkernel</c> compiles a kernel that supports almost all 397though, as <c>genkernel</c> compiles a kernel that supports almost all
378hardware, this compilation will take quite a while to finish! 398hardware, this compilation will take quite a while to finish!
379</p> 399</p>
380 400

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.20