$apt-get install build-essential kernel-package
$apt-get install make
$apt-get install gcc
Step2:
$wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.gz
$tar zxvf linux-2.6.28.4.tar.gz
Step3:
$make defconfig
$make -j2
$make modules
$make modules_install
$make install
Step4:
$cd /boot/grub
$vim ./menu.lst
title KiDiWi GNU/Linux, kernel
root (hd0,0)
kernel /boot/vmlinuz-2.6.28.4 root=/dev/sda1 ro
quiet