[BlueOnyx:10251] grub.conf problems

Steven Howes steve-lists at geekinter.net
Fri Apr 20 09:09:39 -05 2012


Hi All,

Just realised our BlueOnyx boxes on SL are not running the latest kernel that is installed. I looked in /boot/grub/menu.lst and the new kernels were not in there. They were however in /etc/grub.conf . It looks like yum is putting the kernels in /etc/grub.conf but grub is using /boot/grub/grub.conf... All our boxes are pretty consistent about this. Here are the dates etc below to prove it:

[root at arabella grub]# ls -l /etc/grub.conf
-rw------- 1 root root 1745 Apr 19 06:03 /etc/grub.conf

[root at arabella grub]# ls -l /boot/grub/menu.lst
lrwxrwxrwx. 1 root root 11 Mar  1 19:20 /boot/grub/menu.lst -> ./grub.conf

[root at arabella grub]# ls -l /boot/grub/grub.conf
-rw-------. 1 root root 822 Mar  1 19:20 /boot/grub/grub.conf

[root at arabella grub]# grep grub.conf /var/log/anaconda.program.log
14:20:15,498 INFO    : grub> install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0) /grub/stage2 p (hd0,0)/grub/grub.conf

[root at arabella grub]# uname -a
Linux arabella.poundbury.net 2.6.32-220.4.1.el6.i686 #1 SMP Mon Jan 23 17:25:22 CST 2012 i686 i686 i386 GNU/Linux

[root at arabella grub]# yum info kernel | egrep 'Release|Repo'
Release     : 220.4.1.el6
Repo        : installed
Release     : 220.7.1.el6
Repo        : installed
Release     : 220.13.1.el6
Repo        : installed

[root at arabella grub]# cat /etc/grub.conf | grep title
title Scientific Linux (2.6.32-220.13.1.el6.i686)
title Scientific Linux (2.6.32-220.7.1.el6.i686)
title BlueOnyx (2.6.32-220.4.1.el6.i686)

[root at arabella grub]# cat /boot/grub/grub.conf | grep title
title BlueOnyx (2.6.32-220.4.1.el6.i686)

Has anyone else come across this?..

Steve



More information about the Blueonyx mailing list