Handbook Talk:Parts/Installation/Kernel

Installing the source
typo in root #emerge --ask sys-kernel

Default: Manual configuration
With pciutils emerged you can run At the bottom of the verbose output it will explicitly tell you which Kernel driver is in use.

HID support
The kernel module mentioned in the handbook has changed place and title in the new kernel.


 * In case of such changes will you please mention the kernel version as in the older versions it's definitely not changed. --Charles17 (talk) 12:11, 18 March 2016 (UTC)
 * Version 4.4.4, the version that is automatically pulled if you do a clean install now. --Switch87 (talk) 12:27, 18 March 2016 (UTC)

EFI stub
In order to boot directly from UEFI, the kernel needs to have  support enabled:

UEFI does not pass kernel parameters to the kernel during normal boot, so they must be hardcoded them via. to boot a root partition located at input the following text in the kernel configuration:

For GPT systems, using  might be preferable. To find out use :

If this is ever integrated, I would add a note that it is not preferred because Stub's parameters are not easily modified for debugging/troubleshooting. You would have to rebuild the kernel to add/change any boot parameters. --Grknight (talk) 02:03, 6 March 2016 (UTC)

Make note about genkernel's disk space usage?
The binaries compiled by genkernel can take a lot of disk space - I was walking a friend through installing Gentoo on a VM, and recommended genkernel as the best method for starting out. Turns out that the compilation took up about 6GB of space in, and although they had given the VM enough space for it to complete, I needed to tell them to 'make clean' the compiled genkernel binaries after compilation to get enough space back to continue the installation.

I'd suggest changing paragraph T:60:

"Now, compile the kernel sources by running . Be aware though, as compiles a kernel that supports almost all hardware, this compilation will take quite a while to finish!"

to:

"Now, compile the kernel sources by running . Be aware though, as compiles a kernel that supports almost all hardware, this compilation will take quite a while to finish, and use several times more space than a regular compile - it can easily use up 6GB of space in total, which is not automatically cleaned afterwards!"

or words similar to that effect. --Sophira (talk) 21:46, 17 August 2016 (UTC)