Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-x86+amd64-kernel.xml
Date: Thu, 07 Aug 2014 16:15:48
Message-Id: 20140807161542.C60942004F@flycatcher.gentoo.org
1 swift 14/08/07 16:15:41
2
3 Modified: hb-install-x86+amd64-kernel.xml
4 Log:
5 Update /boot entry in fstab for genkernel, reported by Colin Hulme
6
7 Revision Changes Path
8 1.57 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?rev=1.57&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?rev=1.57&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?r1=1.56&r2=1.57
13
14 Index: hb-install-x86+amd64-kernel.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v
17 retrieving revision 1.56
18 retrieving revision 1.57
19 diff -u -r1.56 -r1.57
20 --- hb-install-x86+amd64-kernel.xml 1 Jun 2014 13:20:25 -0000 1.56
21 +++ hb-install-x86+amd64-kernel.xml 7 Aug 2014 16:15:41 -0000 1.57
22 @@ -4,7 +4,7 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $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 $ -->
27 +<!-- $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 $ -->
28
29 <sections>
30
31 @@ -13,8 +13,8 @@
32 explains how to configure your kernel.
33 </abstract>
34
35 -<version>26</version>
36 -<date>2014-06-01</date>
37 +<version>27</version>
38 +<date>2014-08-07</date>
39
40 <section>
41 <title>Installing the Sources</title>
42 @@ -373,6 +373,26 @@
43 </pre>
44
45 <p>
46 +Next, edit the <path>/etc/fstab</path> file so that the line containing
47 +<path>/boot</path> as second field has the first field pointing to the right
48 +device. If the partitioning example from the handbook is followed, then this
49 +device is most likely <path><keyval id="/boot"/></path> with the ext2 file
50 +system. This would make the entry in the file look like so:
51 +</p>
52 +
53 +<pre caption="Editing /etc/fstab for the /boot entry">
54 +# <i>nano -w /etc/fstab</i>
55 +...
56 +<keyval id="/boot"/> /boot ext2 defaults 0 2
57 +</pre>
58 +
59 +<p>
60 +The remainder of the <path>/etc/fstab</path> will be updated in the next section,
61 +but as <c>genkernel</c> reads this information we need to update the
62 +<path>/boot</path> line up front.
63 +</p>
64 +
65 +<p>
66 Now, compile your kernel sources by running <c>genkernel all</c>. Be aware
67 though, as <c>genkernel</c> compiles a kernel that supports almost all
68 hardware, this compilation will take quite a while to finish!