LinuxQuestions.org
Review your favorite Linux distribution.
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 03-13-2005, 12:05 PM   #1
123456
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Rep: Reputation: 0
Kernel


How can I get my kernel from a 2.4 to a 2.6.7?
 
Old 03-13-2005, 12:27 PM   #2
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Maybe if you'd tell us what distro you're running we could be of more help. Meanwhile, if you just want to change your kernel, go to ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ and pick what you want.
 
Old 03-13-2005, 12:43 PM   #3
Jasondt2001
LQ Newbie
 
Registered: Mar 2005
Location: Salinas, California
Distribution: Red Hat Linux 9 Distro
Posts: 1

Rep: Reputation: 0
I would like to learn to upgrade my kernel to the new 2.6 as well.
I do not know any of the commands to do it, or even how to start to go about it.
I have redhat 9 with the standard 2.4 kernel. Is there a place in particular that can
teach how to upgrade and really configure the kernel to what i need?

- Jason
 
Old 03-13-2005, 12:46 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Why 2.6.7 and not 2.6.10+.
 
Old 03-13-2005, 12:48 PM   #5
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Quote:
Originally posted by Jasondt2001
I would like to learn to upgrade my kernel to the new 2.6 as well.
I do not know any of the commands to do it, or even how to start to go about it.
In this case it is better to upgrade your kernel using RedHat's package manager rather than compiling it. I don't have experience with rpms but wait until a RedHat user shows around or you can go post on their forum as well.
@reddazz: 2.6.11.3 is just out!
 
Old 03-13-2005, 02:22 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Thats a pain in the butt coz last night I just compiled 2.6.11.2. Maybe I better skip odd numbers, but knowing myself I won't be able to resist the temptation of compiling the newest kernel.
 
Old 03-13-2005, 03:36 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I've upgraded 2.4 -> 2.6 on a RH9 machine at work and it's a bit of a pain because you need to install the module-init-tools before you can update the kernel. After that it's just a standard kernel compile, which has been discussed extensively on this forum (see the thread, I think it's in Linux-General). Do try to compile everything your system absolutely needs into the kernel though (not as a module) in case there's a problem with the new module-init-tools (happens sometimes, in my experience).
 
Old 03-17-2005, 07:18 PM   #8
123456
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry, I'm using the download mandrake, and I need to upgrade it to use my wusb54g network adapter. The responses I've been getting is that I need at least 2.6.7.
 
Old 03-17-2005, 07:32 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
For mandrake, you can install a kernel package. It will set up everything for you. You might want to install the matching kernel-source package also.
 
Old 03-17-2005, 08:29 PM   #10
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
In Mandrake, as jschiwal says, you can install the kernel package.
Get urpmi sources from EasyURPMI and install them per the instructions, then just enter
urpmi kernel.h-2.6.8.1-12mdk
or whichever kernel you want...
That will install the new kernel alongside your current one. If you want, you can go back to the old one.
Do get the corresponding kernel source, also.
 
Old 03-17-2005, 08:33 PM   #11
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
Sorry, that should have been
kernel-2.6.8.1.12mdk
 
Old 03-19-2005, 10:27 AM   #12
123456
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Original Poster
Rep: Reputation: 0
[QUOTE]Originally posted by TxLonghorn
[B]In Mandrake, as jschiwal says, you can install the kernel package.

Last edited by 123456; 03-27-2005 at 07:36 PM.
 
  


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-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus SUSE / openSUSE 5 12-02-2004 12:48 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
kernel memory + slabinfo.. + possible reasons for kernel space allocation failures!! premenjit Linux - Software 1 09-28-2004 04:13 AM

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

All times are GMT -5. The time now is 03:54 AM.

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