This is an old revision of the document!
Kernel
Compile Your Own
become root
su
change dir to build location
cd /usr/src
get the current kernel
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.x.x.tar.bz2
extract source
tar xvfj linux-2.6.x.x.tar.bz2
remove old symlink
rm linux
create new symlink
ln -s linux-2.6.x.x linux
change dir to current source
cd linux
copy YOUR current .config
cp /boot/config-`uname -r` ./.config
use old configuration
make oldconfig
edit config (as it suites you)
make menuconfig
compile
make-kpkg clean\\ fakeroot make-kpkg --initrd kernel_image kernel_header
install
dpkg -i k'your-kernel'.deb
update your bootloader
update-grub
Last modified: le 2008/12/10 17:36