I got tired of waiting on the next offical release of grsecurity as the current one now is from January so I decided to run one of the testing patches. I also seen a lot of new features in the latest kernel I was wanting to try. I have this source configured for a core2duo server, all needed processor features. If you have another processor besides core2duo all you have to do is make menuconfig and go to processor features and select what you need.
Here is the pre-patched tarball
cd /usr/src
wget nix101.com/linux-grsec-2.6.21.3.tar.gz
tar zxvf linux-grsec-2.6.21.3.tar.gz
ln -s linux-2.6.21.3 linux
If you have a core2duo and do not need to change the config just do this
cd linux ; make bzImage ; make modules ; make modules_install ; make install
If you need to run config to change your processor type and features
cd linux ; make menuconfig
Then after you save the config
make bzImage ; make modules ; make modules_install ; make install
Now to configure grub in case there is a kernel panic. If your system doesnt boot back up in 5 minutes you can use a remote reboot to boot it back into old kernel, just make sure the old kernel is marked default in /boot/grub/grub.conf
grub
savedefault --default=0 --once
quit
reboot and you are done
Related Articles
No user responded in this post