LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-10-2003, 10:53 AM   #1
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Rep: Reputation: 30
re: how do I upgrade rh version 7.3 kernel 2.4.18


Hello All:

I'm a newbie who has more or less made do w/ my move to linux. Lo and behold I've found that I should upgrade my os/kernel. I'm using RH 7.3 w/ kernel 2.4.2.18-3

Question: (I'm not even sure this is the right quesion): how do I do that? Where do I go, and what do I do?
How will upgrading affect my box? I've downloaded alot of stuff and am worried none or most of what I now have won't work.

Please let me know-- this is like the sighting of a world-changing event on the horizon. I'm having palpitations here.

ergo_sum
 
Old 12-10-2003, 11:22 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
heh-heh. Calm down. Breath deeply. It's easy.

How have you downloaded and installed all your "stuff"? Did you use rpms? If so you can use rpms to upgrade your kernel too.

Read up on rpm and up2date in the manpages and on RedHat's website. If you do a few searches of this site you'll find lots of help.

John
 
Old 12-10-2003, 11:29 AM   #3
ergo_sum
Member
 
Registered: Aug 2003
Posts: 253

Original Poster
Rep: Reputation: 30
Thanks for the quick response.

I installed from the distro: i.e., the cds. I'll follow your advice re: checking on Red Hat's web site. I'm a little leery because they seem to be getting to where their going in an ms kind of way. All of a sudden-like. You know?

ergo_sum
 
Old 12-10-2003, 11:37 AM   #4
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Yeah, there's lots of different opinion about that. I've been looking at Slackware on my work computer - highly recommended once you've found your feet a bit in Linux.

So, (as I say, do some reading to understand what's going on here), the basic steps are...

1) get the kernel rpm from RedHat's ftp site, or your nearest mirror.
2) check it with "rpm --checksig *.rpm" or with "md5sum *.rpm"
3) install it with "rpm -ivh <kernel_name>.rpm"

If any of these steps give you error messages post 'em here - though it almost goes without saying that a little reading of the manpages will solve most issues, not to mention increase your own expertise.

John
 
Old 12-12-2003, 03:37 PM   #5
woodyboyd
LQ Newbie
 
Registered: Nov 2003
Posts: 7

Rep: Reputation: 0
Hi John,

Another newbie here!

I'm feeling the same sense of urgency regarding my RH7.3 box... although I follow your recommendations, there are a few issues for which I cannot connect the dots:

Obtaining the kernel and executing "rpm -ivh" seems easy enough.

1) Does this require a simultaneous connection to RedHat's download center (presuming dependancy checks)?

2) How would you advise just obtaining the necessary updated packages for local installations?

3) Why rpm over apt?

4) My installation CDs are an editor's version and primarily contain server packages. I fear the upgrading process you've described will apply only to the packages currently installed on my box, yet I may wish to load other packages later... any ideas?


Thanks in advance.

Last edited by woodyboyd; 12-12-2003 at 03:38 PM.
 
Old 12-12-2003, 03:40 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well just to take a step back and disregard your questions for the time being, i recommend doing it yourself....you can check out this and it'll show you how its done...
 
Old 12-14-2003, 02:49 PM   #7
woodyboyd
LQ Newbie
 
Registered: Nov 2003
Posts: 7

Rep: Reputation: 0
Hello DrOzz,

Hope the yuletide brings joy and good cheer to the maritimes.

Thanks for the links; they'll come in quite handy.

Please excuse my apparent lack of breath regarding the abundance of prior questions... my broadband access narrows like the eye-of-the-needle as we enter Finals' Week; the school closes its doors at 5PM on Friday. If I can secure a copy of the update package prior to that, then the rest remains academic. (My domestic workstations are connected by conventional modems; thus, incremental upgrades may be feasible, but all errata fixes and enhancements don't seem likely.)

Seaon's Greeting from the heartland!
 
Old 12-15-2003, 04:44 AM   #8
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi woodyboyd,

Sorry for the slow reply. Weekend and all that.

I've seen that thread of DrOzz's before and I think it's first rate. I've taken to pointing other posters here to it as well. I would also recommend learning how to do your own upgrades - you know what's going on that way, and you can customise the process to suit your system.

But if you don't want to jump into that straight away (it took me a while to take that plunge!) here are my answers to your questions...

1) No. 'up2date' requires a connection to RedHat's site but, if there are dependency issues, 'rpm -ivh' will just tell you about them and then quit without doing anything. You can read up about forcing it to install, but that's usually not a good idea, especially when it comes to your kernel.

2) Not sure if I understand you here. Ftp is what I usually use. To decide what you need, read up on the package descriptions. I like to upgrade every package I have on my system as soon as I hear about the update, but if you're using a standalone system it's generally not that urgent. Also, unless you already know this stuff pretty well, it's generally a cyclical thing, you try rpm it complains about needing another package, you get it, it complains about a package that the new one needs. Not an infinite cycle of course, but it could take you two or three round.

3) I've heard about apt but haven't checked it out yet. That's the only reason.

4) The same command 'rpm -ivh' is meant for new packages. In fact for upgrading you should use 'rpm -Uvh'. I said 'rpm -ivh' above for the kernel because this gives you two kernels (old one and new one) which is much safer becuase if the upgrade goes wrong and you used Uvh you could have a dead system on your hands. For everything else Uvh is generally fine.

John
 
  


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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
Kernel version Source Version mismatch after recompile chuckleberry Linux - Software 1 06-20-2005 07:37 PM
redhat fedora gcc version (compiled for 2.4.20) doesn't match kernel version 2.4.22 start1000 Linux - Software 0 03-16-2004 09:17 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 07:27 PM
Sample Driver Module incompatibility with Kernel version (or gcc version) jvs Linux - General 1 06-07-2002 02:40 AM


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