[CentOS] system "stuck" with 2.6.18-128 kernel. how to move to2.6.18-194.17?

John Doe jdmls at yahoo.com
Mon Oct 4 15:57:32 UTC 2010


From: "Brunner, Brian T." <BBrunner at gai-tronics.com>

> > I can't tell if someone's email has run the lines together. The 
> > first entry has to be
> > >> title CentOS  (2.6.18-194.17.1.el5)
> > >>         root  (hd0,0)
> > >>         kernel  /vmlinuz-2.6.18-194.17.1.el5 ro root=/dev/md1
> > >>          initrd /initrd-2.6.18-194.17.1.el5.img
> > with the next  "title" on the next line.
> BINGO!  Only one time did the word 'title'  appear in his grub.conf.
> So I looked at the LAST not FIRST 'kernel' line  after 'title' and noted
> that the 'kernel' info there matched what actually  booted.
> I surmise that grub reads the title-to-title section  top-to-bottom
> discarding any earlier 'kernel' line if it hits a subsequent  'kernel'
> line.

>From his original post:
default=0
...
title CentOS (2.6.18-194.17.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.17.1.el5 ro root=/dev/md1
initrd /initrd-2.6.18-194.17.1.el5.img

title CentOS (2.6.18-194.11.4.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.11.4.el5 ro root=/dev/md1
initrd /initrd-2.6.18-194.11.4.el5.img

title CentOS (2.6.18-128.4.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.4.1.el5 ro root=/dev/md1
initrd /initrd-2.6.18-128.4.1.el5.img

JD


      



More information about the CentOS mailing list