Re: Kernel install error and what use is bugzilla?

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

 



Somebody in the thread at some point said:
> On Sat, Jul 21, 2007 at 10:29:07AM +0100, Andy Green wrote:
>> Somebody in the thread at some point said:
>>>   Installing: kernel                       ####################### [25/71] 
>>>   grubby fatal error: unable to find a suitable template
>> What is in your /boot/grub/grub.conf at the moment?
>>
>> You might also try copying that file to, eg, /tmp/grub.conf and running
>> grubby by hand with a test like
>>
>> export KERNVER=2.6.1234 ; grubby --config-file /tmp/grub.conf
>> --add-kernel /boot/vmlinuz-$KERNVER --initrd=/boot/initrd-$KERNVER.img
>> --title $KERNVER --set-default=/boot/vmlinuz-$KERNVER --copy-default
>>
>> This works as expected here and makes a fake entry at the top of
>> /tmp/grub.conf.  Does it create the template error for you?
>>
> 
> Yep - same error.
> 
> grub.conf looks like this -

I can reproduce it with your grub.conf... but... I can also reproduce it
if I change my working grub.conf so that the file named in the kernel
line doesn't exist.  Eg

        kernel /vmlinuz-2.6.22-rc7 ro root=LABEL=/

works okay, but if I deliberately change it

        kernel /vmlinuz-2.6.22-rc7x ro root=LABEL=/

then I get your error.  The difference is that /boot/vmlinuz-2.6.22-rc7
exists and the ..rc7x file doesn't.

straceing grubby with the ..rc7x bogus edit shows...


access("/boot/vmlinuz-2.6.22-rc7x", R_OK) = -1 ENOENT (No such file or
directory)
access("/boot/vmlinuz-2.6.22-rc7x", R_OK) = -1 ENOENT (No such file or
directory)
write(2, "grubby fatal error: unable to fi"..., 55grubby fatal error:
unable to find a suitable template
) = 55

Therefore... does /boot/vmlinuz-2.6.21-1.3194.fc7 exist on your box?

-Andy

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux