You are Here: FAQ ->Dedicated Servers->Linux Root Server->Fedora Operating System->Article #3


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How to build a new kernel for a server running Fedora Core 4


1. Get the latest kernel and compile

wget http://update.pureserver.info/linux-kernel/v2.6/inux-2.6.17.tar.bz2
tar -jxvf linux-2.6.17.tar.bz2
mv linux-2.6.17 /usr/local/src/linux
cp /boot/config-2.6.16-rc6-060427a /usr/local/src/linux/.config

make oldconfig //at this step, you will be asked to select a list of modules to be supported, just stick with default and it should be fine.
make clean
make bzImage

make modules
make modules_install

cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.17
ln -s /boot/vmlinuz-2.6.17 vmlinuz.custom
mkinitrd /boot/initrd-2.6.17.img 2.6.17

2. Edit the /etc/lilo.conf to activate the new kernel
// changes made in /etc/lilo.conf
default=lxcustom

image=/boot/vmlinuz.custom
label=lxcustom
optional

3. Make changes to boot record and reboot.

lilo -v
shutdown -r now

SD2B2C201


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5