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 01-27-2009, 03:10 AM   #16
nedzer
Member
 
Registered: Dec 2008
Posts: 44

Original Poster
Rep: Reputation: 15

Hi jdkaye,

I'm a newbie to Linux and am frankly apprehensive about undertaking a kernel rebuild. I've asked one of my colleagues and he said it's not a trivial matter but that he'll give it a shot once he's gone through the rest of my approaches.

At the moment even though this is high priority for this system to go live I'll have to leave it temporarily to get some of the other go live tasks completed.

Much appreciate all the guidance you've offered over the last few days. I'll be back to you to let you know when we're able to get it up and working.

Cheers, Ed
 
Old 01-27-2009, 11:26 PM   #17
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by nedzer View Post
Hi jdkaye,

I'm a newbie to Linux and am frankly apprehensive about undertaking a kernel rebuild. I've asked one of my colleagues and he said it's not a trivial matter but that he'll give it a shot once he's gone through the rest of my approaches.
Are you building your own kernel? or using a pre-rolled one from CentOS? If the former, then yes, it's non-trivial but if it's the latter (pre-rolled) then it is no harder than installing any other package (unless CentOS is really different from other distros)

Quote:
At the moment even though this is high priority for this system to go live I'll have to leave it temporarily to get some of the other go live tasks completed.
Fair enough. Give a shout if you need to.

Quote:
Much appreciate all the guidance you've offered over the last few days. I'll be back to you to let you know when we're able to get it up and working.

Cheers, Ed
My pleasure.
Cheers,
jdk
 
Old 01-28-2009, 12:30 AM   #18
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Quote:
Originally Posted by nedzer View Post
Hi,

I went looking for config.h

There was loads of them

/usr/src/kernels/2.6.18-128.el5-i686/include/linux/config.h
/usr/src/kernels/2.6.18-128.el5-i686/include/config/i2o/config.h
/usr/src/kernels/2.6.18-92.1.22.el5-i686/include/config/x86/find/smp/config.h
/usr/src/kernels/2.6.18-92.1.22.el5-i686/include/config/i2o/config.h
+ loads more...


I'm not sure which one to edit. I'll ask around the traps here, but if it's obvious to you let me know, Cheers.
config.h is located in the directory of the sources you are trying to compile.
 
Old 01-29-2009, 03:12 AM   #19
nedzer
Member
 
Registered: Dec 2008
Posts: 44

Original Poster
Rep: Reputation: 15
Hi jdkaye,

the distro (I hope I have the linux speak down) I'm on at the mo' is Red Hat Ent 5.0. I'm a recent subscriber to the Red Hat Network so have no issues now doing up2date's etc.

I'm clueless when you refer to CentOS, pre-rolled etc.

I presume then that Red Hat would have a Kernel rpm that I can just install. But again due to my neophyte status I

1. wouldn't know where to look
2. wouldn't know what to look for

My machines are both 32-bit, if that's any help.

Cheers, you're a legend.

Ed
 
Old 01-30-2009, 12:14 AM   #20
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by nedzer View Post
Hi jdkaye,

the distro (I hope I have the linux speak down) I'm on at the mo' is Red Hat Ent 5.0. I'm a recent subscriber to the Red Hat Network so have no issues now doing up2date's etc.
OK, that's a start.

Quote:
I'm clueless when you refer to CentOS, pre-rolled etc.
Sorry about the lingo. Some people have special requirements and so they need to compile their own kernels with special switches etc. Most people use the kernels that are pre-compiled for their distro and so don't have to worry about this stuff. I would guess you're in this category.

Quote:
I presume then that Red Hat would have a Kernel rpm that I can just install. But again due to my neophyte status I

1. wouldn't know where to look
2. wouldn't know what to look for
You are quite correct. Sadly, I've never used a yum-based distro so I can't give you too many details. I use debian which has .deb packages rather than rpm's. Our equivalent to yum would be apt-get, aptitude or wajig. Using aptitude at the command line I would do something like this:
Code:
aptitude search linux-image
This gives me the following:
Code:
p   linux-image-2.6-686             - Linux 2.6 image on PPro/Celeron/PII/PIII/P
p   linux-image-2.6-686-bigmem      - Linux 2.6 image on PPro/Celeron/PII/PIII/P
p   linux-image-2.6-amd64           - Linux 2.6 image on AMD64
p   linux-image-2.6-k7              - Linux 2.6 image on AMD K7 - transition pac
p   linux-image-2.6-openvz-686      - Linux 2.6 image on PPro/Celeron/PII/PIII/P
p   linux-image-2.6-vserver-686     - Linux 2.6 image on PPro/Celeron/PII/PIII/P
p   linux-image-2.6-vserver-686-big - Linux 2.6 image on PPro/Celeron/PII/PIII/P
p   linux-image-2.6-xen-686         - Linux 2.6 image on i686, oldstyle Xen supp
c   linux-image-2.6.18-3-686        - Linux 2.6.18 image on PPro/Celeron/PII/PII
c   linux-image-2.6.18-4-686        - Linux 2.6.18 image on PPro/Celeron/PII/PII
c   linux-image-2.6.22-1-686        - Linux 2.6.22 image on PPro/Celeron/PII/PII
c   linux-image-2.6.22-2-686        - Linux 2.6.22 image on PPro/Celeron/PII/PII
c   linux-image-2.6.22-3-686        - Linux 2.6.22 image on PPro/Celeron/PII/PII
i   linux-image-2.6.26-1-686        - Linux 2.6.26 image on PPro/Celeron/PII/PII
p   linux-image-2.6.26-1-686-bigmem - Linux 2.6.26 image on PPro/Celeron/PII/PII
p   linux-image-2.6.26-1-amd64      - Linux 2.6.26 image on AMD64
p   linux-image-2.6.26-1-openvz-686 - Linux 2.6.26 image on PPro/Celeron/PII/PII
p   linux-image-2.6.26-1-vserver-68 - Linux 2.6.26 image on PPro/Celeron/PII/PII
p   linux-image-2.6.26-1-vserver-68 - Linux 2.6.26 image on PPro/Celeron/PII/PII
p   linux-image-2.6.26-1-xen-686    - Linux 2.6.26 image on i686, oldstyle Xen s
The kernel I have installed is the one with the letter "i" at the beginning of the line. You can see that my kernel is 2.6.26 and the architecture is 686 (32 bit). I use the 32 bit kernel even though I have an AMD Atheros 64bit chip, but that's just my choice.

So if yum has a search function just look for rpm's called linux-image (or whatever RHE calls kernels) and select a more recent one (i.e. higher number) and install it the way you would any other package. Make sure to get the kernel source and headers as well if you plan on compiling anything yourself.

Quote:
My machines are both 32-bit, if that's any help.

Cheers, you're a legend.

Ed

Cheers,
jdk
 
  


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
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 06:58 AM
giving search-string(s) from a file to linux "find" command Fond_of_Opensource Linux - Newbie 3 02-02-2009 06:14 PM
Why "apt-file search wx-config" not find? (Debian Lenny) kaz2100 Debian 4 01-02-2009 11:38 AM
where can find file "/etc/init.d/functions " detail explain cnhawk386 Linux - Software 3 09-20-2007 10:44 AM
UT demo error: "Can't find file for package 'SDLGLDrv'" r_jensen11 Linux - Software 2 04-13-2004 09:49 PM


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