Debian Squeeze Kernel Compilation: Install Linux-Source
Debian Squeeze Kernel Compilation: Install Linux-Source
Install linux-source
sudo apt-get install linux-source-2.6.32
cd linux
Copy the config file from existing linux kernel installed on your system
cp /boot/config-`uname -r` .config
make menuconfig
Cross verify the changes you did to .config file using diff
Building Kernel
Clean
make-kpkg clean
Check if you are running new kernel after rebooting using uname
uname -a
Since this kernel is compiled for core2 and with preemption, it should feel more responsive
References
http://linuxsaga.com/guide/compiling-a-new-kernel-in-debian http://technowizah.com/2005/12/debian-how-to-custom-kernel-compile.html http://kernel-handbook.alioth.debian.org/ch-common-tasks.html http://newbiedoc.sourceforge.net/system/kernel-pkg.html#INSTALL-KERNEL-PKG http://www.howtoforge.com/kernel_compilation_debian_etch