[CentOS] grub irritants

Mon Nov 1 18:26:36 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

Akemi Yagi wrote:
> On Mon, Nov 1, 2010 at 11:14 AM,  <m.roth at 5-cent.us> wrote:
>> It appears that if I do anything to grub.conf, say, take out the rhgb
>> quiet, after every succeding kernel update, I have to manually edit
>> grub.conf, because the kernel update - maybe the post install script? -
>> will set the default to be the previous kernel. Has anyone got a
>> solution to this, so that a kernel update will give the new kernel as the
>> default?
>
> You may want to look into /etc/sysconfig/kernel and see what these two
> lines say:
>
> UPDATEDEFAULT=yes
> DEFAULTKERNEL=kernel
>
Just had to deal with this on one system. Looked at that, they're correct.

      mark