LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-03-2005, 05:29 PM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
How do i install the latest kernel for suse 8.2


MY kernel system is: 2.4.20-4GB-athlon

Ive downloaded the latest kernel patch-2.6.10.bz2

How do i install it?
 
Old 02-03-2005, 07:41 PM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
You can't. You must download the full source since you going from a 2.4.x to a 2.6.x

Patches work like this. You have a 2.4.20 kernel. You can patch that to 2.4.21. If you wanted to move up quite a bit, lets say to 2.4.26, you'd have to install all the patches sequentially. Like this:

Install the 2.4.21 patch
Then Install the 2.4.22 patch
Then Install the 2.4.23 patch
Then Install the 2.4.24 patch
Then Install the 2.4.25 patch
Then Install the 2.4.26 patch

Moving to the next "minor" version of a kernel (2.4 to 2.6) requires that you use the full source.
 
Old 02-05-2005, 04:04 AM   #3
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
Well i have a ftp server running and by patching or upgrading the kernel i wish it oes not affect anything......could anyone walk me through upgrading the kernel? which kernel to download what commands please?
 
Old 02-05-2005, 04:19 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
The question then is are you staying with the 2.4 series or moving to 2.6 ?
 
Old 02-05-2005, 04:22 AM   #5
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
i think i might just patch the kernel? first...
 
Old 02-05-2005, 04:34 AM   #6
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Since you are at 2.4.20, you need to download the 2.4.21patch

So,
download the .bz patch
put it in /usr/src.
cd /usr/src/linux
bzip2 -dc ../patch-2.6.2.bz2 | patch -p1


Then your source tree will be essentially 2.4.21 although the directory is still called 2.4.20.

make menuconfig
change anything you wish to change and save
make bzImage
make modules
make modules_install
cp ./arch/i386/boot/bzImage /boot/bzImage-2.4.21
mkinitrd -k bzImage-2.4.21 -i initrd-2.4.21

Now edit your bootloader
vi /boot/grub/menu.lst

create lines identical to the first set except name the kernel bzImage-2.4.21 and name initrd to initrd-2.4.21. If you post your current menu.lst, I can edit it for you so you'll know what it should be.
 
  


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
What is the latest version of SuSE with the 2.4.x kernel? abefroman Suse/Novell 4 11-23-2005 05:40 AM
Advice on using very latest kernel with Suse 9.1 rollo Suse/Novell 9 07-19-2005 12:58 PM
How to FTP online install latest SuSE jimothy05 Suse/Novell 15 02-13-2005 02:38 AM
How do I compile the latest kernel for SuSE 9.0? MatthewASmith79 Linux - Newbie 2 08-02-2004 09:04 PM
Howto install Woody with latest kernel? hellwoofer Debian 3 08-13-2003 01:15 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration