LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-25-2003, 07:56 PM   #1
ahernaiz
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
image=/boot/bzImage
label=new
then lilo to load the images
reboot
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, 09:19 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
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 System.map 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?

Quote:
image=/boot/bzImage
in my lilo.conf the line is

image=/boot/vmlinuz

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, 11:34 PM   #3
doublefailure
Member
 
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
 
  


Reply


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 01: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 04:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 05:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM


All times are GMT -5. The time now is 08:52 PM.

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