Actuals Debian 7 brings a stable Kernel version 3.2.0-4. For some development reasons I need a newer Kernel version so in this way was this tutorial created.
Install the needed packages for the compilation process:
1 | apt-get install kernel-package fakeroot build-essential ncurses-dev |
1 | wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.tar.xz |
1 2 | tar xvf linux-3.10.tar.xz cd linux-3.10/ |
Take the config of your actual running kernel
1 | cat /boot/config-`uname -r`> .config |
1 | make oldconfig |
You will be asked a lot of questions. If in doubt, press enter to choose the default answer.
#
# configuration written to .config
#
1 | make-kpkg clean |
1 | time fakeroot make-kpkg -j1 --initrd kernel_image kernel_headers |
1 2 | dpkg -i ../linux-image-3.10.0_3.10.0-10.00.Custom_amd64.deb dpkg -i ../linux-headers-3.10.0_3.10.0-10.00.Custom_amd64.deb |
After reboot check the running:
1 2 | uname -a Linux devel 3.10.0 #1 SMP Thu Jul 11 16:52:55 CEST 2013 x86_64 GNU/Linux |
Leave a Reply