Diferencias entre las revisiones 8 y 10 (abarca 2 versiones)
Versión 8 con fecha 2019-09-03 15:38:41
Tamaño: 1383
Comentario:
Versión 10 con fecha 2019-09-03 15:45:16
Tamaño: 1464
Comentario:
Los textos eliminados se marcan así. Los textos añadidos se marcan así.
Línea 3: Línea 3:
 * Instalar alguna herramientas.

{{{
apt install build-essential
}}}
Línea 13: Línea 18:
 * Ingresar al directorio.  * '''Ingresar al directorio'''.
Línea 59: Línea 64:
Shutdown -r now shutdown -r now

Generando un nuevo kernel en Debian.

  • Instalar alguna herramientas.

apt install build-essential

wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.2.11.tar.xz
  • Descomprimir en /usr/src/

tar axvf linux-5.2.11.tar.xz
  • Ingresar al directorio.

cd /usr/src/linux-5.2.11
  • Limpiar el directorio de configuraciones anteriores.

make distclean
make clean
  • Copiar configuracion de kernel activo anterior.

cp /boot/config-4.19.0-5-amd64 .config
  • Configurar opciones del kernel (consultará sobre las nuevas características del nuevo kernel).

make oldconfig
  • Deshabilitar debug kernel info en .config (evitará generar una imagen linux-dbg, probablemente mucho mas grande)

vim .config
CONFIG_DEBUG_INFO=n

vim .config
CONFIG_SYSTEM_TRUSTED_KEYS=""
  • Compilar y generar paquete .deb

make deb-pkg
  • Instalar nuevo kernel (actualiza grub)

dpkg -i linux-image.deb
  • Reiniciar.

shutdown -r now

Referencia: https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-common-building

kernel (última edición 2020-10-08 12:51:51 efectuada por AlejandroValdes)