swift 14/08/07 16:15:41 Modified: hb-install-x86+amd64-kernel.xml Log: Update /boot entry in fstab for genkernel, reported by Colin Hulme
Revision Changes Path 1.57 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?rev=1.57&view=markup 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 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 Index: hb-install-x86+amd64-kernel.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v retrieving revision 1.56 retrieving revision 1.57 diff -u -r1.56 -r1.57 --- hb-install-x86+amd64-kernel.xml 1 Jun 2014 13:20:25 -0000 1.56 +++ hb-install-x86+amd64-kernel.xml 7 Aug 2014 16:15:41 -0000 1.57 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $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 $ --> +<!-- $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 $ --> <sections> @@ -13,8 +13,8 @@ explains how to configure your kernel. </abstract> -<version>26</version> -<date>2014-06-01</date> +<version>27</version> +<date>2014-08-07</date> <section> <title>Installing the Sources</title> @@ -373,6 +373,26 @@ </pre> <p> +Next, edit the <path>/etc/fstab</path> file so that the line containing +<path>/boot</path> as second field has the first field pointing to the right +device. If the partitioning example from the handbook is followed, then this +device is most likely <path><keyval id="/boot"/></path> with the ext2 file +system. This would make the entry in the file look like so: +</p> + +<pre caption="Editing /etc/fstab for the /boot entry"> +# <i>nano -w /etc/fstab</i> +... +<keyval id="/boot"/> /boot ext2 defaults 0 2 +</pre> + +<p> +The remainder of the <path>/etc/fstab</path> will be updated in the next section, +but as <c>genkernel</c> reads this information we need to update the +<path>/boot</path> line up front. +</p> + +<p> Now, compile your kernel sources by running <c>genkernel all</c>. Be aware though, as <c>genkernel</c> compiles a kernel that supports almost all hardware, this compilation will take quite a while to finish!
