Just a quick recipe to get quickly a Debian Linux kernel patched with Grsecurity.
# apt-get install build-essential libncurses5-dev kernel-package # cd /usr/src # wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.15.tar.bz2 # wget http://grsecurity.org/stable/grsecurity-2.1.14-2.6.32.15-201006011506.patch # tar -xvjf linux-2.6.32.15.tar.bz2 # patch -p0 < grsecurity-2.1.14-2.6.32.15-201006011506.patch # cd linux-2.6.32.15 # cp /boot/config-$(uname -r) .config # make-kpkg debian # make menuconfig (configure whatever you want and, of course, don't forget to activate Grsecurity) # make-kpkg --initrd kernel-image (coffee time) # cd .. # dpkg -i linux-image-2.6.32.15-grsec_2.6.32.15-grsec-10.00.Custom_amd64.deb # update-grub # reboot