grubby error "unable to find a suitable template" when installing 2.6.24.3-12.fc8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   grubby fatal error: unable to find a suitable template

With a yum update:

Installing the latest kernel:
Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 kernel                  i686       2.6.24.3-12.fc8  updates            17 M
 kernel-devel            i686       2.6.24.3-12.fc8  updates           5.0 M

Transaction Summary
=============================================================================
Install      2 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 22 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel-devel                 ######################### [1/2] 
  Installing: kernel                       ######################### [2/2] 
grubby fatal error: unable to find a suitable template

Installed: kernel.i686 0:2.6.24.3-12.fc8 kernel-devel.i686 0:2.6.24.3-12.fc8
Complete!

I removed these RPMs and then attempted to get more debuggng info
by installing them with rpm.

# rpm -ivh -vvv kernel-2.6.24.3-12.fc8*rpm kernel-devel-2.6.24.3-12.fc8*rpm  2>&1 | tee /tmp/what-does-kupdatedo
=== snip ====
D: adding "fd318145e16128a02902037a57d13445b7ced070" to Sha1header index.
D: opening  db index       /var/lib/rpm/Filemd5s create mode=0x42
D: adding 2022 entries to Filemd5s index.
D:   install: %post(kernel-2.6.24.3-12.fc8.i686) synchronous scriptlet start
D:   install: %post(kernel-2.6.24.3-12.fc8.i686)        execv(/bin/sh) pid 19344
++ uname -i
++ uname -i
+ '[' i386 == x86_64 -o i386 == i386 ']'
+ '[' -f /etc/sysconfig/kernel ']'
+ /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' /etc/sysconfig/kernel
+ /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 2.6.24.3-12.fc8
grubby fatal error: unable to find a suitable template
D:   install: waitpid(19344) rc 19344 status 0 secs 13.091
D: opening  db index       /var/lib/rpm/Triggername create mode=0x42
D: ========== +++ kernel-devel-2.6.24.3-12.fc8 i686-linux 0x0
=== snip ====

# rpm -qf /sbin/new-kernel-pkg
mkinitrd-6.0.19-4.fc8

====
my boot loader is grub.
====

After adding -x to new-kernel-pkg I see:

#  /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 2.6.24.3-12.fc8
=== snip ====
++ sed 's/ release.*$//'
+ title='Fedora (2.6.24.3-12.fc8)'
+ /sbin/grubby --add-kernel=/boot/vmlinuz-2.6.24.3-12.fc8 --initrd /boot/initrd-2.6.24.3-12.fc8.img --copy-default --make-default --title 'Fedora (2.6.24.3-12.fc8)' '--args=root=LABEL=/ ' '--remove-kernel=TITLE=Fedora (2.6.24.3-12.fc8)'
grubby fatal error: unable to find a suitable template
+ '[' -n '' ']'
=== snip ====





-- 
	T o m  M i t c h e l l 
	Found me a new place to hang my hat :-)
	Looking for yet again a new place to hang my hat.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux