[CentOS] "yum update" did not update kernel on one box

Wed May 7 13:53:01 UTC 2008
lannyma at gmail.com <lannyma at gmail.com>

On 5/7/08, Kai Schaetzl <maillists at conactive.com> wrote:
>  wrote on Wed, 7 May 2008 05:27:25 -0500:
> > I just installed kernel-headers-2.6.18-53.1.14.el5 again. Was that
> > correct or not?
>
> As you removed it earlier, yes. There doesn't seem to be any dependancy
> for it. AFAIK it's not necessary for operation, anyway, it's only
> necessary if something has to be compiled as it contains all the c header
> files.
>
> Your current state is now not very clear. Please provide the following
> information:
>
> rpm -qa kernel*

[root at compaq1300 ~]# rpm -qa kernel*
kernel-headers-2.6.18-53.1.14.el5
kernel-2.6.18-8.el5
kernel-2.6.18-53.1.14.el5
[root at compaq1300 ~]#

> ls -l /boot

[root at compaq1300 ~]# ls -l /boot
total 10672
-rw-r--r-- 1 root root   64556 Mar  5 11:58 config-2.6.18-53.1.14.el5
-rw-r--r-- 1 root root   62150 Mar 15  2007 config-2.6.18-8.el5
drwxr-xr-x 2 root root    1024 May  7 05:08 grub
-rw------- 1 root root 2920899 May  7 05:08 initrd-2.6.18-53.1.14.el5.img
-rw------- 1 root root 2196209 Sep 17  2007 initrd-2.6.18-8.el5.img
drwx------ 2 root root   12288 Sep 17  2007 lost+found
-rw-r--r-- 1 root root   80032 Nov 22 18:24 message
-rw-r--r-- 1 root root   87584 Mar  5 11:58 symvers-2.6.18-53.1.14.el5.gz
-rw-r--r-- 1 root root   83542 Mar 15  2007 symvers-2.6.18-8.el5.gz
-rw-r--r-- 1 root root  904149 Mar  5 11:58 System.map-2.6.18-53.1.14.el5
-rw-r--r-- 1 root root  884787 Mar 15  2007 System.map-2.6.18-8.el5
-rw-r--r-- 1 root root 1791796 Mar  5 11:58 vmlinuz-2.6.18-53.1.14.el5
-rw-r--r-- 1 root root 1765428 Mar 15  2007 vmlinuz-2.6.18-8.el5
[root at compaq1300 ~]#

> ls -l /boot/grub

[root at compaq1300 ~]# ls -l /boot/grub
total 207
-rw-r--r-- 1 root root     63 Sep 17  2007 device.map
-rw-r--r-- 1 root root   7616 Sep 17  2007 e2fs_stage1_5
-rw-r--r-- 1 root root   7456 Sep 17  2007 fat_stage1_5
-rw-r--r-- 1 root root   6720 Sep 17  2007 ffs_stage1_5
-rw------- 1 root root    816 May  7 05:08 grub.conf
-rw-r--r-- 1 root root   6720 Sep 17  2007 iso9660_stage1_5
-rw-r--r-- 1 root root   8192 Sep 17  2007 jfs_stage1_5
lrwxrwxrwx 1 root root     11 Sep 17  2007 menu.lst -> ./grub.conf
-rw-r--r-- 1 root root   6880 Sep 17  2007 minix_stage1_5
-rw-r--r-- 1 root root   9248 Sep 17  2007 reiserfs_stage1_5
-rw-r--r-- 1 root root   5427 Nov 22 18:24 splash.xpm.gz
-rw-r--r-- 1 root root    512 Sep 17  2007 stage1
-rw-r--r-- 1 root root 104924 Nov 29 15:36 stage2
-rw-r--r-- 1 root root   7040 Sep 17  2007 ufs2_stage1_5
-rw-r--r-- 1 root root   6272 Sep 17  2007 vstafs_stage1_5
-rw-r--r-- 1 root root   8864 Sep 17  2007 xfs_stage1_5
[root at compaq1300 ~]#


> cat /boot/grub/grub.conf

[root at compaq1300 ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,2)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.14.el5)
        root (hd0,2)
        kernel /vmlinuz-2.6.18-53.1.14.el5 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-53.1.14.el5.img
title CentOS (2.6.18-8.el5)
        root (hd0,2)
        kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-8.el5.img
title Other
        rootnoverify (hd0,0)
        chainloader +1
[root at compaq1300 ~]#


> Besides that I suggest you get a good book on using Linux on the console.
> If "Using Linux" by Que is still getting published I suggest that. They
> provide a wealth about Linux and the shell and you can use them for years.
> I have some rather oldish ones that still provide good value. You have now
> three Linux boxes or so if I got it right. You cannot do everything just
> "by desktop", you are a "Linux shop" now and you *have* to start learning
> about all the nice console tools sooner or later, better sooner ;-)

Kai: Thank you, again, for your time, ideas and help! You are
absolutely correct, that I need to become as proficient as is
possible, with the commands! I have "Running Linux, Fourth Edition"
and ASAP, I will study the chapter(s) about the Command Line, which I
know has all the power and none of the problems that GUI front ends
sometimes have. Lanny