[rhelv6-list] new kernel is installed but grub was not updatedproperly

Gary Gatling gsgatlin at ncsu.edu
Tue Jan 4 20:11:31 UTC 2011


I think this might be related to this bug?

https://bugzilla.redhat.com/show_bug.cgi?id=625216

I've been having to use sed instead of grubby as a temp workaround when 
adding kernel arguments to grub.conf in a kickstart install. Just until 
this gets fixed.

Cheers,

Gary Gatling      | ITECS Systems

On Tue, 4 Jan 2011, Jussi Silvennoinen wrote:

>> Hello
>> 
>> When I run yum -y update, the new kernel packages is downloaded and 
>> installed but grub.conf was not changed.
>> I receive this error:
>> 
>> Installing     : kernel-2.6.32-71.7.1.el6.i686 
>> 47/104
>> grubby fatal error: unable to find a suitable template
>
> Is this rhnreg_ks during kickstart instead on yum -y update afterwards?
> In my case, I noticed Anaconda or whatever sets up /etc/mtab during install 
> in such a manner that grubby is confused.
>
> So I "egrep '(\/sysimage |\/sysimage\/boot)' /etc/mtab | sed -r -e 
> 's/\/mnt\/sysimage(\/)?/\//' /etc/mtab >/mnt/sysimage/etc/mtab" and run our 
> Satellite registration chrooted to /mnt/sysimage.
>
> -- 
>
>  Jussi
>
> _______________________________________________
> rhelv6-list mailing list
> rhelv6-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhelv6-list
>




More information about the rhelv6-list mailing list