Dies ist eine alte Version des Dokuments!


Building a preemt-rt kernel

Introduction

The kernel can be easily installed on a running system. During the boot process, the kernel is started with the latest version number by default. If you want to return to an old version, you can select the desired kernel version in the grub menu „Advanced options for Linux Mint“.

Preparation

Installing the toolchain

sudo apt install libncurses5-dev build-essential libssl-dev

Get the preemt-rt patch

Check here whether a patch is available for your currently installed kernel and download it. If not, choose the next newer version and download the patch.

For example:
If you are running a 4.4.165 kernel choose the following patch:
patch-4.4.148-rt166-rc1.patch.gz

Get the Linux sources

  • Clone the kernel
    git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git