Installing Red Hat Enterprise Linux

Red Hat provides several methods for installing Red Hat Enterprise Linux as described in Performing a Standard RHEL 9 Installation.

The installation instructions in this topic are for the latest release of the DGX Software for Red Hat Enterprise Linux 9. The DGX Software does not include Extended Update Support (EUS), which is an optional subscription for Red Hat Enterprise Linux. For more information about EUS, refer to Red Hat Enterprise Linux (RHEL) Extended Update Support (EUS) Overview.

For convenience, this topic describes how to install Red Hat Enterprise Linux using the Quick Install method, and shows when to reclaim disk space in the process. It describes a minimal installation. If you have a preferred method for installing Red Hat Enterprise Linux, then you can skip this section but be sure to reclaim disk space occupied by the existing Ubuntu installation.

The interactive method described here installs Red Hat Enterprise Linux on DGX using a connected monitor and keyboard and USB stick with the ISO image, or remotely through the remote console of the BMC.

Important

Refer to the Release Notes for any critical information regarding supported releases or dependencies. You will also find the version of Red Hat Enterprise Linux that is qualified and tested for use with the DGX Software.

Obtaining Red Hat Enterprise Linux

Obtain the Red Hat Enterprise Linux 9 ISO image and store on your local disk or create a boot USB drive formatted for UEFI. See Downloading Red Hat Enterprise Linux for instructions.

Booting the Red Hat Enterprise Linux ISO Locally

  1. Plug the USB flash drive containing the Red Hat Enterprise Linux 9 ISO image into the DGX.

  2. Connect a monitor and keyboard directly to the DGX.

  3. Boot the system and press F11 when the NVIDIA logo appears to get to the boot menu.

  4. Select the USB volume name that corresponds to the inserted USB flash drive, and boot the system from it.

  5. Follow the instructions at Installing and Configuring Red Hat Enterprise Linux

Booting the Red Hat Enterprise Linux ISO Remotely

This chapter describes the steps for booting the Red Hat Enterprise Linux ISO remotely using the BMC:

Skip this chapter if you are using a monitor and keyboard for installing locally, or if you are installing on a DGX Station. The DGX Station cannot be booted remotely.

Booting the ISO Image on the DGX-2, DGX A100, DGX A800, or DGX H100 Remotely

  1. Connect to the BMC and ensure the required user privileges are set.

    1. Open a browser within your LAN and go to https://<BMC-ip-address>/, then log in.

    2. From the left-side menu, click Settings and then select User Management.

    3. Click the card with the user name that you created for the BMC.

    4. In the User Management Configuration dialog, make sure the VMedia Access checkbox is selected, then click Save.

      _images/bmc-dgx2-user-access.png
  2. Set up the ISO image as virtual media.

    1. From the left-side menu, click Remote Control.

      _images/bmc-dgxa100-remote-control.png
    2. Select Launch KVM.

      _images/bmc-launch-kvm-dgxa100.png
    3. From the top menu bar in the KVM window, click Browse File and select the ISO image, then click Start Media.

      _images/bmc-dgx2-start-media.png

      The CD image should now be connected.

      _images/bmc-dgx2-media-connected.png
    4. From the top menu bar in the KVM window, click Power and then selectReset Server.

  3. Boot from the virtual media.

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

    1. To bring up the boot menu, press F11 at the beginning of the boot process.

      Pressing F11 will display Entering Boot Menu in the virtual display before entering the boot menu.

      _images/dgx2-boot-screen.png
    2. In the boot menu, select UEFI: AMI Virtual CDROM0 1.00 as the boot device and then press ENTER

      _images/dgxa100-sbios-select-boot-device.png

      If you are booting from the DGX-2, the boot device is labeled UEFI: Virtual CDROM0 1.00.

      _images/dgx-2-sbios-select-boot-device.png
    3. Follow the instructions at Installing and Configuring Red Hat Enterprise Linux

Booting the ISO Image on the DGX-1 Remotely

  1. Connect to the BMC and change user privileges.

    1. Open a Java-enabled web browser within your LAN and go to http://<BMC-ip-address>/, then log in.

      Use Firefox or Internet Explorer. Google Chrome is not officially supported by the BMC.

    2. From the top menu, click Configuration and then select Users.

    3. Select the user name that you created for the BMC, then click Modify User.

    4. In the Modify User dialog, select the VMedia checkbox to add it to the extended privileges for the user, then click Modify.

      _images/bmc-modify-user.png
  2. Set up the ISO image as virtual media and reboot the system.

    1. From the top menu, click Remote Controland select Remote KVM.

      _images/console-redirection.jpg
    2. Click Launch KVM to open the remote console.

    3. From the top menu bar in the KVM window, click Browse File and select the ISO image, then click Start Media.

      _images/bmc-dgx2-start-media.png

      The CD image should now be connected.

      _images/bmc-dgx2-media-connected.png
    4. From the top menu bar in the KVM window, click Power and then selectReset Server.

  3. Boot the CD ROM image.

    The default boot order does not boot the CDROM image. This can be changed in the BIOS or as a one-time option in the boot menu. To bring up the boot menu, press F11 at the beginning of the boot process. Pressing F11 will display Show Boot Options at the top of the virtual display before entering the boot menu. Use the “soft” keyboard (Menu → Keyboard Layout → SoftKeyboard → <Language>) to bring up a virtual keyboard if pressing the physical key has no effect.

    _images/nv-splash-screen.png
    1. In the boot menu, select UEFI: AMI Virtual CDROM 1.00 as the boot device and then press ENTER

      _images/select-boot-device.png
    2. Follow the instructions at Installing and Configuring Red Hat Enterprise Linux

Installing and Configuring Red Hat Enterprise Linux

This section assumes you have booted the Red Hat Enterprise Linux ISO image.

Note

Rocky Linux: The procedures for installing Rocky Linux are essentially the same as those described here, except where noted. The bootup installation screen will refer to Rocky Linux instead of Red Hat Enterprise Linux, and the Quick Start installer for Rocky Linux is based on the Red Hat Enterprise Linux installer, so the look is similar except, again, for the naming.

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

    _images/install-rhel.png
  2. If you wish to automate the installation with a kickstart file, see the section Installing with Kickstart

  3. Select Install Red Hat Enterprise Linux and press ‘e’ to edit the selected option.

    1. Add the “nomodeset” parameter as shown below.

      “nomodeset” prevents the in-box Nouveau driver from loading as it might not properly support the GPUs used in the DGX systems, resulting in display issues.

      _images/install-rhel-params-dgx-station.png
    2. Press Ctrl-x to save your changes and start the installation.

  4. Refer to Performing a Standard RHEL 9 Installation for additional guidance on using the RHEL 9 installer.

  5. Configure the language, region, date, time, keyboard, and other configuration options you might need from the Installation Summary Screen.

  6. Set the Software Selection to the correct value.

    • For DGX Station and DGX Station A100: Set to Server with GUI.

    • For DGX Servers (DGX 1-1, DGX-2, DGX A100, DGX A800, and DGX H100): Set to Minimal Install.

    Note

    Setting the correct Software Selection is critical for proper operation.

    _images/rhel8-installation-summary.png
  7. Partition your disks based on the platform and whether or not you would like to use encryption:

  8. Configure Ethernet.

    From the Network & Host Name section, select and enable the Ethernet device. This defaults to DHCP and can be changed for static IP configurations under Configure.

    _images/network-host-name.png
  9. From the INSTALLATION SUMMARY screen, set your password (at User Settings > Root Password) and create a new user (at User Settings > User Creation), then click Begin installation to start the installation.

    _images/rhel8-install-summ-destination.png

    When the system reboots, be sure and eject any still-mounted installation discs.

  10. Complete the initial Red Hat Enterprise Linux setup.

    • If you installed using the Server with GUI base environment, the Initial Setup starts automatically where you can accept the license agreement and register the system. See the Red Hat instructions for details.

    • If you are using CentOS you will need to accept the license agreement.

    • If you installed with any other base environment, log on to the system as root user and then register the system.

      subscription-manager register --auto-attach --username=user_name --password=password
      
    • To prevent accidental upgrade of the Linux kernel, such as from RHEL 9.3 to 9.4, when precompiled GPU modules and drivers for that kernel are not available, you should pin the desired RHEL release by setting the --set=<release> option of the release command.

      For example, to stay on the RHEL 9.3 release:

      subscription-manager release --set=9.3
      

      You should check the Release Notes section for GPU driver and Linux kernel support before changing the –set=<release> setting and performing sudo dnf update –-nobest.

See How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager for further information.

Partitioning

This chapter provides instructions for partitioning the DGX system:

Disk Partitioning for DGX-1, DGX Station, and DGX Station A100

Note

The screenshots in the following section are taken from a DGX-1. The screens for the DGX Station and DGX Station A100 installations can present slightly different information for such things as disk size, disk space available, interface names, and so on.

  1. At the Installation Destination screen, select the smaller of the available drives to install on.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0001.png

    Under Storage Configuration, click the Custom radio button and then click Done.

    This brings up the Manual Partitioning window.

  2. Expand the drop-down menu for the device you’ve selected and delete all existing partitions until there are none remaining.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0011.png
  3. Click the + button on the bottom left to create a new partition.

    Create the/boot/efi partition with a size of 512 MiB.

    _images/rhel8-install-dest-dgx-2-a100_page_0021.png
  4. Select Standard Partition for the Device Type.

    _images/rhel8-install-dest-dgx-2-a100_page_0031.png

    Under Devices, ensure only the drive you chose in step 1 is selected. Click Update Settings to confirm your changes.

  5. Click the + button on the bottom left again to create another new partition. Create the / partition, this time leaving the Desired Capacity field empty. This lets the installer know to use the remaining capacity of the disks.

    _images/rhel8-install-dest-dgx-2-a100_page_0041.png
  6. For the / partition, again select Standard Partition for the Device Type. Under Devices, ensure that only the drive you chose in step 1 is selected. For the File System, select XFS.

    _images/rhel8-install-dest-dgx-2-a100_page_0051.png

    Under Devices, ensure that only the drive you chose in step 1 is selected. For the File System, select XFS. Click Update Settings to confirm your changes.

  7. Click Done. This causes a yellow warning bar to appear on the bottom because no swap partition has been created.

  8. Click Done again and then click Accept Changes to write all of our customizations to disk.

    _images/rhel8-install-dest-dgx-2-a100_page_0071.png
  9. Return to step 8 in the Installing and Configuring Red Hat Enterprise Linux section.

Disk Partitioning with Encryption for DGX-1, DGX Station, and DGX Station A100

Note

The screenshots in the following section are taken from a DGX-1. The screens for the DGX Station and DGX Station A100 installations can present slightly different information for such things as disk size, disk space available, interface names, etc.

  1. At the Installation Destination screen, select the smaller of the available drives to install on. Under Storage Configuration, click the Custom radio button and then click Done.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0001.png
  2. This brings up the Manual Partitioning window. Expand the drop-down menu for the device you’ve selected and delete all existing partitions until there are none remaining.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0011.png
  3. Click the + button on the bottom left to create a new partition.

    Create the/boot/efi partition with a size of 512 MiB.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0021.png
  4. Select Standard Partition for the Device Type.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0031.png

    Under Devices, ensure only the drive you chose in step 1 is selected.

    Click Update Settings to confirm your changes.

  5. Click the + button on the bottom left again to create another new partition.

    Create the /boot partition with a size of 2 GiB.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0041.png
  6. For the /boot partition, again select Standard Partition for the Device Type.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0051.png

    Under Devices, ensure that only the drive you chose in step 1 is selected. For the File System, select XFS.

    Click Update Settings to confirm your changes.

  7. Click the + button on the bottom left again to create another new partition.

    Create the / partition, this time leaving the Desired Capacity field empty. This lets the installer know to use the remaining capacity of the disks.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0071.png
  8. For the / partition, again select Standard Partition for the Device Type. Be sure to check the Encrypt checkbox, and choose luks2 for the LUKS Version. For the File System, select XFS. Again confirm that this partition uses both of the devices you selected in step 2. Then click Done.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0081.png
  9. A prompt will now appear, asking for a LUKS password. Be sure to choose a strong and secure password. After entering your password twice, click Save Passphrase

  10. Click Done. This causes a yellow warning bar to appear on the bottom because no swap partition has been created.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0091.png
  11. Click Done again and then click Accept Changes to write all of our customizations to disk.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0101.png
  12. Return to step 8 in the Installing and Configuring Red Hat Enterprise Linux section.

Disk Partitioning for DGX-2, DGX A100, DGX A800, and DGX H100

Note

The screenshots in the following section are taken from a DGX A100. The instructions for the DGX-2, DGX H100, and DGX A800 installation can present slightly different information, such as disk size, disk space available, interface names, and so on.

  1. At the Installation Destination screen, select the smaller of the available drives to install on.

    Under Storage Configuration, click the Custom radio button and then click Done.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0001.png

    This brings up the Manual Partitioning window.

  2. Expand the drop-down menu for the device you have selected and delete all existing partitions until there are none remaining.

    _images/rhel8-install-dest-dgx-2-a100_page_0011.png
  3. Click the + button on the bottom left to create a new partition.

    Create the /boot/efi partition with a size of 512 MiB.

    _images/rhel8-install-dest-dgx-2-a100_page_0021.png
  4. Change the Device Type to RAID, change the RAID Level to RAID1, and confirm that this partition covers both of the devices you selected in step 2 by clicking Modify in the Device(s) section and making sure both disks are still selected.

    Note that the partition information on the left might not reflect both devices yet. Click Update Settings to confirm your changes.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0031.png
  5. Click the + button on the bottom left again to create another new partition.

    Create the / partition, this time leaving the Desired Capacity field empty. This lets the installer know to use the remaining capacity of the disks.

    _images/rhel8-install-dest-dgx-2-a100_page_0041.png
  6. For the / partition, again select RAID for the Device Type and RAID1 for the RAID Level. For the File System, select XFS.

    Confirm that this partition uses both of the devices you selected in step 2 by clicking Modify in the Device(s) section and making sure both disks are still selected.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0051.png
  7. Click Done.

    This causes a yellow warning bar to appear on the bottom because no swap partition has been created.

  8. Click Done again and then click Accept Changes to write all of our customizations to disk.

    _images/rhel8-install-dest-dgx-2-a100_page_0101.png
  9. Return to step 8 in the Installing and Configuring Red Hat Enterprise Linux section.

Disk Partitioning with Encryption for DGX-2, DGX A100, DGX A800, and DGX H100

Note

The screenshots in the following section are taken from a DGX A100. The following instructions will use LUKS to create an encrypted root filesystem on your boot devices. This is a separate process from using self-encrypting data-drives.

  1. At the Installation Destination screen, select the smaller of the available drives to install on.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0001.png

    Under Storage Configuration, click the Custom radio button and then click Done.

    This brings up the Manual Partitioning window.

  2. Expand the drop-down menu for the device you have selected and delete all existing partitions until there are none remaining.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0011.png
  3. Click the + button on the bottom left to create a new partition.

    Create the/boot/efipartition with a size of 512 MiB.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0021.png
  4. Change the Device Type to RAID, change the RAID Level toRAID1, and confirm that this partition covers both of the devices you selected in step 2 by clicking Modify in the Device(s) section and making sure both disks are still selected.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0031.png

    Note that the partition information on the left might not reflect both devices yet.

    Click Update Settings to confirm your changes, and verify that the /boot/efi partition shown lists the partition name and not the individual device.

  5. Click the + button on the bottom left again to create another new partition.

    Create the /boot partition with a size of 2 GiB.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0041.png
  6. For the /boot partition, again select RAID for the Device Type, RAID1, and the RAID Level.

    For the File System, select XFS.

    _images/rhel8-install-dest-dgx-2-a100_page_0051.png

    Again confirm that this partition uses both of the devices you selected in step 2 by clicking Modify in the Device(s) section and making sure both disks are still selected.

    Click Update Settings to confirm your changes. Click the + button on the bottom left again to create another new partition.

    Create the / partition, this time leaving the Desired Capacity field empty. This lets the installer know to use the remaining capacity of the disks.

  7. For the / partition, again select RAID for the Device Type, RAID1 and the RAID Level.

    Be sure to check the Encrypt checkbox, and choose luks2 for the LUKS Version.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0071.png

    For the File System, select XFS. Again confirm that this partition uses both of the devices you selected in step 2.

    Click Update Settings to confirm your changes, and Done to begin exiting the partition menu.

    A prompt will now appear asking for a LUKS password.

  8. Be sure to choose a strong and secure password.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0081.png

    After entering your password twice, click Save Passphrase.

  9. Click Done.

    This causes a yellow warning bar to appear on the bottom because no swap partition has been created.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0091.png
  10. Click Done again and then click Accept Changes to write all of our customizations to disk.

    _images/rhel8-install-dest-dgx-2-a100-encrypt_page_0101.png
  11. Return to step 8 in the Installing and Configuring Red Hat Enterprise Linux section.