However, it is sometimes necessary to install a newer kernel to provide support for hardware that isn't supported by version 3.16.
Reasons to consider customizing the kernel include the removal of unnecessary modules, patching the kernel source for some added functionality, or to tinker and learn about the process of creating Debian kernel packages.
So far i've not found a solution yet, which is a pity, since 4.4.
is meant to have new kernel drivers for my realtek wireless dongle...
With that said, here a 3 ways to do it outlined below (1) Installing a pre-compiled kernel from Debian backports, (2) Patching and compiling a custom kernel from the Debian backports source files, and (3) Compiling a custom kernel from the official sources at Installing pre-compiled 4.1 kernel using Debian backports. Simply edit your file: [email protected]:~# apt-cache search linux-image linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64 linux-image-3.16.0-4-amd64 - Linux 3.16 for 64-bit PCs linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64 linux-image-amd64 - Linux for 64-bit PCs (meta-package) linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package) nvidia-kernel-3.16.0-4-amd64 - NVIDIA binary kernel module for Linux 3.16.0-4-amd64 linux-headers-4.1.0-01-amd64 - Header files for Linux 4.1.0-01-amd64 linux-headers-4.1.0-01-rt-amd64 - Header files for Linux 4.1.0-01-rt-amd64 linux-image-4.1.0-01-amd64 - Linux 4.1 for 64-bit PCs linux-image-4.1.0-01-amd64-dbg - Debugging symbols for Linux 4.1.0-01-amd64 linux-image-4.1.0-01-rt-amd64 - Linux 4.1 for 64-bit PCs, PREEMPT_RT linux-image-4.1.0-01-rt-amd64-dbg - Debugging symbols for Linux 4.1.0-01-rt-amd64 linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package) [email protected]:~#As can be seen above, kernel version 3.16 is available in the Debian stable repositories, and version 4.1 is available from the backports.
There are 2 versions of the 4.1 kernel, with and without the realtime (rt) patch.
The default is the newer 4.1 kernel, the advanced options allow you to choose between the 4.1 and 3.16 kernels and recovery modes. Compiling a custom 4.1 kernel from the Debian backports sources If you need to customize the 4.1 kernel, the kernel sources are available from Debain backports to allow you to compile your own.