Skip to navigation

Deploying Ubuntu and the BaseOS Software

View as Markdown

This section explains the steps for installing and configuring Ubuntu and the NVIDIA BaseOS software on DGX systems.

DGX OS provides a customized Ubuntu installation with additional software from NVIDIA to provide a turnkey solution for running AI and analytics workloads. The NVIDIA BaseOS software comprises platform-specific configurations, diagnostic and monitoring tools, and drivers that are required for a stable, tested, and supported OS to run AI, machine learning, and analytics applications on DGX systems.

You also have the option to install the NVIDIA BaseOS software on Ubuntu while still benefiting from the advanced DGX features. This installation method supports more flexibility, such as custom partition schemes.

Cluster deployments also benefit from this installation method through the standardized, automated, and non-interactive Ubuntu installation process. Starting with Ubuntu 20.04, the installer introduced a new mechanism for automating the installation, allowing system administrators to install a system unattended and non-interactively. You can find information about creating such a cloud-init configuration file in Cloud-init Configuration File. Refer to Ubuntu Automated Server Installation.

The intended audience is IT professionals managing a cluster of DGX systems and integration partners.

Prerequisites

The following prerequisites are required or recommended, where indicated.

Ubuntu Software Requirements

The DGX OS 8.1.1 Software requires the following software versions:

  • Ubuntu 26.04
  • x86_64 kernel: 7.0.0-1025-nvidia
  • ARM64 (HWE) kernel: 7.0.0-2024-nvidia-bos
  • ARM64 (LTS) kernel: 7.0.0-1025-nvidia

Access to Software Repositories

The BaseOS software is available from repositories that can be accessed from the internet. If your installation does not allow connection to the internet, refer to Air-Gapped Installations for information about installing and upgrading software on air-gapped systems.

If you are using a proxy server, refer to Network Configuration for setting up a proxy configuration.

Installation Considerations

Installing the NVIDIA BaseOS software on Ubuntu allows you to select from additional configuration options that would otherwise not be available with the preconfigured DGX OS installer. These include drive partitioning, filesystem choices, and software selection.

Before you start installing Ubuntu and the NVIDIA BaseOS software, evaluate the following options. The installation and configuration instructions are covered in the respective sections of this document.

The DGX B200/B300, DGX H100/H200, DGX A100/A800, and DGX GB200/GB300 systems embed two system drives for mirroring the OS partitions (RAID-1). This ensures data resiliency if one drive fails. To enable mirroring, enable it during the drive configuration of the Ubuntu installation. It cannot be enabled after the installation.

Data Drive RAID-0 or RAID-5

DGX systems are equipped with multiple data drives that can be configured as RAID-0 for performance or RAID-5 for resiliency. RAID-0 provides the maximum storage capacity and performance but does not provide any redundancy. If a single SSD in the array fails, all data stored on the array is lost.

RAID-0 is recommended for data caching. You can use cachefilesd to provide caching for Network File System (NFS) shares. NFS is required to take advantage of the cache file system. Use RAID-5 for persistent data storage.

You have the option to configure RAID and data caching during the initial Ubuntu installation, or after installation using the configure_raid_array.py script. The configure_raid_array.py script is recommended for manual installation.

System Drive Encryption [optional]

Root filesystem encryption is a software-based method to protect the content stored in the system partitions from unauthorized access by encrypting the data in real time. It requires you to unlock the filesystem on every boot, either manually by entering a passphrase or automatically using a centralized key server.

System drive encryption can only be enabled during the installation of Ubuntu.

Data Drive Encryption [optional]

Data drive encryption is only supported on DGX B300, DGX B200, DGX H100/H200, DGX A100, and DGX GB200/GB300 systems that are equipped with self-encrypting drives (SED). It can be enabled after Ubuntu is installed using the nv-disk-encrypt tool. It requires either storing the keys in the TPM or using external key management.

System Drive Partitioning

Ubuntu uses only a single partition for the entire filesystem by default. This can be configured during the Ubuntu installation for deployments that require a more detailed partition scheme for security reasons. The recommended partitioning scheme is to use only a single partition for the Linux root partition with the ext4 filesystem.

Installing Ubuntu

There are several methods for installing Ubuntu as described in the Ubuntu Server Guide.

For convenience, this section provides additional instructions that are specific to DGX for installing Ubuntu following the Basic Installation. If you have a preferred method for installing Ubuntu, skip this section.

Steps that are covered in this section:

  • Connecting to the DGX system
  • Booting from the installation media
  • Running the Ubuntu installer (including network and storage configuration steps)

Booting from the Installation Media

During the installation and configuration steps, connect to the console of the DGX system. Refer to Connecting to the DGX System.

Boot the Ubuntu ISO image in one of the following ways:

Running the Ubuntu Installer

After booting the ISO image, the Ubuntu installer starts and guides you through the installation process.

The screenshots in the following steps are taken from a DGX A100. Other DGX systems have differences in drive partitioning and networking.

During the boot process of the ISO image, you might encounter some error messages due to older drivers, but they can be safely disregarded.

Example ISO boot error messages that can be disregarded during installation

  1. Select your language at the welcome screen, and then follow the instructions to select whether to update the installer (if offered) and to choose your keyboard.

    Ubuntu installer language selection screen

  2. At the Network connections screen, configure your network.

    Ubuntu installer network connections screen

    The installer tries to automatically retrieve a DHCP address for all network interfaces, so you can continue without any changes. However, you also have the option to manually configure the interfaces.

  3. At the Guided storage configuration screen, configure the partitioning and file systems. All DGX systems are shipped preinstalled with DGX OS. The drives are, therefore, already partitioned and formatted. The DGX OS installer configures a single ext4 partition for the root partition in addition to the EFI boot partition. You have the following options:

    • Keep the current partition layout and formatting [recommended].
    • Create a custom partition scheme [advanced].
    • Use a single disk with the default Ubuntu partition scheme.

    Creating a new custom partition scheme with a RAID configuration is a more involved process and is outside the scope of this document. Refer to the Ubuntu installation guide. When you choose the option to use an entire disk, Ubuntu uses only one of the two redundant boot drives.

    The RAID level for the data drive can be changed after the installation of Ubuntu.

    The following instructions describe the steps for keeping the current partition layout. It still requires you to recreate and reformat the partitions.

    1. Select Custom storage layout, and then select Done.

      Ubuntu installer custom storage layout option

    2. Identify the system drive.

      The system drive on the DGX A100/A800, DGX H100/H200, DGX B200/B300, and DGX GB200/GB300 systems is a RAID 1 array, and you can find it easily.

    3. Select the system drive, and then select Format.

      Formatting the RAID 1 system drive in the storage configuration screen

    4. Set Format to ext4.

      Do not select Leave formatted as <filesystem>.

      Setting the filesystem format to ext4 for the root partition

    5. Set Mount to /.

      Setting the mount point to root for the system partition

    6. Set the boot flag on the raw devices.

      Identify the system drives under AVAILABLE DEVICES (not the RAID array) and select Use as Boot Device for the first device. On DGX A100, DGX H100/H200, DGX B200/B300, and DGX GB200/GB300 systems that have two drives, repeat this process for the second drive and select Use as Another Boot Device.

      Selecting boot devices for the system drives

    7. Complete the configuration.

      • RAID 0 array: In most cases, the RAID 0 array for the data drives is already created from the factory. If it has not been created, you can create the array either in the Storage Configurations dialog or by using the configure_raid_array.py script after completing the Ubuntu installation.
      • Optional: Enable drive encryption: Encryption can only be enabled during the Storage configuration; it cannot be changed after the installation. To change the encryption state again, reinstall the OS. To enable drive encryption, you have to create a virtual group and volume. This falls outside the scope of this document. Refer to the Ubuntu documentation.
      • Swap partition: The default installation does not define a swap partition. Linux uses any configured swap partition for temporarily storing data when the system memory is full, incurring a performance hit. With the large memory of DGX systems, swapping is not recommended.

      The FILE SYSTEM SUMMARY at the top of the page should display the root partition on the RAID 1 array and a boot/efi partition (the two drives show up as a single entry).

      File system summary showing root and boot partitions on the RAID 1 array

      Select Done and accept all changes.

  4. Follow the instructions for the remaining tasks.

    Create a default user in the Profile setup dialog and choose any additional Snap packages you want to install in the Featured Server Snaps screen.

    Do not install Docker as a snap package. DGX OS installs docker.io; installing Docker separately as a snap might cause conflicts with the nvidia-container-toolkit package.

  5. Wait for the installation to complete.

    Log messages are presented while the installation is running.

  6. Select Reboot Now when the installation is complete to restart the system.

    After reboot, you can log in using the username and password for the user you created.

Installing the BaseOS Software

This chapter describes how to install and configure the BaseOS 10.1 software on a system that is running Ubuntu 26.04.

By installing the BaseOS software, you are confirming that you have read and agree to be bound by the NVIDIA Software License Agreement. You are also confirming that you understand that any pre-release software and materials available that you elect to install on a DGX may not be fully functional, may contain errors or design flaws, and may have reduced or different security, privacy, availability, and reliability standards relative to commercial versions of NVIDIA software and materials, and that you use pre-release versions at your risk.

Access to Software Repositories

The BaseOS 10.1 software is available from repositories that you can access from the internet. If your installation does not allow an internet connection, refer to Air-Gapped Installations for information about installing and upgrading software on air-gapped systems.

Enabling NVIDIA Repositories

The following steps enable the NVIDIA repositories.

  1. Install the NVIDIA repository packages for your architecture.

    curl --proto '=https' --tlsv1.2 -fsSL --output-dir /tmp/ \
    -O https://repo.download.nvidia.com/baseos/10/ubuntu/resolute/x86_64/nvidia-repositories.deb \
    -O https://repo.download.nvidia.com/baseos/10/ubuntu/resolute/x86_64/dgx-repositories.deb
    sudo apt install /tmp/nvidia-repositories.deb /tmp/dgx-repositories.deb
  2. Update the internal APT database with the latest version information of all packages.

    sudo apt update
  3. Recommended: Upgrade all software packages to the latest versions and reboot the system. You can defer rebooting the system until after you install the kernel.

    sudo apt full-upgrade
    sudo reboot

Installing the Linux Kernel

BaseOS 10.1 has been qualified with the NVIDIA Linux kernel available from the Ubuntu repository.

You must install the NVIDIA kernel and reboot the system before installing any NVIDIA drivers or system packages. DKMS modules are compiled against the running kernel, so the correct kernel must be active first.

  1. Install the Linux kernel for your system architecture.

    sudo apt install -y linux-nvidia
  2. Reboot the system to activate the new kernel.

    sudo reboot
  3. After rebooting, verify that the system is running the expected kernel.

    uname -r

    The output should show the NVIDIA-qualified kernel version. Confirm that it matches the version installed in the previous step before proceeding.

  4. Remove kernel packages for versions other than the running NVIDIA kernel.

    Complete this step only after confirming that the system is running the newly installed NVIDIA kernel. The DKMS kernel modules provided by nvidia-system-mlnx-drivers, installed later in this procedure, do not build against non-NVIDIA kernels.

    dpkg -l 'linux-image-*' 'linux-headers-*' 'linux-modules-*' 'linux-tools-*' |
    awk '/^ii/{print $2}' | grep -E '[0-9]+\.[0-9]+\.[0-9]+-[0-9]+' |
    grep -v "$(uname -r | sed 's/-generic$//')" | xargs -r sudo apt purge -y

Installing NVIDIA System Configurations and Tools

The NVIDIA BaseOS software includes tools and system-specific configurations and optimizations to leverage the advanced NVIDIA features. The software components are available in the form of software packages, which are also bundled into metapackages for convenience. For details about these packages and metapackages, refer to the Common and DGX-Specific Packages.

The following steps install the full set of BaseOS 10.1 system packages.

  1. Install NVIDIA system tools and utilities.

    • Install core system configurations including platform tuning profiles, IPMI and NVMe utilities, GRUB configuration, and TPM tools.

      sudo apt install nvidia-system-core
    • Install system administration tools including the NVIDIA Container Toolkit, OpenSSH server, NFS and CIFS support, network and storage utilities, and power management.

      sudo apt install nvidia-system-utils
    • Install diagnostic tools including storage I/O testing, memory stress testing, I2C utilities, and crash-dump collection.

      sudo apt install nvidia-system-diag
    • Install development tools including build-essential, cmake, git, gdb, and Python virtual environments.

      sudo apt install nvidia-system-extra
    • Optional: Install additional language dictionaries for Italian, German, Portuguese, Spanish, and Swiss.

      sudo apt install nvidia-system-extra-localization
  2. Install the DGX system tools and configurations.

    • Install DGX-specific utilities that include the installation of the nvidia-motd package.

      sudo apt install dgx-system-utils
  3. If you are installing on a DGX workstation, install the DGX Station packages.

    • Install the DGX Station package set. The nvidia-system-station metapackage installs nvidia-system-station-core, which includes the DGX Station GRUB customizer and core desktop software. The nvidia-system-station-apps, nvidia-system-station-games, and nvidia-system-station-localization packages add desktop applications, games, and language support, respectively.

      sudo apt install nvidia-system-station nvidia-system-station-apps \
      nvidia-system-station-games nvidia-system-station-localization
    • Install the DGX Station platform packages, if they are not already installed. The nvidia-settings package provides the NVIDIA X Server Settings application. The nvidia-xconfig package provides NVIDIA X configuration support. The nv-docker-gpus package prevents Docker and containerd from accessing the system display GPU. The mlnx-nvme-dkms and mlnx-nfsrdma-dkms packages are DKMS packages that build the Mellanox NVMe peer-memory and NFS-over-RDMA kernel modules, respectively.

      sudo apt install nvidia-settings nvidia-xconfig nv-docker-gpus \
      mlnx-nvme-dkms mlnx-nfsrdma-dkms
  4. Install the remaining packages commonly used by DGX OS.

    • Install docker.io, which provides the Docker Engine for running containers.

      sudo apt install -y docker.io
    • Install dracut, which generates the initial RAM filesystem (initramfs) used during system startup.

      sudo apt install -y dracut
    • Install dpkg-dev, which provides Debian package development utilities for building and inspecting packages.

      sudo apt install -y dpkg-dev
  5. For DGX servers, install the DGX server GRUB customizer.

    sudo apt install dgx-server-grub
  6. Recommended: Disable unattended upgrades.

    Ubuntu periodically checks for security and other bug fixes and automatically installs updated software packages typically overnight. Because this can be disruptive, regularly check for updates and install them manually.

    sudo apt purge -y unattended-upgrades

Configuring and Enabling TuneD

TuneD is a system-tuning service that applies a profile of kernel, boot, and network settings to the system. The nvidia-tuned-profiles package, which is installed with the nvidia-system-core metapackage, provides a set of TuneD profiles for each supported GPU architecture.

The included profiles are examples based on NVIDIA DGX system configurations and might require changes for your system. For example, a profile might specify a serial console port that differs from the one your system uses.

Before activating a profile, refer to Managing and Customizing TuneD Profiles to identify the profiles included with BaseOS and their settings. That chapter also describes how to adapt an included profile to your system or create your own profile by using the included profiles as examples.

Configuring the TuneD Profile

  1. List the installed TuneD profiles and identify the profile for your system.

    sudo tuned-adm list
  2. Activate the profile. Replace <profile> with the name of an included profile or your custom profile.

    sudo tuned-adm profile <profile>

    For example, to activate the included performance profile for DGX H100:

    sudo tuned-adm profile dgx-h100-performance

Enabling TuneD

  1. Enable the TuneD service at boot and start it immediately.

    sudo systemctl enable --now tuned
  2. Verify that the profile is active.

    sudo tuned-adm active

    The command shows the name of the active profile.

Most profile settings are applied immediately when the profile is activated. However, changes to the kernel command line take effect only after you reboot the system. You can reboot the system later, after installing the software described in the following sections. After the reboot, run sudo tuned-adm verify to confirm that all system settings match the profile.

Installing the NVIDIA System Management (NVSM) Tool

NVIDIA System Management (NVSM) is a software framework for monitoring NVIDIA DGX nodes in a data center. It allows you to get a quick system health report and is typically required by the NVIDIA support team to resolve issues.

The following steps configure NVSM.

  1. Install the NVSM tool.

    sudo apt install -y nvsm
  2. The dgx-system-utils metapackage installed earlier includes nvidia-motd, which configures the message-of-the-day (MOTD) with NVSM health monitoring alerts and release information.

    The package enables the 60-nvidia-health MOTD hook, which summarizes NVSM alerts, and the 00-header-nvidia hook, which reads release information from /etc/dgx-release. To preview the resulting MOTD, run:

    sudo run-parts /etc/update-motd.d

    To display details for any NVSM alerts reported in the MOTD, run:

    sudo nvsm show alerts

Installing GPU and Network Drivers

NVIDIA GPU and DOCA networking drivers are available as DKMS (Dynamic Kernel Module Support) packages from NVIDIA and as precompiled packages from Canonical. BaseOS 10.1 has only been qualified with the DKMS packages.

DKMS is a framework that automatically rebuilds kernel modules whenever a new kernel is installed. DKMS packages contain the driver source code and compile the kernel modules locally on the system. Without DKMS, kernel modules such as the NVIDIA GPU driver or DOCA networking drivers would need to be manually recompiled every time the kernel is updated.

DKMS works by keeping the module source code on the system. When the system installs a new kernel, DKMS automatically compiles the module source against the new kernel’s headers and installs the resulting module so that it is available at boot.

DKMS requires that the matching kernel header package is installed so the module can be compiled. For details, refer to the NVIDIA Driver Installation Guide for Ubuntu.

  1. Install the headers for the running kernel before installing any drivers.

    sudo apt install -y linux-headers-$(uname -r)
  2. Install the kernel tools package for your architecture.

    sudo apt install -y linux-tools-nvidia

Installing the GPU Driver

The following steps install the NVIDIA open GPU driver and associated software packages qualified with BaseOS 10.1. The driver branch is defined by the BaseOS release and is upgraded together with the other components. To ensure compatibility, always update the BaseOS software as a unit rather than upgrading individual driver packages independently. Refer to Upgrading the BaseOS Software for details.

  1. Install the NVIDIA driver pinning package.

    The driver pinning package selects the supported driver version for BaseOS 10.1. Pinning the driver restricts package updates to only security updates and critical bug fixes for that driver branch and avoids installing a newer branch when you update the system using apt upgrade.

    sudo apt install nvidia-driver-pinning-620
  2. Install the NVIDIA open GPU driver, persistence daemon, and MIG manager.

    The cuda13 suffix in the datacenter-gpu-manager-4-cuda13 package name refers to the major version of the CUDA user-mode driver (libcuda) that the NVIDIA GPU driver provides. It does not refer to the CUDA Toolkit, which you do not need to install for DCGM.

    Each NVIDIA GPU driver includes a corresponding CUDA user-mode driver. Install the DCGM package whose cuda<N> suffix matches the major version of the CUDA user-mode driver for the driver installed on your system.

    The CUDA Version that nvidia-smi reports is the highest CUDA version that the installed driver supports, not the version of any installed CUDA Toolkit. To display it, run:

    nvidia-smi -q | grep -E 'Driver Version|CUDA Version'
    Driver Version : 620.70.10
    CUDA Version : 13.5
    sudo apt install -y \
    nvidia-open \
    nvidia-persistenced \
    nvidia-mig-manager \
    datacenter-gpu-manager-4-cuda13
  3. Systems equipped with the NVIDIA NVSwitch require the Fabric Manager package and the NVIDIA NVSwitch Configuration and Query (NSCQ) library:

    • Install the NVIDIA Fabric Manager and NSCQ library:

      sudo apt install -y nvidia-fabricmanager-direct libnvidia-nscq
    • Enable the NVIDIA Fabric Manager systemd services:

      sudo systemctl enable nvidia-fabricmanager-direct nvidia-persistenced nvidia-dcgm
  4. Enable the Persistence Daemon and the DCGM systemd services:

    sudo systemctl enable nvidia-persistenced nvidia-dcgm
  5. Reboot the system to load the drivers and to update system configurations.

    a. Reboot the system.

    sudo reboot

    b. After the system has rebooted, verify that the drivers have been loaded and are managing the NVIDIA devices.

    nvidia-smi

    The output should show all available GPUs with Persistence-Mode set to On:

    +--------------------------------------------------------------------------------+
    | NVIDIA-SMI <driver-ver> Driver Version: <driver-ver> CUDA Version: <CUDA-ver>|
    |--------------------------------+-----------------------+-----------------------+
    | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
    | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
    | | | MIG M. |
    |================================+=======================+=======================|
    | 0 NVIDIA B200 On | 000000000:1B:00.0 Off | 0 |
    | N/A 33C P0 188W / 1000W | 0MiB / 183359MiB | 0% Default |
    | | | Disabled |
    +--------------------------------+-----------------------+-----------------------+
    | 1 NVIDIA B200 On | 000000000:43:00.0 Off | 0 |
    | N/A 34C P0 190W / 1000W | 0MiB / 183359MiB | 0% Default |
    | | | Disabled |
    +--------------------------------+-----------------------+-----------------------+
    ...
    +--------------------------------+-----------------------+-----------------------+
    | 7 NVIDIA B200 On | 000000000:DF:00.0 Off | 0 |
    | N/A 38C P0 197W / 1000W | 0MiB / 183359MiB | 0% Default |
    | | | Disabled |
    +--------------------------------+-----------------------+-----------------------+
    +--------------------------------------------------------------------------------+
    | Processes: |
    | GPU GI CI PID Type Process name GPU Memory |
    | ID ID Usage |
    |================================================================================|
    | No running processes found |
    +--------------------------------------------------------------------------------+

Installing the DOCA Packages

Systems with high-performance NVIDIA network cards require NVIDIA DOCA OFED for InfiniBand or Ethernet connectivity. DOCA-OFED provides kernel drivers, user-space libraries, and management tools for NVIDIA networking adapters.

For complete installation information, refer to the NVIDIA DOCA Installation Guide for Linux.

  1. Install the DOCA repository package for your platform and architecture.

    Choose the LTS or HWE repository according to the DOCA release qualified for your platform. Refer to the Release Notes for platform support.

    LTS

    curl --proto '=https' --tlsv1.2 -fsSL --output-dir /tmp/ \
    -O https://repo.download.nvidia.com/baseos/10/ubuntu/resolute/amd64/nvidia-doca-repositories-latest.deb
    sudo apt install /tmp/nvidia-doca-repositories-latest.deb

    HWE

    curl --proto '=https' --tlsv1.2 -fsSL --output-dir /tmp/ \
    -O https://repo.download.nvidia.com/baseos/10/ubuntu/resolute/amd64/nvidia-doca-repositories-hwe.deb
    sudo apt install /tmp/nvidia-doca-repositories-hwe.deb
  2. Update the package list and install the DOCA driver and associated software.

    The doca-ofed metapackage installs DOCA-OFED and its dependencies. The nvidia-system-mlnx-drivers metapackage installs DGX-specific MLNX driver packages.

    sudo apt update
    sudo apt install -y nvidia-system-mlnx-drivers doca-ofed
  3. Install the verification utilities and check the installed DOCA-OFED version.

    sudo apt install ofed-scripts infiniband-diags
    ofed_info -n

    The output shows the installed DOCA-OFED version, for example:

    26.04-1.1.0
  4. For InfiniBand, confirm that the NVIDIA network adapters are detected.

    ibstat

    The output lists each InfiniBand port with its state, link layer, and GUID. Ports in Active state with a valid link are operational.

Installing GPUDirect Storage Support

NVIDIA Magnum IO GPUDirect Storage (GDS) enables a direct data path for direct memory access (DMA) transfers between GPU memory and storage, avoiding a bounce buffer through the CPU.

This section applies only to the following situations:

  • You plan to use GPUDirect Storage on bare metal without Linux PCI P2PDMA. Refer to NVMe P2PDMA Troubleshooting.

  • You plan to upgrade or reinstall the DOCA-OFED package and the nvidia-fs module because BaseOS provides the updated versions.

  1. Install the nvidia-gds package.

    sudo apt install nvidia-gds

    Refer to Verifying a Successful GDS Installation in the NVIDIA GPUDirect Storage Installation and Troubleshooting Guide.

Configuring Data Drives

The data drives in the DGX systems can be configured as RAID 0 or RAID 5. RAID 0 provides the maximum storage capacity and performance but does not provide any redundancy.

RAID 0 is often used for data caching. You can use cachefilesd to provide a cache for NFS shares.

You can change the RAID level later, but this destroys the data on those drives.

You can configure the RAID array during the Ubuntu installation. If you have already configured the RAID array during the Ubuntu installation, you can skip the first step and go to step 2.

  1. Configure the /raid partition.

    All DGX systems support RAID 0 and RAID 5 arrays.

    • To create a RAID 0 array:

      sudo /usr/bin/configure_raid_array.py -c -f
    • To create a RAID 5 array:

      sudo /usr/bin/configure_raid_array.py -c -f -5

    The command creates the /raid mount point and RAID array and adds a corresponding entry in /etc/fstab.

  2. Optional: Install tools for managing the self-encrypting drives (SED) for the data drives on the DGX A100, DGX H100/H200, DGX B200, or DGX B300.

    Refer to Managing Self-Encrypting Drives.

  3. Optional: Configure NFS caching.

    The nvidia-tuned-profiles package configures cachefilesd to use the /raid partition. To configure an NFS mount to use this cache, follow the instructions in Configuring NFS Caching with cachefilesd.

Configuring Docker and the NVIDIA Container Toolkit

Containers provide isolated environments with a full filesystem of the required software for specific applications. To use the NVIDIA-provided containers for AI and other frameworks on a system with GPUs, configure Docker and the NVIDIA Container Toolkit. They provide GPU access to software running inside the container.

These tools are also required by the Firmware Update Containers for upgrading the system firmware on some DGX systems.

  1. Install Docker, configure it to use the NVIDIA Container Runtime, and restart Docker.

    The nvidia-system-utils metapackage installs nvidia-container-toolkit. Run the following commands to install docker.io, configure Docker to use the NVIDIA Container Runtime, and restart Docker to apply the changes.

    sudo apt install docker.io
    sudo nvidia-ctk runtime configure --runtime=docker
    sudo systemctl restart docker

To validate the installation, run a container and check that it can access the GPUs. The following instructions assume that the NVIDIA GPU driver has been installed and loaded.

This validation downloads a container image and requires that the system has internet access.

  1. Run nvidia-smi in a CUDA container.

    Select a published nvidia/cuda image tag from the NVIDIA CUDA container image tags. An image tag is the version-specific identifier after the colon in a container image name, such as 13.2.0-base-ubuntu24.04 in nvidia/cuda:13.2.0-base-ubuntu24.04.

    Select an image whose CUDA runtime version is supported by the installed NVIDIA driver. The CUDA version shown by nvidia-smi is the maximum CUDA version supported by that driver.

    Run the following command, replacing the placeholders with values from the image tag you selected:

    In the command, replace <cuda-version> with the CUDA runtime version in the image tag, such as 13.2.0, and replace <ubuntu-version> with the Ubuntu release in the image tag, such as 24.04. These placeholders are not literal values.

    sudo docker run --rm --gpus all nvidia/cuda:<cuda-version>-base-ubuntu<ubuntu-version> nvidia-smi

    For example:

    sudo docker run --rm --gpus all nvidia/cuda:13.2.0-base-ubuntu24.04 nvidia-smi
  2. Verify that the output shows all available GPUs with Persistence-Mode set to On.

Additional Software Installed By DGX OS

The Ubuntu and the NVIDIA repositories provide many additional software packages for a variety of applications. The DGX OS Installer, for example, installs several additional software packages that are not installed by default to aid system administration and developers.

To match the additional software included with a DGX OS ISO installation, install the following packages.

  1. Install any remaining software for system administration tasks:

    gdisk manages GUID Partition Table (GPT) partition tables. sysstat collects and reports system performance statistics.

    These packages might already be installed by Ubuntu or as dependencies of a previously installed package. If so, the following APT command reports that these packages are already installed and makes no changes.

    sudo apt install -y gdisk sysstat
  2. Install additional software for development tasks:

    gcc-multilib and g++-multilib provide support for building 32-bit C and C++ applications on 64-bit systems. On x86_64, they also provide support for the x32 ABI.

    sudo apt install -y gcc-multilib g++-multilib

You can install NVIDIA tools from the NVIDIA CUDA Developer repository, including the Compute Unified Device Architecture (CUDA) Toolkit, the NVIDIA CUDA Deep Neural Network library (cuDNN), and the NVIDIA Collective Communications Library (NCCL).

Next Steps and Additional Information

For further installation and configuration options, also refer to these chapters: