[LUGOS] grubby fatal error: unable to find a suitable template

Klemen Humerca klemen at humerca.com
Thu Oct 30 17:42:58 CET 2008


Na Fedora Core 9 sem zasledil sledeči error:

grubby fatal error: unable to find a suitable template

Napaka se pojavi pri namestitvi (ali update) kernela. Zasledil sem jo 
pri avtomatičnem updatu z ukazom yum -y upgrade. Enako se zgodi tudi, če 
kernel namestim z rpm ukazom. V grub.conf kernel ne vpiše novih vrstic 
za zagon. Če to storim ročno se sistem ne naloži in se ustavi pri 
inicializaciji gonilnikov, ker ne najde root-a. Spodaj je del verbose 
inštalacije z rpm-ja:

    D: adding 1 entries to Installtid index.
    D: opening db index /var/lib/rpm/Sigmd5 create mode=0x42
    D: adding 1 entries to Sigmd5 index.
    D: opening db index /var/lib/rpm/Sha1header create mode=0x42
    D: adding "4bd647eca284f320c65982b6662e59a87ba6a3a5" to Sha1header
    index.
    D: opening db index /var/lib/rpm/Filemd5s create mode=0x42
    D: adding 2157 entries to Filemd5s index.
    D: install: %post(kernel-2.6.26.6-79.fc9.i586) asynchronous
    scriptlet start
    D: install: %post(kernel-2.6.26.6-79.fc9.i586) execv(/bin/sh) pid 9671
    ++ 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.26.6-79.fc9.i586
    grubby fatal error: unable to find a suitable template
    D: install: waitpid(9671) rc 9671 status 0 secs 61.688
    D: running post-transaction scripts
    D: Expected size: 18876201 = lead(96)+sigs(344)+pad(0)+data(18875761)
    D: Actual size: 18876201
    D: kernel-2.6.26.6-79.fc9: Header V3 DSA signature: OK, key ID 6df2196f
    D: (null): %posttrans(kernel-2.6.26.6-79.fc9.i586) synchronous
    scriptlet start
    D: (null): %posttrans(kernel-2.6.26.6-79.fc9.i586) execv(/bin/sh)
    pid 13149
    + /sbin/new-kernel-pkg --package kernel --rpmposttrans
    2.6.26.6-79.fc9.i586
    D: (null): waitpid(13149) rc 13149 status 0 secs 0.206
    D: closed db index /var/lib/rpm/Pubkeys
    D: closed db index /var/lib/rpm/Filemd5s
    D: closed db index /var/lib/rpm/Sha1header
    D: closed db index /var/lib/rpm/Sigmd5
    D: closed db index /var/lib/rpm/Installtid
    D: closed db index /var/lib/rpm/Provideversion
    D: closed db index /var/lib/rpm/Requireversion
    D: closed db index /var/lib/rpm/Dirnames
    D: closed db index /var/lib/rpm/Triggername
    D: closed db index /var/lib/rpm/Conflictname
    D: closed db index /var/lib/rpm/Providename
    D: closed db index /var/lib/rpm/Requirename
    D: closed db index /var/lib/rpm/Group
    D: closed db index /var/lib/rpm/Basenames
    D: closed db index /var/lib/rpm/Name
    D: closed db index /var/lib/rpm/Packages
    D: closed db environment /var/lib/rpm/Packages
    D: May free Score board((nil))



Obstoječi kernel se normalno zažene. Je možno, da je do kakšne napake 
prišlo pri nadgradnji iz fc8 na fc9? Obstoječi kernel je ostal od fc8 
(2.6.24.4-64.fc8).

Hvala.

-- 
Klemen Humerca

( klemen at humerca.com | blog.humerca.com)



More information about the lugos-list mailing list