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?
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.
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?
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?
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:
older versions and their changes can be found in
Upgrading the Kernel in the Red Hat Linux Customization Guide for more info.
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 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
|All times are GMT -5. The time now is 12:58 AM.|