LinuxQuestions.org
Review your favorite Linux distribution.
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 06-29-2010, 10:25 AM   #1
baxzius
Member
 
Registered: Jan 2010
Location: India
Distribution: ubuntu
Posts: 134
Blog Entries: 1

Rep: Reputation: 21
can i add another kernel 2.4 in grub while kernel 2.6.31 of ubuntu 9.10 presence!!!


can i add another kernel 2.4 in grub while kernel 2.6.31 of ubuntu 9.10 exists
 
Old 06-29-2010, 10:38 AM   #2
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
You can practically add any Linux kernel side by side with your current one. You just have to install it and tell grub to load that kernel.
 
Old 06-29-2010, 10:39 AM   #3
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Well, you CAN (as long as you can edit a menu.lst file) -- BUT I'd advice against it because the supporting userland tools (like modutils, udev, ...) differ a lot between kernel versions 2.4 and recent 2.6 and I'm not sure the recent versions of these tools still support old 2.4 kernels.

What do you want to achieve by running such an old kernel?
 
Old 06-30-2010, 06:55 AM   #4
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
I would say try out the older kernel on a VM, it is a lot safer .
 
Old 06-30-2010, 07:22 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,102
Blog Entries: 3

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Quote:
What do you want to achieve by running such an old kernel
The 2.4 kernel is still being maintained stable is 2.4.37.9 and you can see the change log here.if using the Grub 2 please read the tutorial. that was the first thing I did was dump grub2 and go back to Grub. it is a learning curve for me and I did not want to learn it over night when I had many systems to use. I believe 9.10 uses grub2 and so does 10.04.
the reason I got caught off guard was because I was up grading every time a version came out.
and it did not up grade the grub.
So 9.10 and 10.04 use grub2 as default on fresh install.
The Grub Loader Does not care what kernel you use. It simply points to
a Device Hard drive then looks for a kernel Image.

Last edited by Drakeo; 06-30-2010 at 07:30 AM.
 
Old 06-30-2010, 09:09 AM   #6
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Quote:
Originally Posted by Drakeo View Post
The 2.4 kernel is still being maintained stable is 2.4.37.9 and you can see the change log here.
Absolutely correct. But somewhat irrelevant. I doubt the tools that come with recent distributions are still fully compatible with the 2.4 line. The 2.4 line is still used on some embedded platforms -- or MAYBE on old PCs with old distributions. But my question to the OP was, WHY does he want to use this, on a system that is obviously running a recent kernel? If we know what he wants to achieve, maybe somebody can point out alternatives...
 
Old 06-30-2010, 10:16 AM   #7
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by zirias View Post
Absolutely correct. But somewhat irrelevant. I doubt the tools that come with recent distributions are still fully compatible with the 2.4 line. The 2.4 line is still used on some embedded platforms -- or MAYBE on old PCs with old distributions. But my question to the OP was, WHY does he want to use this, on a system that is obviously running a recent kernel? If we know what he wants to achieve, maybe somebody can point out alternatives...
Drakeo is right, I am running 6 different distros and four of them have the 2.4 kernel. I also take his view, I use the old grub and chainload all the distros (even the 2.6.31 kernels). Why the OP wants to run the older kernels is irrelevant. By the way I am doing it because I want to.

Last edited by Larry Webb; 06-30-2010 at 10:17 AM.
 
Old 06-30-2010, 11:01 AM   #8
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
He's using ubuntu, which I don't use, but at least in debian, 2.4 kernels are no longer supported. Why he wants to do this is EXTREMELY relevant because chances are quite good there's a better way.
 
Old 06-30-2010, 11:19 AM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
The inaugural version of Ubuntu was 4.10. It used a 2.6 kernel. The OP wants to run 9.10 with a 2.4 kernel. I would be interested to see if this would work.
 
Old 07-01-2010, 02:27 PM   #10
baxzius
Member
 
Registered: Jan 2010
Location: India
Distribution: ubuntu
Posts: 134
Blog Entries: 1

Original Poster
Rep: Reputation: 21
come on people... you know why i asked this.. look i wanna study kernel hacking.. so playing with 2.6 is very hard. so the standard minimum kernel is 2.4. so if i could add to my system... i can play with both and understand the difference. thats all. thanks people. i love my linux people who shared their ideas in this thread!
 
Old 07-01-2010, 04:21 PM   #11
zirias
Member
 
Registered: Jun 2010
Posts: 361

Rep: Reputation: 59
Ok, for that purpose, i'd suggest a virtual machine -- ESPECIALLY if you're interested in kernel hacking (and as long as you don't want to "hack" low-level drivers that would require the real hardware for meaningful operation).
 
  


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
Ubuntu 9.10 does not start after kernel selection from Grub menu jiteshdoshi Linux - Hardware 1 06-28-2010 03:44 AM
Duplicate kernel entries of Ubuntu 9.04 in GRUB loader phantombudgie Linux - General 3 10-01-2009 06:21 PM
add a entry for new kernel to grub theacerguy Linux - Kernel 4 08-09-2009 03:07 AM
Ubuntu Server 8.10 - Need to add the Desktop 8.10 kernel to this installation karthikrr Ubuntu 4 04-19-2009 06:21 PM
How to add kernel module to kernel source? cranium2004 Programming 7 05-12-2005 10:34 PM


All times are GMT -5. The time now is 12:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration