[5900] in RedHat Linux List
Re: incorrect kernel version
daemon@ATHENA.MIT.EDU (Todd Weible)
Sun Nov 24 21:04:30 1996
Date: Sun, 24 Nov 1996 19:00:46 -0700 (MST)
From: Todd Weible <toddw@cyberhighway.net>
To: redhat-list@redhat.com
In-Reply-To: <2.2.32.19961125004120.006a3310@email.psu.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Sun, 24 Nov 1996, K. Harrison Liang wrote:
> At 07:35 PM 11/24/96 -0500, you wrote:
> >On Sun, 24 Nov 1996, K. Harrison Liang wrote:
> >
> >> I downloaded and re-compiled the latest 2.0.26 kernel under RH/Intel
> >> 4.0. But when I start up Redhat Linux, it still says "2.0.18" kernel. I'm
> >> pretty sure I compiled the 2.0.26 kernel since I removed the 2.0.18
> >> directory completely before compiling the new kernel. Does anyone know how
> >> to fix/remove this incorrect kernel message? Thanks!
> >
> >You have to do more than just compile the new kernel; you have to install
> >it. The easiest way to do this is:
> >
> >cp /usr/src/linux-2.0.26/arch/i386/boot/zImage /boot/vmlinuz
> >lilo
^^^^
> >
> >Hope this helps,
> >-- Elliot
>
> I did "make dep; make clean; make zlilo" and vmlinuz was copied to
> /. And I still got 2.0.18 message. Any more clue? Thanks.
>
Well, for starters, the default path for kernels that lilo uses is in
/boot not /
also, Elliot mentioned that you should, but you did not mention whether or
not you ran lilo again after copying the file.
But rest assured, it won't help if you don't update the correct kernel
file in /boot. Anyway, read /etc/lilo.conf and you can overwrite the
exact file that it is pulling from /boot, or you could create another
entry in lilo.conf and give yourself another boot option and not overwrite
the said file. Either way, run "lilo" when finished.
Hope this helps,
Todd
toddw@cyberhighway.net
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null