Review your favorite Linux distribution.
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 07-24-2003, 07:26 PM   #1
LQ Newbie
Registered: May 2003
Location: Toronto
Posts: 18

Rep: Reputation: 0
Compiling new kernel

I'm trying to load a new kernel onto my system. I've followed
the Linux-HOWTO website.

I have RH9 with kernel 2.4.20-6
I'm compiling kernel 2.4.20 from (I have a patch that
doesn't work with RH's kernel)

make modules-install said it had nothing to do, though I
enabled loadable modules during make xconfig.

I copied bzImage and to /boot and linked
vmlinuz and to them. I rebooted, and when I type
uname -a I see that the original kernel is there!
How do I use the new kernel?

Old 07-24-2003, 11:34 PM   #2
LQ Newbie
Registered: May 2003
Location: american
Posts: 10

Rep: Reputation: 0
i think if you have a new kernel you have to :
#make menuconfig
#make install bzImage modules
#make modules_install
After that you have to setting you master boot record
and copy bzImage to you /boot
cp bzImage /boot
config you grub.conf
Old 07-25-2003, 11:03 AM   #3
LQ Newbie
Registered: May 2003
Location: Toronto
Posts: 18

Original Poster
Rep: Reputation: 0
Yah I did all that, minus the grub thing which
shouldn't matter - it should load vmlinuz which
points to my new kernel image right ?

I proved the new kernel works and can boot

grub> kernel /bzImage.pker.24July2003
grub> boot
uname -a -> 2.4.20


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
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 02:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 03:02 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 05:17 AM
Compiling new kernel joseph Linux - Software 2 10-14-2003 08:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 06:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 PM.

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
Open Source Consulting | Domain Registration