Brunner, Brian T. wrote: >> [mailto:centos-bounces at centos.org] On Behalf Of Aleksey Tsalolikhin >> >> Hi. I just noticed I had a CentOS 5.3 system that I updated to CentOS >> 5.5 a few days ago, and I just ran "yum -y update" again to get the latest >> kernel, and I just noticed it still has the old 2.6.18-128 >> kernel instead of the new 2.6.18-194.17. What gives? >> >> /etc/grub.conf points at 2.6.18-194.17, but when I reboot, >> 2.6.18-128 comes up. >> >> myserver# yum -y update >> ... >> myserver# reboot >> ..... >> >> myserver# uname -a >> Linux hwd-ddc-sonydb-prod 2.6.18-128.4.1.el5 #1 SMP Tue Aug 4 >> 20:19:25 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux myserver# >> cat /etc/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,0) >> # kernel /vmlinuz-version ro root=/dev/md1 >> # initrd /initrd-version.img >> #boot=/dev/md0 >> default=0 >> timeout=5 >> splashimage=(hd0,0)/grub/splash.xpm.gz >> hiddenmenu >> title CentOS (2.6.18-194.17.1.el5) > > Caveat: I am not a grub guru, and don't play one on TV. > This is the only "title" line in your grub.conf, so it's the only entry > in your grub.conf as far as grub cares. > >> 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 myserver# rpm -q kernel > > This is the last kernel line, so it's the one that grub acts on. > Result: You boot 2.6.18-128.4.1.el5 <snip> Huh? default is 0, so it will go against the first title, not the last. Wait - I haven't been following this over the weekend, so 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. mark