Kernel/zh-cn

"Linux内核"是操作系统的核心，提供了程序访问硬件的接口. 内核包含了绝大多数的设备驱动.

USE flags
To create a kernel, it is necessary to install the kernel source code first. The Gentoo recommended kernel sources for a desktop system are, of course,. 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.

Emerge
Now install :

Alternative kernels
Portage树中还有各种备选的内核源代码：


 * - 官方的，没有打过补丁的内文源代码. 注意因为它们是Linux官方内核，不包含任何Gentoo的补丁，并不被Gentoo开发者支持.

Sources overview

 * Kernel sources overview: Most, if not all, of the kernel sources packages available in Gentoo are detailed in the kernel sources overview article. Navigate there for further knowledge on specific kernel sources available in the Portage tree.

Searching all alternatives
A full list of kernel sources with short descriptions can be found by searching with emerge:

Configuration help

 * Automatic configuration: genkernel is a tool to used to automate the build process of the kernel and initramfs. The goal of genkernel is to help users through the kernel building process.


 * 手工配置: 手工配置使得用户——通过一些努力——可以创建一个定制的内核配置.


 * Gentoo Kernel Configuration Guide: Gentoo内核配置指南.


 * Upgrade: 通过已有的内核配置升级新内核.


 * Removal: 如何移除旧的内核.


 * Kernel Seeds:Like the option above, Kernels Seeds help the user, with some effort, create a custom-fit kernel configuration using an existing as a base.


 * 2.4 to 2.6 Migration: 从2.4内核到2.6内核的迁移指南.

参考
参见 kernel category.

外部资源

 * Blogs related to the Linux kernel at planet.kernel.org/
 * Kernel statistics at kernelhub.org/
 * Torvald's kernel git source repository hosted at github.com/