LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-01-2006, 05:45 PM   #1
alex1986
Member
 
Registered: Nov 2005
Location: Ottawa, Canada
Distribution: none yet
Posts: 96

Rep: Reputation: 19
newb trying to upgrade to kernel (2.6.17.7)


can somebody show me a super easy step by step guide of how to do whatever i need to do to upgrade to kernel (2.6.17.7). I have already downloaded patch-2.6.17.7.bz2
 
Old 08-01-2006, 07:04 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Do you already have 2.6.17.6. The patch you have is applied to that kernel release. It may be applied to 2.6.17 release to but not sure. What you need is the full file if you have none of the previous source versions from the current tree line.

Now there are a few good compile post here. Do a search for them.

But the basics is this.
As root extract the file to /usr/src
This will create a directory called 2.6.17.7
Once extracted be in /usr/src
Run the commnad ' ln -s linux-2.6.17.7 linux '
Then ' cd linux '
Now run ' make oldconfig '. Hopefully this will gather info on current kernel to save config option choices. This will make a file called config or .config
Now run one of the following to make changes you may need ' make config ' or ' make gconfig ' or make xconfig '
Now After changes you did save the configuration to a file. Then hit the Save option and finally hit the Exit option.
Run the following commands
' make ' to build the kernel and make modules
' make modules_install ' to install modules in /lib/modules/2.6.17.7
' make install ' to add to /boot dirrectory and bootloader.

Reboot and see how it went.

One note uncheck the DVB options because there is a issue in this release with some or all of that section.

Brian1
 
Old 08-01-2006, 08:55 PM   #3
alex1986
Member
 
Registered: Nov 2005
Location: Ottawa, Canada
Distribution: none yet
Posts: 96

Original Poster
Rep: Reputation: 19
i have kernel 2.4.13 installed

So i have the wrong Kernel file?
 
Old 08-04-2006, 04:22 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Yes you have the wrong file. You need the full kernel release of 2.6.17.7 or whatever is newer. One thing to google around for is to see with your distro what it may take to get a 2.6 kernel to work on a system that is setup as 2.4. Some compilers may need upgraded to compile the kernel. In the easiest option is to upgrade to a 2.6 kernel distro.

Brian1
 
Old 08-04-2006, 05:31 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Basically, you can't "just jump" from 2.4.x to 2.6.x.

By far the easiest way to do it is this: first, upgrade your distro. Let the distro's upgrade mechanism do all of the (very!) hard work for you. Once you're running on a 2.6.x kernel you can upgrade it by other means if you choose.
 
  


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
newb wrestling with kernel upgrade Gersen Linux - Software 2 04-19-2005 10:44 PM
Slack Upgrade Wreaks Havoc - Newb in Trouble! davatar Slackware 4 03-13-2005 11:04 AM
Trouble with newb kernel compile vortical Linux - General 5 03-02-2004 10:23 AM
Kernel Newb markopolox Linux - Newbie 2 10-16-2003 10:01 AM
kernel / ipchains newb. Help please skeletal29 Linux - General 1 06-02-2002 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:00 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