Installing Red Hat Enterprise Linux#

Red Hat provides several methods to install RHEL (refer to the RHEL Installation Guide for more information). Before you install, to determine whether any modifications are required for your environment, review Appendix D. This section provides information about how to install RHEL using the Quick Install method and reclaim the disk space used by an existing installation in the process.

Note

It describes a minimal installation.

If you have a preferred method to install RHEL, you can skip this section but ensure that you reclaim the disk space that is used by an existing OS installation. The Quick Install method installs RHEL on the Grace system remotely through facilities hosted on the BMC.

Obtaining Red Hat Enterprise Linux 9#

Obtain the RHEL ISO for Arm® image (aarch64) and store it on your local disk. Refer to Downloading Red Hat Enterprise Linux for the instructions.

Remotely Booting the Red Hat Enterprise Linux 9 ISO#

Attention

Here is some important information to know before you begin:

  • The Grace BMC comes with default login credentials, and NVIDIA recommends that you create a unique user ID and password.

    Contact the system vendor if you have issues logging into the BMC.

  • As a performance consideration, for networks that are distributed across a wide geographical area, such as a corporate VPN, we recommend that you use a browser from a host near the target server.

    This can be accomplished by using a remote application software solution, for example VNC, or by exporting the application X session and tunneling over SSH.

  • This sequence is intended for the NVIDIA reference BMC, and your results might vary when using an IBV BMC.

  1. Connect to the BMC.

    1. Open a browser in your LAN, navigate to https://<BMC-IP-address>/, and log in.

      _images/connect-to-bmc.png
  2. Download the ISO image to a location that the browser can access.

  3. Set up the ISO image as virtual media.

    1. From the left hand menu, expand Operations.

    2. Select Virtual media.

    3. Click Add file, navigate to the downloaded ISO image, and select it.

    4. To begin serving the ISO image to the target server, click Start.

      _images/virtual-media.png
  4. Boot from the virtual media.

    Typically, the default boot order does not boot the CD-ROM image. You can change this in the BIOS or as a one-time option in the boot menu.

    1. Connect to the console.

      1. From the left hand menu, expand Operations, and select the SOL console.

      2. Alternatively, SSH to the BMC from a terminal emulator, log in, and at the prompt, run the obmc-console-client command.

    2. To bring up the boot menu, press Escape or F11 at the beginning of the boot process.

      _images/boot-menu.png
      _images/boot-manager.png
    3. In the boot menu, select UEFI OpenBMC Virtual Media Device as the boot device and press Enter.

    4. Follow the instructions in Installing Red Hat Enterprise Linux.

Installing Red Hat Enterprise Linux#

Prerequisites: This section assumes you have already booted the RHEL ISO image.

  1. After booting the ISO image, the GRUB menu for the installer will appear.

    The menu will time out after 60 seconds.

  2. If no action is taken, it will proceed with booting the Test this media & install Red Hat Enterprise Linux 9.2 default selection.

    _images/test-media-install.png
  3. To automate the installation with a Kickstart configuration file, refer to Installing with Kickstart.

  4. Select one of the Install entries at the grub menu or wait for the timeout.

    Refer to the Red Hat Enterprise Linux Quick Installation Guide for guidance on using the installer.

  5. Follow the installer prompts to configure the manual installation.

  6. Select Use text mode.

    _images/starting-installer.png

    Note

    If the installer menu fails to start, the installation mode can be specified by modifying the GRUB entry to add either the inst.text or inst.vnc boot parameter. Refer to Boot options for RHEL Installer for more information.

  7. Select the Language and the Timezone.

    _images/language-time-zone.png
  8. Select the Base environment and any additional software you want to install.

    Note

    When installing RHEL 9.2 or RHEL 9.3, you must select the Minimal Install base environment. There is a dependency with the kmod-kvdo package, and this step prevents the 4k kernel from being installed concurrently with the 64k kernel (refer to Installing kernel-64k for ARM 64 for more information).

    _images/base-environment.png
  9. On RHEL 9.3 and later, select the 64k kernel option.

    _images/kernel-option.png
  10. Select the installation destination, the partitioning scheme, and partitioning options.

    _images/install-destination.png
    _images/replace-existing-linux-system.png
  11. Create the users and set the root password.

  12. To start the installation, enter b.

    _images/start-the-install.png
  13. After the installation is complete, the system will display a EULA prompt.

  14. Press ENTER to quit the installer and reboot the system.

  15. If you are using RHEL 9.3 and later, and you selected the 64k kernel in step 9, you can skip to step 19.

  16. After the system reboots, log in and install the 64k kernel as the default by running the following commands:

    sudo dnf install -y kernel-64k
    k=$(echo /boot/vmlinuz*64k)
    sudo grubby --set-default=$k --update-kernel=$k --args="crashkernel=auto"
    sudo grub2-editenv - unset menu_auto_hide
    sudo reboot
    
  17. After the system reboots, confirm that the system is running the 64k kernel by evaluating the page size.

    $ getconf PAGESIZE
    65536
    
  18. With the 64k kernel now booted, the 4k kernel must be removed per Red Hat’s recommendation by running the following command.

    sudo dnf erase kernel
    
  19. The installation on Grace is complete.