LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 02-09-2004, 04:18 AM   #1
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Rep: Reputation: 30
Easier way to Upgrade from 2.4.22 to 2.4.24?


Hi All,
I am considering using these 4 tgz to upgarde my cureent kernel 2.4.22 to 2.4.24. Can I just simply installpkg them and a reboot will turn my linux box in to 2.4.24? Or more work is required from me before it is a 2.4.24? I have not reached the level of doing a kernel compilation yet.

http://www.slackware.com/pb/?vers=sl...-2.4.24-i486-1

http://www.slackware.com/pb/?vers=sl...-2.4.24-i486-1

http://www.slackware.com/pb/?vers=sl...-2.4.24-i386-1

http://www.slackware.com/pb/?vers=sl....4.24-noarch-1


Thanks!
 
Old 02-09-2004, 06:13 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
You don't need the last two if you are not compiling programs. The kernel-headers are used when compiling 3rd party source code. The kernel-source is for compiling th kernel itself and includes its' own headers.
After installing the first two packages you'll need to edit /rtc/lilo.conf and add a section for your new kernel. Then run lilo -v -t (lilo in verbose, test mode) If no errors then run:
lilo to reinstall lilo.
To edit lilo.conf, just copy the section that points to your original kernel, changing the name tro the name of the new kernel, and give it a unique label.
Then, after running lilo and rebooting you can test your new kernel. If it doesn't work you can still reboot with your original kernel.
 
Old 02-09-2004, 07:15 PM   #3
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Original Poster
Rep: Reputation: 30
gnashley
thanks, I will try your steps out tonight when I am at home. Just one last thing to clarify, when LiLo is amended, the boot screen will then show these?:

Slack2.4.22 #My old kernel
Slack2.4.24 #new kernel
WinXP #Dual booting

And if my 2.4.24 doesn't work, i can just simply reboot and select 2.4.22?

Appreciate your help.
 
Old 02-10-2004, 04:00 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,776

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Correct.
 
Old 02-11-2004, 07:32 PM   #5
newinlinux
Member
 
Registered: Dec 2003
Location: Next to Equator
Distribution: GNU/Linux 2.6.14
Posts: 382

Original Poster
Rep: Reputation: 30
ok, i did the the upgrade from 2.4.22 to 2.4.24, it went without any incident, booted fine. check using uname -r and it says 2.4.24. So i quickly jump to driver module making for my ltmodem, and it stopped at the error of mismtached kernel-headers. It says the machine have a 2.4.24 kernel with a 2.4.22 headers. I have removed 2.4.22 headers and installed 2.4.24 headers, but 2.4.22 is still being detected during the ./build_module. Any idea how I can get this solved? Will touch do the trick? Thanks!

Last edited by newinlinux; 02-11-2004 at 07:34 PM.
 
  


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
Easier, upgrade or reinstall? grilledsalad Linux - Newbie 3 01-19-2005 01:03 PM
Gentoo is there an easier way? DavidTempler Linux - General 10 12-13-2003 07:38 AM
Easier glibc upgrade for RH 7.3 ftgow Linux - Software 1 09-05-2003 08:48 PM
Which would be easier? Download-This Linux - Networking 1 10-11-2002 11:59 PM
Windows easier??? Copenhagen Cowboy Linux - Newbie 1 03-09-2001 05:29 PM


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