Try using -U instead of -i.  It looks like rpm is saying it can't install
because it already exists...howerver, -U is upgrade...which may very well
work.

Also, instead of /boot/vmlinux-2.2.16-3, see if /boot/vmlinuz-2.2.16-3
exists...if so, change the "Boot image:" line to read vmlinuz, instead.
It's a compressed kernel, and lilo won't complain.

On Wed, 31 Jan 2001, Tomás García Ferrari wrote:

> Hi,
>
> I am trying to upgrade the kernel to kernel-2.2.16-3. I did it like this:
>
> > [root@host RPMS]# rpm -Uvh kernel-source-2.2.16-3.i386.rpm
> > kernel-headers-2.2.16-3.i386.rpm
> > kernel-source               ##################################################
> > kernel-headers              ##################################################
> > cannot remove /usr/src/linux-2.2.14/include/linux - directory not empty
> > cannot remove /usr/src/linux-2.2.14 - directory not empty
> > [root@host RPMS]# rpm -ivh kernel-2.2.16-3.i586.rpm
> > kernel                      ##################################################
>
> Then I add in /etc/lilo.conf this:
>
> > image=/boot/vmlinux-2.2.16-3
> > label=newlinux
> > read-only
> > root=/dev/hda5
>
> And when I run lilo -v I have this error message (kernel boot is too
> big!)...
>
> > [root@host RPMS]# lilo -v
> > LILO version 21, Copyright 1992-1998 Werner Almesberger
> >
> > Reading boot sector from /dev/hda
> > Merging with /boot/boot.b
> > Boot image: /boot/vmlinuz-2.2.14-5.0
> > Added linux *
> > Boot image: /boot/vmlinux-2.2.16-3
> > Kernel /boot/vmlinux-2.2.16-3 is too big
>
> Why is this happening? Any clue?
>
> Thanks,
> Tomás
>
> Tomas Garcia Ferrari
>
> Bigital
> http://bigital.com
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



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

Reply via email to