Kernel/de

Der Linux Kernel ist der Kern des Betriebssystems und bietet mit einer Schnittstelle Programmen Zugriff auf die Hardware. Der Kernel enthält die meisten der Gerätetreiber.

Installation
To create a kernel, you first necessary to install the kernel source code. The recommend kernel sources for a desktop system on Gentoo Linux are. These are maintained by the Gentoo developers, and patched to fix security vulnerabilities, functional problems, as well as to improve compatibility with rare system architectures.

Before installing check the active USE flags. The USE flags of gentoo-sources are:


 * deblob - Remove binary blobs from kernel sources to provide free software compliance.
 * build - (Not recommended) Only for creating stages. Never set this USE flag yourself.
 * symlink - Sets the /usr/src/linux symlink for these kernel sources.

Now install gentoo-sources:

There are various alternative kernel sources in the Portage tree:


 * - The official unchanged Linux kernel sources. Because they are not modified, Gentoo developers do not offer support for them.


 * A full list with short descriptions can be found by searching with emerge:

Manual configuration and setup
This the perceived silver bullet enables you, with quite some effort, to create a custom-fit kernel configuration. See:


 * kernel configuration
 * kernel upgrade

genkernel: automatic configuration and setup
genkernel is a tool to automatically configure and setup a kernel. The needed drivers for your system are detected and loaded at boot time. See the genkernel article.

Removing
See the kernel removal article on how to remove old kernels.

Links

 * Kernel homepage