[Centos] kernel update with yum - no grub entry

Paul Pianta pantz at lqt.ca
Fri Dec 10 21:08:28 UTC 2004

On Fri, 2004-12-10 at 15:20 -0500, seth vidal wrote:
> On Fri, 2004-12-10 at 15:01 -0500, Paul Pianta wrote:
> > Hi people
> > 
> > I am new to this list - actually I am one of (probably) a few who are
> > jumping ship from WBEL. I feel like a bit of a scab jumping over at this
> > time - but we all make mistakes eh?
> > 
> > I have installed CentOS and ran 'yum update' and installed everything it
> > prompted me for. After a reboot, I realised I had booted into the same
> > original kernel-2.4.21-20.EL.c0smp and not the updated one -
> > kernel-2.4.21-20.0.1.ELsmp.
> > 
> > Upon further inspection I found that there was no entry made in
> > grub.conf for the new kernel, and there is no initrd in /boot for this
> > new kernel.
> > 
> > Could someone please explain what has happened and whether it is normal
> > behaviour or not? I am used to updating a kernel with yum and having all
> > of the grub stuff done automatically for me :/ Now that I might have to
> > do it manually myself I am getting all sooky and so came to this list to
> > cry for help (and coz I'm a lazy bastard!).
> Odd.
> yum doesn't even put the line in your grub.conf for the kernel to exist
> it just sets the default
> did your mkinitrd script not run? did you see an error?

I didn't see any errors and there is nothing in /var/log/yum.log except:
[root at lab-113 root]# cat /var/log/yum.log
Dec 10 11:34:47 Installed: kernel-smp 2.4.21-20.0.1.EL.i686
Dec 10 11:34:47 Installed: kernel 2.4.21-20.0.1.EL.i686
Dec 10 11:34:47 Updated: cups 1:1.1.17-13.3.16.i386
Dec 10 11:34:47 Updated: samba-client 3.0.7-1.3E.1.i386
Dec 10 11:34:47 Updated: gdk-pixbuf 1:0.22.0-11.3.3.i386

I'm actually trying to install Xen on this machine and I had setup the /
partition on LVM which I think is a no-no. Instead of screwing around
with it I'm just gonna reinstall. Will keep you updated on how 'yum
update' treats the kernel this time ...



Before you criticize someone, walk a mile in their shoes. That way, when
you do criticize them, you're a mile away and you have their shoes!

More information about the CentOS mailing list