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

Re: kernel-2.4.20-13.8.i686.rpm error



On Mon, 2003-05-26 at 22:30, Michael Mansour wrote:
> Hi,
> 
> I have a dedicated server in a remote location
> (internationally) running RH8. I applied the following
> kernel to fix the recently reported exploit, and got
> the following error:
> 
> [root server up2date]# rpm -Uvh
> kernel-2.4.20-13.8.i686.rpm

Not sure, but it could be because you used -Uvh instead
of -ivh (upgrade rather than install).  I've never 
tried this but it could be that grubby became confused
when it couldn't find a specific entry to update.

Always install new kernels, and delete old ones using,

rpm -e kernel-whatever.rpm

Any grub afficianados that can help this guy get grub
reconfigured?  I'm a lilo type so I really can't help,
and I'm too lazy to figure it out for myself.

As far as I can tell, your grub.conf looks good, assuming
that you do have a /boot mounted on /dev/hda1

> Preparing...               
> ########################################### [100%]
>    1:kernel                
> ########################################### [100%]
> grubby fatal error: unable to find a suitable template
> grubby fatal error: unable to find a suitable template
> Fatal: No images have been defined.
> 
> I then checked the local installed files and they
> looked ok:
> 
> [root server up2date]# cat /etc/grub.conf
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making
> changes to this file
> # NOTICE:  You have a /boot partition.  This means
> that
> #          all kernel and initrd paths are relative to
> /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=/dev/hda5
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=10
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title Red Hat Linux (2.4.20-13.8)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.20-13.8 ro root=LABEL=/
>         initrd /initrd-2.4.20-13.8.img
> 
> [root server /]# ls -l boot
> total 5001
> -rw-r--r--    1 root     root          512 May 20
> 18:56 boot.0300
> -rw-r--r--    1 root     root         5824 Sep  5 
> 2002 boot.b
> -rw-r--r--    1 root     root          612 Sep  5 
> 2002 chain.b
> -rw-r--r--    1 root     root        44753 May 12
> 18:36 config-2.4.20-13.8
> drwxr-xr-x    2 root     root         1024 May 26
> 08:23 grub
> -rw-r--r--    1 root     root       131763 May 26
> 08:23 initrd-2.4.20-13.8.img
> -rw-r--r--    1 root     root          473 May 20
> 18:42 kernel.h
> drwx------    2 root     root        12288 May 20
> 18:37 lost+found
> -rw-------    1 root     root        16896 May 26
> 08:23 map
> -rw-r--r--    1 root     root        23108 Sep  6 
> 2002 message
> -rw-r--r--    1 root     root        21282 Sep  6 
> 2002 message.ja
> lrwxrwxrwx    1 root     root           23 May 26
> 08:23 module-info -> module-info-2.4.20-13.8
> -rw-r--r--    1 root     root        15438 May 12
> 18:36 module-info-2.4.20-13.8
> -rw-r--r--    1 root     root          640 Sep  5 
> 2002 os2_d.b
> lrwxrwxrwx    1 root     root           22 May 26
> 08:23 System.map -> System.map-2.4.20-13.8
> -rw-r--r--    1 root     root       518689 May 12
> 18:36 System.map-2.4.20-13.8
> -rw-r--r--    1 root     root      3174975 May 12
> 18:36 vmlinux-2.4.20-13.8
> lrwxrwxrwx    1 root     root           19 May 26
> 08:23 vmlinuz -> vmlinuz-2.4.20-13.8
> -rw-r--r--    1 root     root      1117087 May 12
> 18:36 vmlinuz-2.4.20-13.8
> 
> Although I wasn't sure whether the machine was using
> lilo or grub (the datacentre built a basic RH8 machine
> for me which I then configured), I checked lilo.conf:
> 
> [root server /]# cat /etc/lilo.conf
> prompt
> timeout=50
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> message=/boot/message
> lba32
> 
> >From these entries I assumed LILO wasn't being used.
> 
> After booting the box, the box no longer comes up.
> Without local console access I also don't know what
> wrong with it. I have raised an urgent call with the
> server provider but they are very slow getting back to
> me (it's been over 24hours already), so I thought I'd
> ask here.
> 
> Any ideas what the error above means?
> 
> Thanks.
> 
> Michael.
> 

--
One Guy Coding                      http://oneguycoding.com
Montreal, Quebec                    steeve oneguycoding com
:wq

        Finagle's Law: The perversity of the universe tends toward a
        maximum.




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