yum install kernel grubby error

tried to upgrade kernel to lataest


root@host [~]# yum install kernel
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: CentOS-3 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: kernel 2.4.21-27.0.4.EL.i686]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
kernel 100 % done 1/1
stdin: is not a tty
stdin: is not a tty
stdin: is not a tty
grubby fatal error: unable to find a suitable template
Kernel Updated/Installed, checking for bootloader
Lilo found - adding kernel to lilo and making it the default
Installed: kernel 2.4.21-27.0.4.EL.i686
Transaction(s) Complete
here is /etc/lilo.conf


prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.21-27.0.4.EL
label=2.4.21-27.0.4.E
initrd=/boot/initrd-2.4.21-27.0.4.EL.img
read-only
root=/dev/hda2

image=/boot/vmlinuz-2.4.21-27.0.1.ELsmp
label=linux
initrd=/boot/initrd-2.4.21-27.0.1.ELsmp.img
read-only
root=/dev/hda2

image=/boot/vmlinuz-2.4.21-27.0.1.EL
label=linux-up.bak
initrd=/boot/initrd-2.4.21-27.0.1.EL.img
read-only
root=/dev/hda2

image=/boot/vmlinuz-2.4.21-27.0.4.EL
label=linux-up
root=/dev/hda2
read-only
initrd=/boot/initrd-2.4.21-27.0.4.EL.img


why did i got :
grubby fatal error: unable to find a suitable template

and why kernel 2.4.21-27.0.4.EL.img was not set to default

 

 

 

 

Top