To upgrade the kernel you must have the kenel source i.e .src.rpm file.
If you don’t have follow the following steps
· Download the corresponding kernel.src.rpm file from www.sourceforge.com
· # rpm –ivh kernel-2.6.10-1.741.src.rpm
· # rpmbuild –bp –target=norarch /usr/src/redhat/SPECS/kernel-2.6.spec
$ cd /usr/src
$ ln -s redhat/BUILD/kernel-2.6.10/linux-2.6.10/ linux
$ ln -s redhat/BUILD/kernel-2.6.10/linux-2.6.10/ linux-2.6.10
$ cd /linux-2.6.17.7
$ make mrproper
$ uname –rm(to know what is our architecture i.e i386,i486,i686)
$ cp /usr/src/linux-2.6.10/configs/kernel-2.6.10-i686.config /usr/src/linux-2.17.7 /.config
$ make oldconfig
$ make menuconfig or make xconfig(Don’t select SElinux,video for linux v4l(DVB),Enable all Wep extensions)
Enable CONFIG_NET_WIRELESS
CONFIG_FW_LOADER Generic Driver Options
CONFIG_CRC32
CONFIG_CRC_CCITT
$ make all
$ make modules_install
$ make install
modify grub.conf according to your needs
vi /boot/grub/grub.conf
default=1 points to the previous kernel set default=0 to
the new kernel.
No comments:
Post a Comment