Last night I compiled and installed the 2.6.22.1 kernel with grsecurity test patch only to see an hour later a new version had been released so i got on that. Booted it up in 2 machines, works great.
It is configured for a core2duo system with sata hard drives but most people should be able to change processer features and work in any system. As far as grsecurity it is configured for medium security with a few extra features. It will work fine just like it is and have sysctl tunable features. Or you can add more, less, or whatever.
cd /usr/src
wget nix101.com/linux-2.6.22.2-grsecurity.tar.gz
tar zxvf linux-2.6.22.2-grsecurity.tar.gz
rm -rf linux
ln -s linux-2.6.22.2 linux
cd linux
make menuconfig
Set any features you want or change processor type and features. Then install:
make bzImage ; make modules ; make modules_install ; make install
Then of course set grub to only boot the new kernel once, that way if it panics or freezes on boot you can use your remote reboot to boot it back into old kernel.
grub
savedefault --default=0 --once
quit
Then reboot and check it out. you shouldn’t run into any problems unless you have some oddball hardware setup or you messed up something in config.
Related Articles
No user responded in this post