LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-03-2002, 12:10 PM   #1
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
Red Hat Update Agent for kernel updates and custom kernels


When I have several kernels to choose from on my system, which one is updated when I use Update Agent to update my kernel? Does the Update Agent use a .Config file to update my kernel?
 
Old 09-03-2002, 03:19 PM   #2
L.B
LQ Newbie
 
Registered: Jul 2002
Location: Netherlands, EU
Distribution: Ubuntu
Posts: 14

Rep: Reputation: 0
RedHat up2date simply installs the new kernel RPM, the one with the latest version number is the 'updated version.'
rpm -qa|grep kernel (shows what kernel rpms are installed)
The latest stable RedHat kernel is 2.4.18-10.
 
Old 09-03-2002, 04:16 PM   #3
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Original Poster
Rep: Reputation: 30
What I am trying to decide is if my kernel -- the one I installed when I first installed Red Hat 7.3 -- have the same configuration as the one that I am being upgraded with. I know I can customize and recompile my kernel and give it it's own name. But I am worried that somehow I have accidentally altered the configuration of my basic unmodified kernel. I am looking for some assurance that the kernel that I am being updated with is not based on some altered configuration of my original kernel.

If I update this kernel, will it be a fresh, new uncorrupted kernel? Or if I have damaged my old kernel, will the update carry the damage with it?
 
Old 09-03-2002, 04:21 PM   #4
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Original Poster
Rep: Reputation: 30
Maybe this is the question:

Is the updated kernel compiled at all when upacked from the RPM? I know that all RPM packages are binaries. Is the kernel any different? Is it strictly binaries?
 
Old 09-03-2002, 04:54 PM   #5
L.B
LQ Newbie
 
Registered: Jul 2002
Location: Netherlands, EU
Distribution: Ubuntu
Posts: 14

Rep: Reputation: 0
The updated kernel is the default unmodified RedHat version of the Linux kernel.
It does not use a .config file, it simply installs the RPM.
You can change this kernel after which a .config file will be created in the kernel source directory:
For RedHat 7.3 the kernel source directory is:
/usr/src/linux-2.4/ which is a symlink to the latest installed kernel, for example:
/usr/src/linux-2.4.18-10
older versions and their changes can be found in
/usr/src/[kernelversion]
Read
Upgrading the Kernel
in the Red Hat Linux Customization Guide for more info.
 
Old 09-03-2002, 04:58 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Yes it is compiled and bulky, it is a redhat default kernel which includes the support for Pentium family processors, networking, ide, etc., but doesn't contain the support for ntfs, for instance. If you are updating kernel-source as well then there are different configuration fies dropped into /usr/src/linux-2.4/configs directory you should copy the configuration file for your architecture to ../.config
cp /usr/src/linux-2.4/configs/kernel-version-release-architecture.config /usr/src/linux-2.4/.config
and then recompile your kernel, you can choose what already is in .config or you can costumize it, etc
make menuconfig
make dep clean bzImage modules modules_install
after successfull recompile you should update your initrd.img file with
/sbin/mkinitrd /boot/initrd-kernel.version-release.img Kernel.Version-Release
copy the compressed kernel image to /boot and adjust LILO/GRUB as needed.
P.S. I've had some disastrous consequences upgrading kernels by rpm's, so I stick with http://www.kernel.org

Last edited by neo77777; 09-03-2002 at 05:00 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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
red hat update agent laurentwahl Linux - Software 2 04-28-2005 12:02 PM
Red Hat 9 Update Agent - Problem Registering Username beatnik007 Linux - Newbie 5 10-03-2004 11:53 AM
Red Hat Update Agent refuses any username gfischer Linux - Newbie 1 06-18-2004 01:29 PM
Red Hat Update Agent PionexUser Linux - Newbie 2 07-20-2003 12:36 AM
Can't find package Red Hat Update Agent installed poison5151 Linux - Software 4 04-12-2003 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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