LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-08-2004, 01:05 AM   #1
mkorpel
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Post How to upgare kernel?


Hi to all
I have RH 9.0 installed, and now i like to know how to upgrade kernel example 2.6 ?

Thaks to everybuddy who can help me.


Best regards
Markku Korpela
 
Old 01-08-2004, 01:20 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Download from here:

http://www.kernel.org/

Then untar the file and read the README file on how to compile.

Make sure you go through each menu/screen and have a boot disk just in case or if you use grub, just save the old kernel for back up.

Later

 
Old 01-08-2004, 01:22 AM   #3
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
First step is to download the 2.6.0 kernel from http://www.kernel.org.

Save it in your /usr/src directory, then unarchive the new kernel. There should already be a symbol link in that directory called 'linux'. Delete that and then create a new one to the new kernel source (ln -s linux-2.6.0 linux).

The next thing you should do is read the relevant files in the Documentation directory (at least Documentation/Changes). It will outline the versions of various tools you'll need.

Then type 'cd linux; make menuconfig'. This brings you into a user-friendly configuration where you get to choose what you want your kernel to support. When you're done make sure you save the configuration when you exit. Then type 'make; make modules_install'.

The newly compiled kernel should be called /usr/src/linux/arch/i386/boot/bzImage. Backup your old kernel (probably /vmlinuz or /boot/vmlinuz) and then copy the bzImage file over your old one (i.e. cp bzImage /vmlinuz). Then just rerun lilo and you're set.
 
Old 01-08-2004, 01:24 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Oh yeah, just in case you are a newbie, it goes in /usr/src .

Later

 
Old 01-08-2004, 01:26 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
itsme86, we must be on the basketball courts, cause we are on the ball tonight.

Later

 
  


Reply



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
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 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
Open Source Consulting | Domain Registration