Alfred von Campe
2011-Aug-31 16:12 UTC
[CentOS] Error installing latest CentOS kernel from %post section of kickstart
I'm running the command "yum -y update" from a script called from the the post section of my kickstart config file, and I get the following error: Installing : kernel-2.6.32-71.29.1.el6.i686 185/378 grubby fatal error: unable to find a suitable template After the install, if I log in to the system and remove that RPM and then re-install it with "yum install kernel", the grub.conf file is updated correctly. Any ideas why this might be failing from kickstart? Anyone else seen this? Alfred
Ned Slider
2011-Aug-31 18:58 UTC
[CentOS] Error installing latest CentOS kernel from %post section of kickstart
On 31/08/11 17:12, Alfred von Campe wrote:> I'm running the command "yum -y update" from a script called from the the post section of my kickstart config file, and I get the following error: > > Installing : kernel-2.6.32-71.29.1.el6.i686 185/378 > grubby fatal error: unable to find a suitable template > > After the install, if I log in to the system and remove that RPM and then re-install it with "yum install kernel", the grub.conf file is updated correctly. Any ideas why this might be failing from kickstart? Anyone else seen this? > > Alfred >Yes, it's a known issue: https://www.redhat.com/archives/rhelv6-list/2011-January/msg00006.html https://bugzilla.redhat.com/show_bug.cgi?id=625216 https://bugzilla.redhat.com/show_bug.cgi?id=657257
John Doe
2011-Sep-01 10:33 UTC
[CentOS] Error installing latest CentOS kernel from %post section of kickstart
From: Alfred von Campe <alfred at von-campe.com>> ? ? Installing? ? : kernel-2.6.32-71.29.1.el6.i686? ? ? ? ? ? ? ? ? ? ? > 185/378 > grubby fatal error: unable to find a suitable templateIn the mean time, I just manualy add the grub entry for the new kernel and it boots fine (not sure if there are other side effects though). JD