LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-17-2007, 02:21 PM   #1
shirazanjum
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Rep: Reputation: 0
Question how to Update a LINUX KERNEL


hi all

i hope any one o fu can help me.. i wana update the LINUX KERNEL which is the best and easy way of doing it..

folowing is the issue which on which i need ur help: and plz any one also mention its advntage /disadvntge?


The current operating system state Red Hat AS 4.0

“linux 2.6.9-5 ELsmp #1 SMP web JAN 5.19.30:30 EST 2005 I686 I386“



There is a need to update the Kernel version to Red Hat Enterprise Linux (RHEL) 4.0 AS/ES Updates 4
2.6.9-42.EL (up, smp, hugemem)


so i am looking reply from u guys

thanx in advance..

if posible can any 1 also mail me on
shirazs@hotmail.com...

regards

SHIRAZ
 
Old 10-17-2007, 02:28 PM   #2
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
The simplest way would be to use RHN to update the system. I haven't had a problem on my systems with updating the kernel with the exception of some management agents.
 
Old 10-17-2007, 02:45 PM   #3
shirazanjum
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
thanx for the prompt reply..

but can u tell me some steps of it or some CLI steps? as i have never used this RHN b4 :-(

do i need to download some patches for it? to update the kernel? or wht exactly!!! keeping in mind i m a newbie ;-)
 
Old 10-17-2007, 03:23 PM   #4
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
Here is the RHN quickstart guide. It should be able to help you get up and running with very little effort. https://rhn.redhat.com/rhn/help/quickstart.jsp
 
Old 10-18-2007, 12:45 PM   #5
shirazanjum
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
is this RHN will update the kernel too? or only other packages?
 
Old 10-19-2007, 11:12 AM   #6
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
It will update the kernel as well as all other updated packages and modules.
 
Old 10-19-2007, 11:21 AM   #7
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It's a package manager, or sort of, so it knows what packages you have installed and queries the server for updates, and if it finds any, lets you install them. A package is a .rpm file which contains something: a program, a kernel or something else - including all the files needed, and instructions where to copy them when the package is being "installed", plus possibly some pre/post-install scripts to be run if needed. Therefore a kernel package doesn't differ from all the rest packages, except for the content. When you install a kernel package, or have RHN or some other package management tool install it for you (RHN not only installs/upgrades it, but also checks if it depends on other packages and install/upgrades them too), the needed files for the new kernel are copied to the right places on your system (kernel to /boot for example). In your case it will, if I'm right, also update your bootloader's configuration file to include the new kernel there.

RHN is a good choice in your case, and the easiest if you're fine with a stock kernel. If you need a customized one, you'll need to compile one from source (you may use the existing kernel's configuration as a base, and modify that), in which case you can either use source code from kernel.org or use a .src.rpm (source RPM) package from Fedora reposities. I don't deal with .src.rpms (because I don't use rpm distributions right now), but it's not difficult, and neither is compiling and installing from kernel.org sources. But like I said, if you don't have any explicit needs to compile it from source, you can just just the update option of RHN.
 
Old 10-19-2007, 11:52 AM   #8
shirazanjum
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Talking

hi zyglog ... thanx alot

and hi BOUNCER.. cool ..thanx alot man.. u did realy gr8 help 4 me..

now one more stupid qustion i wana knwo :-)

from RHN i can choose my self wat packges i wana install? or RHN will install what ever packages it will get.. i mean if i jst wana instal only some specific pakage wil it alow me to install or i have to install all the package which it will get to upgrade it for my system???


sorry 4 bothering ;-)

tahxn dude..
 
Old 10-19-2007, 02:02 PM   #9
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
You can chose the packages that you want RHN to update, as long as they are not dependencies for other packages. Although, that is normally not a problem with Up2Date.
 
Old 10-19-2007, 03:03 PM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by shirazanjum View Post
hi zyglog ... thanx alot

and hi BOUNCER.. cool ..thanx alot man.. u did realy gr8 help 4 me..

now one more stupid qustion i wana knwo :-)

from RHN i can choose my self wat packges i wana install? or RHN will install what ever packages it will get.. i mean if i jst wana instal only some specific pakage wil it alow me to install or i have to install all the package which it will get to upgrade it for my system???


sorry 4 bothering ;-)

tahxn dude..
Please, oh please, spell the words out properly...
 
Old 10-19-2007, 05:14 PM   #11
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
farslayer, as much as I hate it we need to learn it. I see more of it all the time and now I treat it as a puzzle trying to figure it out. I am waiting till someone designs a kernel that understand script written in the "new language". (If they do they need to put a bunch of man pages with it)

Last edited by Larry Webb; 10-19-2007 at 05:18 PM.
 
Old 10-19-2007, 06:58 PM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
There's no need for 'L337 5p34k' in any of these forums and especially not in the Enterprise section, imho....

save that junk for IM, texting, and IRC... hard enough following people that have difficulties with english we don't need people intentionally complicating things..

Just call me an old stick in the mud
 
Old 10-20-2007, 02:41 PM   #13
shirazanjum
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Cool

OMG!!!!

Becoz of my weird English words pplz got a new topic to fight over it.. cool.. means I m the one who can put people on fire 
So I think I must stop posting here so people can live here with peace… peace 4 all ….

But as it’s my life so I am gona post my LAST—N=question here 

Well after updating from RHN do I need to COMPILE the kernel or do we need to make it?
As we do when we manually COMPILE or MAKE da kernel? Or some things like this..???
[/I]


I have been asking so many questions coz I was bit busy so couldn’t try all these stuff, but will try all these stuff myself on coming Monday so that I am able to this on the real server...

Thanks to all guys who have been replying here and also to those guys who have improved my words that how to spell them properly

Thanks to all
 
Old 10-22-2007, 11:43 AM   #14
shirazanjum
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thumbs down

no post???
pplz got afraid from my question?
 
Old 10-22-2007, 11:53 AM   #15
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
Hardly my friend.

To answer your question, no you do not need to recompile the kernel. Up2date will install the kernel for you, and should set it as the default boot kernel in grub.
 
  


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
How to update the linux kernel dgushin Linux - Laptop and Netbook 2 11-15-2006 05:14 PM
LXer: Linux kernel gets an update LXer Syndicated Linux News 0 06-21-2006 04:21 AM
Latest Suse "YOU" update....Linux Kernel Update Failed Balarabay1 SUSE / openSUSE 10 06-11-2006 09:07 PM
Update Redhat Linux 9.0 Kernel Longinus Linux - Newbie 6 12-08-2003 07:02 PM
linux kernel update erikm103 Linux - Software 2 03-09-2003 08:19 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:24 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