Ce contenu n'est pas disponible dans la langue sélectionnée.

36.2. Preparing to Upgrade


Before upgrading the kernel, take a few precautionary steps. The first step is to make sure working boot media 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 working boot media.
For example, to create a boot diskette, login as root, and type the following command at a shell prompt:
 /sbin/mkbootdisk `uname -r` 
Copy to Clipboard Toggle word wrap

Note

Refer to the mkbootdisk man page for more options. Creating bootable media via CD-Rs, CD-RWs, and USB flash drives are also supported given the system BIOS also supports it.
Reboot the machine with the boot media and verify that it works before continuing.
Hopefully, the media is not 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 
Copy to Clipboard Toggle word wrap
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.6.9-5.EL kernel-devel-2.6.9-5.EL kernel-utils-2.6.9-5.EL kernel-doc-2.6.9-5.EL kernel-smp-2.6.9-5.EL kernel-smp-devel-2.6.9-5.EL kernel-hugemem-devel-2.6.9-5.EL 
Copy to Clipboard Toggle word wrap
From the output, determine which packages need to be download for the kernel upgrade. For a single processor system, the only required package is the kernel package. Refer to Section 36.1, “Overview of Kernel Packages” for descriptions of the different packages.
In the file name, 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, or so forth. The <arch> is one of the following:
  • x86_64 for the AMD64 architecture
  • ia64 for the Intel®Itanium™ architecture
  • ppc64 for the IBM®eServerpSeries™ architecture
  • ppc64 for the IBM®eServeriSeries™ architecture
  • s390 for the IBM®S/390® architecture
  • s390x for the IBM®eServerzSeries® architecture
  • x86 variant: The x86 kernels are optimized for different x86 versions. The options are as follows:
    • i686 for Intel®Pentium® II, Intel®Pentium® III, Intel®Pentium® 4, AMD Athlon®, and AMD Duron® systems
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat