Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-25-2003, 06:56 PM   #1
LQ Newbie
Registered: Mar 2003
Posts: 9

Rep: Reputation: 0
New Kernel

ok I tried to upgrade my kernel from 2.4.19 to 2.4.20.
first i downloaded the kernel source.
then i did the xconfig
then i did make dep
then make bzImage (zImage gave an error about being too big.
then mv bzImge to the boot dir
then make modules
then make modules_install
then changed the lilo.conf to include the new image
then lilo to load the images
when lilo comes up i select new and my computer just restarts.
i select just linux (the other image) and everything loads up but when i do uname -r, my old kernel version comes up

where did i go wrong?
Thanks in advance
Old 03-25-2003, 08:19 PM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 417Reputation: 417Reputation: 417Reputation: 417Reputation: 417
I'm guessing that if make bzImage gave an error that it was too big, you're newly compiled kernel simply isn't going to work.

I'd do a couple of things
1) Make copies of your old vmlinux and so if your next kernel also goes kablooie, you still have a backup. After learning the hard way, I now have a vmlinuz.good and System.good that I can always use.

2) Did you actually name your kernel bzImage?

in my lilo.conf the line is


as far as I know, just using the standard compile creates a kernel called vmlinuz, not bzImage.

3) Head over to the Slackware section of the Distribution forum. DaOne has posted a very good explanation of how to compile a kernel including how and why to use make install after make bzImage.
Old 03-25-2003, 10:34 PM   #3
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i think bzImage is correct

did u forget to do '/sbin/lilo -v' ?
make sure your lilo.conf reflex the change you made


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration