Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<  103 of 909 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 1014
Last update: 09-23-04
Issue:
What do I need to do to prepare to upgrade the kernel Red Hat Enterprise Linux?
Resolution:
Before upgrading the kernel, take a few precautionary steps. If the system has a diskette drive, the first step is to make sure a working boot diskette exists for the system in case a problem occurs. If the boot loader is not configured properly to boot the new kernel, the system cannot be booted into Red Hat Enterprise Linux without a working boot diskette.

To create the boot diskette, login as root, and type the following command at a shell prompt:
/sbin/mkbootdisk `uname -r`
Tip: Refer to the man page for mkbootdisk for more options. Kernels that are too large for a boot floppy disk can be put onto a CD with the --iso option for mkbootdisk.

Reboot the machine with the boot diskette and verify that it works before continuing.

Hopefully, the diskette will not be needed, but store it in a safe place just in case.

To determine which kernel packages are installed, execute the following command at a shell prompt:
rpm -qa | grep kernel
The output contains some or all of the following packages, depending on the system's architecture (the version numbers and packages may differ):

 
kernel-2.4.21-1.1931.2.399.ent
kernel-source-2.4.21-1.1931.2.399.ent
kernel-utils-2.4.21-1.1931.2.399.ent
kernel-pcmcia-cs-3.1.31-13
kernel-smp-2.4.21-1.1931.2.399.ent
      


From the output, determine which packages need to be downloaded for the kernel upgrade. For a single processor system, the only required package is the kernel package.

In the filename, each kernel package contains the architecture for which the package was built. The format is kernel-<variant>-<version>.<arch>.rpm, where <variant> is smp, utils, etc. The <arch> is one of the following:
  1. x86_64 for the AMD64 architecture.
  2. ia64 for the Intel® Itanium™ architecture
  3. ppc64pseries for the IBM® eServer™ pSeries™ architecture
  4. ppc64iseries for the IBM® eServer™ iSeries™ architecture
  5. s390 for the IBM® S/390® architecture
  6. s390x for the IBM® eServer™ zSeries® architecture
  7. x86 variant: The x86 kernels are optimized for different x86 versions. The options are as follows:
    • athlon for AMD Athlon® and AMD Duron® systems
    • i686 for Intel® Pentium® II, Intel® Pentium® III, Intel® Pentium® 4, and Intel® Xeon® systems


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<   103  of  909  >>