Kernel compilation

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Needed packages

  • sudo apt-get install linux-source build-essential kernel-package libssl-dev flex bison ncurses-dev

Pre Compile stuff

  • cd /usr/src

Get the source

Webseite

Neusten Kernel runterladen
Beispiel

Set the old config

  • cp /boot/config-`uname -r` .config
  • yes "" | make oldconfig

Change settings

  • make menuconfig

Compile kernel and modules

  • make -j8 bzImage modules

Install modules and kernel

  • make modules_install install

Update grub

  • update-grub

Links