LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2004, 05:31 AM   #1
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346
Thanked: 0
Arrow Upgrading a Kernal


[Log in to get rid of this advertisement]
Hello
Every one

i just installed redhat linux 7.0 on my Pc.
i need to upgrade its kernal , Currrent kernal verion is 2.2.16-22 and i wanted to upgrade it in to 2.4.10 .
my main purpose is installing Penta@net driver on my machine, its driver requierd old kernal vertion thats why i installed redhat 7.0
please guied me by step by step command

from this link. http://www.kernel.org/pub/linux/kernel/v2.4/
i downloaded this kernal files
linux-2.4.10.tar.gz 23-Sep-2001 11:30 27M
linux-2.4.10.tar.gz.sign 23-Sep-2001 11:30 248
linux-2.4.10.tar.sign 23-Sep-2001 11:30 248


One more question can we degrade kernal , Like in redhat linux 9 we have default 2.4.20-8 can we change it in to 2.4.xx , if possible tell me how.


thnals Alot
Waiting for reply
mobassir is offline     Reply With Quote
Old 03-26-2004, 07:16 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524
Thanked: 0
Search the forum. There are hundreds of posts about installing new kernels, and a very good guide to compiling a kernel (in the newbie section I believe)
guygriffiths is offline     Reply With Quote
Old 03-26-2004, 07:41 AM   #3
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346
Thanked: 0

Original Poster
hello

thnaks to guied me , i find these usefull info regarding installing new kernal . and i tried these all steps and i took arround half n hour , but aftre end and reboot the kernal version was same 2.2.16-22 . i dont know why

i tied the following steps

Unpack the sources
Optional - You can copy the .config file from your old linux kernel source tree to new kernel tree (may save time, if you want to reuse the old settings).
make clean; make mrproper
make xconfig
make dep
make
make bzImage
make modules
make modules_install
make install
configure LILO or GRUB.
Optional - make clean (If you want to free up disk space)
mobassir is offline     Reply With Quote
Old 03-26-2004, 08:03 AM   #4
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524
Thanked: 0
Instead of:
make install
I would do:
cp arch/i386/boot/bzImage /boot/linux-2.4
cp System.map /boot
And then configure LILO or GRUB. Make sure you run "lilo" after changing the menu entries, if you're using LILO.
If you don't know how to configure LILO/GRUB, then again, search the forum. It should be as straightforward as finding the config file, copying your current entry and changing the path of the kernel (usually something like /boot/vmlinuz or /vmlinuz) to /boot/linux-2.4. And of course changing the label.
guygriffiths is offline     Reply With Quote
Old 04-07-2004, 09:14 AM   #5
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346
Thanked: 0

Original Poster
hello

thanks for reply
for mnay day i am trying to upgrade my kernal but no luck.
now i download all patches in bz2 format for 2.4.x.x kernel.
now i have redhat linux 7.2 with default 2.4.7-10 what will be the
procedure if i wants to directly upgrade in to 2.4.10.gz or 2.4.18-3.rpm .
or if its not possible then i alos have all pathes of 2.4.x.x kernal series in bz2 format.

And is that possible to upgrade kernal from 2.4.x.x series to directly 2.6.x.x
or if will requier any old kernal or patches?

thanks

waiting for reply
mobassir is offline     Reply With Quote
Old 04-07-2004, 10:54 AM   #6
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524
Thanked: 0
You should download the full kernel for 2.6.x. To upgrade your 2.4, you will need to apply each patch in turn
guygriffiths is offline     Reply With Quote
Old 04-07-2004, 12:18 PM   #7
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Thanked: 0
careful about upgrading to 2.6, i had a hell of a time doing so. heres a litle advice:
dont try to patch from your current to 2.6, theres around 75 patches in the 2.5 branch. better to download the full src. second, take alot of time on going about the kernel config, because the less you cram into it, the more efficient it is. but be careful not to omit anything essential.
LavaDevil94 is offline     Reply With Quote

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
upgrading kernal mikey_sk Linux - Newbie 2 08-25-2004 12:24 PM
upgrading kernal to 2.6 for RH9? Lleb_KCir Linux - Software 5 07-25-2004 06:36 PM
upgrading fedora core 1 kernal to 2.6.6? Jaxathan Linux - Software 1 06-27-2004 05:36 AM
Upgrading kernal by patch mobassir Linux - Software 4 04-14-2004 04:57 AM
questions about upgrading kernal dmarotto Linux - General 1 02-15-2004 10:40 AM


All times are GMT -5. The time now is 06:36 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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration