When to Recompile

 < Day Day Up > 

Fedora Core systems use a modified version of the plain vanilla Linux kernel (a modified version is referred to as a patched kernel) with additional drivers and other special features compiled into it.

Fedora Core has quite an intensive testing period for all distribution kernels and regularly distributes updated versions. The supplied Fedora Core kernel is compiled with as many modules as possible to provide as much flexibility as possible. A running kernel can be further tuned with the sysctl program, which enables direct access to a running kernel and permits some kernel parameters to be changed (see "Kernel Tuning with sysctl" at the end of the chapter). As a result of this extensive testing, configurability, and modularity, the precompiled Fedora Core Linux kernel does everything most users need it to do. Most users only need to recompile the kernel to

  • Accommodate an esoteric piece of new hardware.

  • Conduct a system update when Fedora Core has not yet provided precompiled kernels.

  • Experiment with the system capabilities.

Fedora Core supplies several precompiled versions of the kernel for Athlon and Pentium processors, for single- and multi-processor motherboards, and for Enterprise-class systems (higher security; uses 4GB of memory). These kernel versions are provided in RPM format. Installing them is as easy as

 # rpm -Uvh new_kernel.rpm 

The kernel (but not the source) RPM files include installation scripts that will automatically alter your bootloader configuration, making the new kernel the default. If you do not want that to happen, just manually edit the /etc/lilo.conf or /boot/grub/grub.conf files and change them back.

CAUTION

You always rpm -U (upgrade), rather than rpm -i (install), a new kernel rpm to avoid overwriting the old, but still working, kernel. This is done as a safety measure. What if the new one does not work?


     < Day Day Up > 


    Red Hat Fedora 4 Unleashed
    Red Hat Fedora 4 Unleashed
    ISBN: 0672327929
    EAN: 2147483647
    Year: 2006
    Pages: 361

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net