On 26 Aug 2009, at 15:39, Richard Siddall wrote:
> I think the RPM uninstall scripts do a good job of cleaning up
> grub.conf. I haven't noticed cruft in grub.conf or leftover .gz files
> to be a problem (but that may be me not paying attention).
I always seem to end up (whatever method I use) with a couple of
errand entries in grub.conf (my box at home still lists the nuonce
original kernel in there I think). I'll occasionally feel tempted to: rm
*.gz - but TBH, they don't take up that much space.
Oddity on this box I'm looking at is that grub conf is saying
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.9-89.0.9.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-89.0.9.EL ro root=/dev/md1
initrd /initrd-2.6.9-89.0.9.EL.img
title CentOS (2.6.9-89.0.9.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-89.0.9.ELsmp ro root=/dev/md1
initrd /initrd-2.6.9-89.0.9.ELsmp.img
title CentOS (2.6.9-78.0.22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.22.EL ro root=/dev/md1
initrd /initrd-2.6.9-78.0.22.EL.img
title CentOS (2.6.9-78.0.22.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.22.ELsmp ro root=/dev/md1
initrd /initrd-2.6.9-78.0.22.ELsmp.img
so it looks like it's set to boot from the latest kernel, but uname -a
returns
2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 19 20:05:04 EST 2008 i686
i686 i386 GNU/Linux
Think I'll go for a coffee and try to unforget all that stuff about
booting and kernels!