Te digo como se recompila (para 64 bits y sin grsec)
Código:
cd /usr/src
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.12.tar.xz
xz -d linux-3.8.12.tar.xz
tar xvf linux-3.8.12.tar
cd linux-3.8.12/
make clean
make mrproper
wget ftp://ftp.ovh.net/made-in-ovh/bzImage/3.8.12/config-3.8.12-xxxx-std-ipv6-64
mv config-3.8.12-xxxx-std-ipv6-64 .config
make menuconfig
configuras el kernel a tu gusto, guardas y sales.
Código:
make
cp arch/x86_64/boot/bzImage /boot/bzImage-3.8.12-xxxx-std-ipv6-64
update-grub
reboot
reconectas por SSH
Código:
cd /usr/src/linux-3.8.12/
make headers_install
mkdir /lib64/modules/`uname -r`
make modules_install
cp System.map /boot/System.map-3.8.12-xxxx-std-ipv6-64
ln -sf /boot/System.map-3.8.12-xxxx-std-ipv6-64 /boot/System.map
export KERN_DIR=/usr/src/linux-3.8.12
echo "export KERN_DIR=/usr/src/linux-3.8.12" >> $HOME/.profile
Listo, un saludo