Updating to a new linux kernel
There are mainline, stable, longterm kernels that you can download.
If you’re upgrading the kernel of a production computer system running Debian, you should download the longterm or stable release.
If you don’t know what to do here, just leave the defaults.
Once you’re done deciding what you want to install, press the The compilation process takes a very long time to finish.
Run the following command to navigate to the Downloads directory: Now we have to copy the boot configuration into the ‘linux-4.14.7’ directory.
We are doing these because it’s a lot of work to figure out what kernel module to enable, what to disable to get a working system.
Sometimes the maintainer may want you to use an experimental branch from their own git tree.
So it’s a good idea to run the following command to convert the old configuration file to a new one.
Otherwise we will be asked a lot of questions that might not make sense to you. From here you can enable and disable specific kernel features.
So click on the link as shown in the screenshot to download the source code for kernel 4.14.7 Your browser should prompt you to download the file. First update the package repository cache with the following command: Now we can compile the kernel from source.
Before you go any further, make sure you have more than 18GB-20GB of free space where you are going to compile the kernel.