nightmorph 11/01/20 07:51:37 Modified: genkernel.xml Log: bring genkernel.xml up-to-date with some changes from sping. also removed the 'obsolete' disclaimer.
Revision Changes Path 1.35 xml/htdocs/doc/en/genkernel.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/genkernel.xml?rev=1.35&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/genkernel.xml?rev=1.35&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/genkernel.xml?r1=1.34&r2=1.35 Index: genkernel.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/genkernel.xml,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- genkernel.xml 7 Dec 2010 20:49:23 -0000 1.34 +++ genkernel.xml 20 Jan 2011 07:51:37 -0000 1.35 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/genkernel.xml,v 1.34 2010/12/07 20:49:23 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/genkernel.xml,v 1.35 2011/01/20 07:51:37 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<guide disclaimer="obsolete"> +<guide> <title>Gentoo Linux Genkernel Guide</title> <author title="Author"> @@ -32,8 +32,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>4</version> -<date>2010-12-07</date> +<version>5</version> +<date>2011-01-19</date> <chapter> <title>Introduction</title> @@ -42,14 +42,12 @@ <body> <p> -For users who are not privy to kernel compilation, genkernel is a tool to -automate this process. It can help you create a kernel image akin to those +For users who don't want to manually compile their kernels, genkernel is a tool +to automate this process. It can help you create a kernel image akin to those available on Gentoo Installation CDs, which are designed to auto-detect the hardware configuration of your system. Some users may also be interested in using genkernel for hardware requiring initialization and a working kernel -before the system starts up. Since genkernel automatically compiles your kernel -modules, you can use hardware that may require certain module parameters to be -loaded for proper operation. +before the system starts up. </p> </body> @@ -81,13 +79,9 @@ <body> <p> -To obtain genkernel, run <c>emerge genkernel</c> from the command line. If you -are using the <uri link="/doc/en/handbook/2008.0/hb-install-about.xml">Gentoo -Reference Platform</uri> (GRP), remember to install binary packages by passing -the <c>-k</c> flag to emerge. Since the GRP is bundled with an older version -of genkernel, the flags may be different. In any case, consult <c>genkernel ---help</c> for help on how to use the version of genkernel installed on your -system. +To obtain genkernel, run <c>emerge genkernel</c> from the command line. Consult +<c>genkernel --help</c> for help on how to use the version of genkernel +installed on your system. </p> </body> @@ -127,7 +121,8 @@ There are other flags which alter the result provided by genkernel. For instance, replacing <c>--no-install</c> with the <c>--install</c> flag allows genkernel to automatically install the new kernel in the <path>/boot</path> -directory. Using the <c>--mountboot</c> flag allows genkernel to mount your +directory, and will create symlinks for you if <c>--symlink</c> is specified. +Using the <c>--mountboot</c> flag allows genkernel to mount your <path>/boot</path> partition automatically, if necessary. </p> @@ -142,10 +137,12 @@ </p> <p> -The rest of this chapter examines the functionality of various flags and -actions available for genkernel. Some of the flags have variants which perform -a converse operation. The converse variants carry the <b><c>no-</c></b> prefix, -and their effects are enclosed within the square brackets, []. +The rest of this chapter examines the functionality of various flags, +configuration variables, and actions available for genkernel. For a more +completel list, please refer to <c>man genkernel</c> and the comments in +<path>/etc/genkernel.conf</path>. Some of the flags have variants which +perform a converse operation. The converse variants carry the <b><c>no-</c></b> +prefix, and their effects are enclosed within the square brackets, []. </p> </body> @@ -263,7 +260,7 @@ compiled modules will be installed as well. </li> <li> - <b>--<c>no-</c>ramdisk-modules</b>: Refrains from copying any modules to the + <b>--no-ramdisk-modules</b>: Refrains from copying any modules to the genkernel-created initrd image. This flag is an exception to the rule about the <c>no-</c> prefix; omission of this prefix creates an invalid genkernel flag. @@ -443,6 +440,17 @@ the value of crypt_root (and real_root shall be the unencrypted device LUKS creates). </li> + <li> + <b>--disklabel</b>: Adds support for disk label and UUID support to your + initrd. + </li> + <li> + <b>--iscsi</b>: Adds support for iSCSI to your initrd. + </li> + <li> + <b>--multipath</b>: Adds support for <uri + link="/doc/en/multipath.xml">Multipath</uri> to your initrd. + </li> <li> <b>--linuxrc=/path/to/your/linuxrc</b>: Specifies a user-created <e>linuxrc</e> — a script that is initialized during the start-up @@ -532,12 +540,8 @@ <ol> <li> - Add <c>root=/dev/ram0</c> and <c>init=/linuxrc</c> to the kernel parameters - passed to the kernel image. - </li> - <li> - Add <c>real_root=/dev/hda3</c>, for example, to the kernel parameters - passed to the kernel image, if <path>/dev/hda3</path> contains your root + Add <c>real_root=/dev/sda3</c>, for example, to the kernel parameters + passed to the kernel image, if <path>/dev/sda3</path> contains your root partition. </li> <li> @@ -577,8 +581,8 @@ <p> Fortunately, there is a configuration file where most of the basic options can -be set (or changed) as necessary. What follows is a rundown of the more -relevant options: +be set (or changed) as necessary: <path>/etc/genkernel.conf</path>. What follows +is a rundown of the more relevant options: </p> <ul> @@ -636,6 +640,10 @@ </li> </ul> +<note> +More options are described in <path>/etc/genkernel.conf</path>. +</note> + <p> By choosing the appropriate options in <path>/etc/genkernel.conf</path>, you can halve the number of flags passed to genkernel from the command line:
