이 콘텐츠는 선택한 언어로 제공되지 않습니다.

30.2. Preparing to Upgrade


Before upgrading the kernel, it is recommended that you take some precautionary steps.
First, ensure that working boot media exists for the system. If the boot loader is not configured properly to boot the new kernel, you can use this media to boot into Red Hat Enterprise Linux.
USB media often comes in the form of flash devices sometimes called pen drives, thumb disks, or keys, or as an externally-connected hard disk device. Almost all media of this type is formatted as a VFAT file system. You can create bootable USB media on media formatted as ext2, ext3, or VFAT.
You can transfer a distribution image file or a minimal boot media image file to USB media. Make sure that sufficient free space is available on the device. Around 4 GB is required for a distribution DVD image, around 700 MB for a distribution CD image, or around 10 MB for a minimal boot media image.
You must have a copy of the boot.iso file from a Red Hat Enterprise Linux installation DVD, or installation CD-ROM #1, and you need a USB storage device formatted with the VFAT file system and around 16 MB of free space. The following procedure will not affect existing files on the USB storage device unless they have the same path names as the files that you copy onto it. To create USB boot media, perform the following commands as root:
  1. Install the SYSLINUX boot loader on the USB storage device:
    ~]# syslinux /dev/sdX1 
    ...where sdX is the device name.
  2. Create mount points for boot.iso and the USB storage device:
    ~]# mkdir /mnt/isoboot /mnt/diskboot
  3. Mount boot.iso:
    ~]# mount -o loop boot.iso /mnt/isoboot
  4. Mount the USB storage device:
    ~]# mount /dev/<sdX1> /mnt/diskboot
  5. Copy the ISOLINUX files from the boot.iso to the USB storage device:
    ~]# cp /mnt/isoboot/isolinux/* /mnt/diskboot
  6. Use the isolinux.cfg file from boot.iso as the syslinux.cfg file for the USB device:
    ~]# grep -v local /mnt/isoboot/isolinux/isolinux.cfg > /mnt/diskboot/syslinux.cfg
  7. Unmount boot.iso and the USB storage device:
    ~]# umount /mnt/isoboot /mnt/diskboot
  8. You should reboot the machine with the boot media and verify that you are able to boot with it before continuing.
Alternatively, on systems with a floppy drive, you can create a boot diskette by installing the mkbootdisk package and running the mkbootdisk command as root. See man mkbootdisk man page after installing the package for usage information.
To determine which kernel packages are installed, execute the command yum list installed "kernel-*" at a shell prompt. The output will comprise some or all of the following packages, depending on the system's architecture, and the version numbers may differ:
~]# yum list installed "kernel-*"
kernel.x86_64                   2.6.32-17.el6           @rhel-x86_64-server-6
kernel-doc.noarch               2.6.32-17.el6           @rhel-x86_64-server-6
kernel-firmware.noarch          2.6.32-17.el6           @rhel-x86_64-server-6
kernel-headers.x86_64           2.6.32-17.el6           @rhel-x86_64-server-6
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. See Section 30.1, “Overview of Kernel Packages” for descriptions of the different packages.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.