To Update the kernel
- use 'uname -a' to reveal current version
- use 'rpm -qa | grep -i kernel' - to reveal installed version
- 'rpm -ivh kernel*rpm' - To install a separate version
- kernel-devel* - if module compilation is necessary
- kernel-headers* - if recompilation is necessary
rpm -ivh kernel-2.6.18-53.el5.i686.rpm
Note: This will update GRUB (/boot/grub/grub.conf)
Note: Will also place the new kernel in the /boot file system
Examine the traces in,
- /boot
- /boot/grub/grub.conf
'rpm -e [--nodeps]' kernel-2.6.18-8.el5 kernel-headers-2.6.18-8.el5 kernel-devel-2.6.18-8.el5’
To Force remove ignoring dependencies give,
'rpm -e --nodeps kernel-headers-2.6.18-8.el5'
Note: Removal of older kernel-* packages cleans up the /boot and /boot/grub/grub.conf (menu.lst) as well.
Confirm that the three 'kernel-*' packages are installed:
a. rpm -qa | grep kernel
Alternatively we can install new 'kernel-headers' and 'kernel-devel' packages using YUM also:
a. yum -y install kernel-headers
b. yum -y install kernel-devel
1 comments:
Write commentshi..
ReplyUsing #YUM,we can do work directly..
#yum update kernel
then reboot the linuxbox,
#yum remove kernl-old kernel name(2.6...)
we can know the kernel version ,using command
#uname -a
then,
#yum upgrade
then reboot your linuxbox,and then boot with updated kernel...
Enjoy...:)
thank u...
What do you think about this Article? Add your Opinion..! EmoticonEmoticon