From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page Kernel and the translation is 28% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎русский • ‎中文(中国大陆)‎ • ‎日本語 • ‎한국어

Il Kernel Linux è il cuore del sistema operativo e offre un'interfaccia ai programmi per l'accesso all'hardware. Il kernel contiene la maggior parte dei device drivers.

Anche se Gentoo è un sistema operativo libero basato su Linux o FreeBSD e FreeBSD ha il suo kernel, per ragioni pratiche, questa guida riguarda la versione Linux.


Which kernel to install?

Gentoo recommends sys-kernel/gentoo-sources for most users. Its stable versions follow the long term stable (LTS) kernels from upstream

USE flags

Per creare un kernel, è necessario installare prima il codice sorgente del kernel stesso. I sorgenti raccomandati per un sistema desktop sono i sys-kernel/gentoo-sources. Questi sono mantenuti dagli sviluppatori Gentoo, e patchati per sistemare vulnerabilità di sicurezza, problemi funzionali, così come per incrementare la compatibilità con le architetture di sistema rare.

USE flags for sys-kernel/gentoo-sources Full sources including the Gentoo patchset for the 5.14 kernel tree

build !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping [make stage1]
experimental Apply experimental patches; for more information, see "".
symlink Force kernel ebuilds to automatically update the /usr/src/linux symlink


Adesso bisogna installare sys-kernel/gentoo-sources:

root #emerge --ask sys-kernel/gentoo-sources

Kernel alternativi

Although all stable kernel Gentoo provides is sys-kernel/gentoo-sources, there are many other kernel packages in the Portage tree. See the Kernel sources overview article, which gives details on most of them.

For which to pick, see also the blog article What Stable Kernel Should I Use? by Greg Kroah-Hartman, a major kernel developer.

Searching all kernel packages

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

root #emerge --search "%@^sys-kernel/.*sources"



Automatic configuration
genkernel is a tool used to automate the build process of the kernel and initramfs. The goal of genkernel is to help users through the kernel building process.
Configurazione Manuale
La Configurazione Manuale vi permette, con un po'di impegno, di creare una configurazione del kernel su misura.
Gentoo kernel configuration guide
Gentoo's kernel configuration guide.
Kernel security
Instructions for securing the kernel.
Kernel Seeds
Like the option above, Kernels Seeds help the user, with some effort, create a custom-fit kernel configuration using an existing .config as a base.


Indicazioni per l'aggiornamento di un kernel utilizzando una configurazione esistente.
2.4 to 2.6 Migration
Migration guide from Linux 2.4 to Linux 2.6. Since the Linux kernel codebase has significantly moved past 2.6, these migration steps are no longer relevant, but may be useful for helping administrators understand.


Indicazioni per rimuovere completamente i vecchi kernel.


In-kernel configuration support

See the IKCONFIG support sub-article.

Kernel command-line parameters

When booting from a bootloader, the Linux kernel can accept command-line parameters to change its behavior. This can aid in troubleshooting the kernel at boot time, to blacklist a certain module that should not loading, etc. has a nicely formatted list of available kernel command-line parameters to review.

Specifically, the following command-line parameters may be helpful when booting Gentoo:

  • earlyprintk=
  • module_blacklist=
  • nomodule
  • loglevel=
  • rootdelay=

Vedere anche

Risorse esterne

  • - Blog relativo al kernel Linux.
  • - "Un sito per aspiranti sviluppatori del kernel Linux che lavorano per migliorare i kernel e per sviluppatori più esperti disposti a condividere la loro conoscenza."