ah hello. i got this message too.
grubby fatal error: unable to find a suitable template
when upgradeing the kernel 2.4.18-14 to 2.4.18-24.8.0 the rpm gave this error.
however, after the rpm upgrade i was able to boot to the new kernal that was created 
in /boot.
i wonder if anyone knows whether thisis really a fatle error as rpm reports it to be.



-----Original Message-----
From: Michael A. Peters [mailto:[EMAIL PROTECTED]
Sent: Saturday, 1 March 2003 11:49 PM
To: Red Hat List
Subject: grubby complains


Howdy- I am maintaining a kernel for the A7N8X (nforce2) boards with Red
Hat Linux. With kernel 2.4.21pre5 I decided to try and have my kernel
rpm add the kernel to the boot loader automagically, following the
example in the Red Hat kernel rpm spec file.

I use lilo, and it does not seem to work - grubby complains:

grubby fatal error: unable to find a suitable template

The kernel is not added to lilo.
It does seem to properly add it to a grub.conf file, though.

If I install a Red Hat kernel, lilo gets properly updated.
What the hell is going on?

Here is my %post section of the rpm spec file:
%post
if [ `grep -c "i810_audio" /etc/rc.local` -eq 0 ]; then
        echo "/sbin/modprobe i810_audio" >> /etc/rc.local
fi
cd /boot
ln -sf module-info-%{patchversion} module-info
ln -sf System.map-%{patchversion} System.map
ln -sf vmlinuz-%{patchversion} vmlinuz
[ -x /usr/sbin/module_upgrade ] && /usr/sbin/module_upgrade
[ -x /sbin/mkkerneldoth ] && /sbin/mkkerneldoth

if [ -x /sbin/new-kernel-pkg ]; then
        /sbin/new-kernel-pkg --mkinitrd --depmod --install
%{patchversion}
fi

The complete spec file is attached.
-- 
Michael A. Peters <[EMAIL PROTECTED]>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to