I installed Ubuntu 9.10 Server (into VMware) and did the following:
tar jxf linux-2.6.31.11.tar.bz2
patch -p0 < grsecurity-2.1.14-2.6.31.11-201001071931.patch
cd linux-2.6.31.11
sudo make menuconfig
fakeroot make-kpkg --initrd kernel_image kernel_headers
sudo dpkg -i linux-image-2.6.31.11-grsec_2.6.31.11-grsec-10.00.Custom_amd64.deb
[sudo] password for bleh:
(Reading database ... 29872 files and directories currently installed.)
Unpacking linux-image-2.6.31.11-grsec (from linux-image-2.6.31.11-grsec_2.6.31.11-grsec-10.00.Custom_amd64.deb) ...
Done.
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing linux-image-2.6.31.11-grsec_2.6.31.11-grsec-10.00.Custom_amd64.deb (--install):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Running postrm hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
done
Errors were encountered while processing:
linux-image-2.6.31.11-grsec_2.6.31.11-grsec-10.00.Custom_amd64.deb
Any ideas?