> This page is for version 8.1.0.
> For other versions, use one of these documentation indexes:
> - 8.1.1 (default): https://docs.nvidia.com/baseos/dgx-os-8-user-guide/8.1.1/llms.txt
> - 8.1.0: https://docs.nvidia.com/baseos/dgx-os-8-user-guide/8.1.0/llms.txt
> - 8.0.0: https://docs.nvidia.com/baseos/dgx-os-8-user-guide/8.0.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/baseos/dgx-os-8-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/baseos/dgx-os-8-user-guide/_mcp/server.

# Deploying Ubuntu and the BaseOS Software

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](/baseos/dgx-os-8-user-guide/8.1.0/cloud-init-configuration-file).
Refer to [Ubuntu Automated Server Installation](https://canonical-subiquity.readthedocs-hosted.com/en/latest/intro-to-autoinstall.html).

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.0 Software requires the following software versions:

* Ubuntu 26.04
* linux-nvidia-64k-hwe-26.04 for DGX Vera Rubin NVL72 (ARM64)

### 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](/baseos/dgx-os-8-user-guide/8.1.0/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](/baseos/dgx-os-8-user-guide/8.1.0/configuring-system-settings#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.

### System Drive Mirroring (RAID-1) \[recommended]

The DGX B200/B300, DGX H100/H200, and DGX A100/A800 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, and DGX A100
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](https://ubuntu.com/server/docs).

For convenience, this section provides additional instructions that are specific
to DGX for installing Ubuntu following the [Basic Installation](https://ubuntu.com/server/docs/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](/baseos/dgx-os-8-user-guide/8.1.0/initial-setup#connecting-to-the-dgx-system).

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

* Remotely through the baseboard management controller (BMC) for systems that provide a BMC

  For instructions, refer to [Installing the DGX OS Image Remotely Through the BMC](/baseos/dgx-os-8-user-guide/8.1.0/reimaging-the-system#installing-the-dgx-os-image-remotely-through-the-bmc).

* Locally from a UEFI-bootable USB flash drive or DVD-ROM

  For instructions, refer to [Installing the DGX OS Image from a USB Flash Drive or DVD-ROM](/baseos/dgx-os-8-user-guide/8.1.0/reimaging-the-system#installing-the-dgx-os-image-from-a-usb-flash-drive-or-dvd-rom).

### Running the Ubuntu Installer

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

> **Note**
>
> 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](/baseos/dgx-os-8-user-guide/_fern-files/_img/a0af20b03972b5d002d2fad9b907e814e11a11c10fd5222977bced9a2387caf2.webp)

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](/baseos/dgx-os-8-user-guide/_fern-files/_img/ac2d59a88c1cae64dd7b1373642cd3d6b324f24fa47c222044d1b9ed5b294946.webp)

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

   ![Ubuntu installer network connections screen](/baseos/dgx-os-8-user-guide/_fern-files/_img/91be980ae03f8c82a5159d1fd8cc4431a5690a3fa05552a0d58af1ecc8e762c1.webp)

   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.

   > **Note**
   >
   > 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](/baseos/dgx-os-8-user-guide/_fern-files/_img/216ac4895e1eb3839014f6e8662644a1b20b4e24edca1fbf1789107e40ace92c.webp)

   2. Identify the system drive.

      The system drive on the DGX A100/A800, DGX H100/H200, and DGX B200/B300 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](/baseos/dgx-os-8-user-guide/_fern-files/_img/d4fe4912d368032591a78cc8f1ce1b58bbcff78c0b7f151524b424362350cf01.webp)

   4. Set **Format** to `ext4`.

      Do not select `Leave formatted as <filesystem>`.

      ![Setting the filesystem format to ext4 for the root partition](/baseos/dgx-os-8-user-guide/_fern-files/_img/97120e474b8ddabf0c4c8a2ae5c4be60b9d976332e90a13926c86d6ea74e0bde.webp)

   5. Set **Mount** to `/`.

      ![Setting the mount point to root for the system partition](/baseos/dgx-os-8-user-guide/_fern-files/_img/812df3c2ab9729bf430bd9870d58820559de686d190c8f67547589f301bc81f7.webp)

   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, and DGX B300 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](/baseos/dgx-os-8-user-guide/_fern-files/_img/11bea93268c327451f080a24f5751ac08d43729c35734deeacbba49221d22d34.webp)

   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](/baseos/dgx-os-8-user-guide/_fern-files/_img/17931c872d41aaafff00d6a6bba7124e62beabc6953263ee720afc3416bdab0f.webp)

      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.

   > **Note**
   >
   > 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 section requires that you have already installed Ubuntu on the DGX system and
rebooted the system.

> **Attention**
>
> By installing the BaseOS software, you are confirming that you have read and
> agree to be bound by the [NVIDIA Software License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/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.

### Installing DGX System Configurations and Tools

The NVIDIA BaseOS software includes system-specific configurations and tools
to leverage the advanced DGX features. They are provided from NVIDIA
repositories in the form of software packages that can be installed on top of a
typical Ubuntu installation. All system-specific software components are bundled
into metapackages specific to a system:

* system-configurations
* system-tools
* system-tools-extra

For details about the content of these packages, refer to the
[Release Notes](/baseos/dgx-os-8-user-guide/8.1.0/release-notes).

The following steps configure access to the NVIDIA and DGX repositories and
install the system-specific packages.

1. Configure access to the NVIDIA and DGX repositories by extracting the
   repository information.

   This archive adds the URIs, configuration preferences, and GNU Privacy Guard
   (GPG) keys required to install the BaseOS software. Download the archive with
   strict `curl` flags before extracting it; do not process downloaded content
   directly as root.

   * For ARM64 systems:

     ```bash
     curl --proto '=https' --tlsv1.2 -fsSLo /tmp/dgx-repo-files.tgz \
       https://repo.download.nvidia.com/baseos/10/ubuntu/resolute/arm64/dgx-repo-files.tgz
     ```

   Check the file contents:

   ```bash
   tar tzf /tmp/dgx-repo-files.tgz
   ```

   The output shows the following contents:

   ```text
   ./usr/
   ./usr/share/
   ./usr/share/keyrings/
   ./usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg
   ./usr/share/keyrings/cuda_debian_prod.gpg
   ./usr/share/keyrings/docker-key.gpg
   ./usr/share/keyrings/nvidia-doca-debian-gpg-public-key.gpg
   ./usr/share/keyrings/ai-workbench-desktop-key.gpg
   ./usr/share/keyrings/GPG-KEY-Mellanox.gpg
   ./usr/share/keyrings/dgx_debian_prod.gpg
   ./etc/
   ./etc/apt/
   ./etc/apt/sources.list.d/
   ./etc/apt/sources.list.d/dgx.sources
   ./etc/apt/sources.list.d/nvidia.sources
   ./etc/apt/preferences.d/
   ./etc/apt/preferences.d/nvidia-dgx
   ```

   Verify that the archive contents match the expected repository files. If
   they do not, do not continue; confirm that the download command used matches
   the download command in the previous step and that the archive was not corrupted.

   After verifying the archive contents, extract the archive and remove the
   temporary file:

   ```bash
   sudo tar xzf /tmp/dgx-repo-files.tgz -C /
   rm -f /tmp/dgx-repo-files.tgz
   ```

2. Update the APT package list to retrieve packages from the configured
   repositories.

   ```bash
   sudo apt update
   ```

3. **Recommended**: Upgrade all software packages to the latest versions.

   ```bash
   sudo apt upgrade
   ```

4. Install the DGX system tools and configurations.

   * Install core DGX system packages required for performance.

     ```bash
     sudo apt install nvidia-system-core
     ```

   * Install the NVIDIA driver pinning package.

     Replace `<driver-version>` with the major driver version that matches
     the GPU driver listed in [Current Software Versions](/baseos/dgx-os-8-user-guide/8.1.0/release-notes#current-software-versions) for the DGX OS
     release that you are installing. For example, GPU driver `595.91.07`
     requires `nvidia-driver-pinning-595`.

     ```bash
     sudo apt install nvidia-driver-pinning-<driver-version>
     ```

   * Install DGX system packages, such as automake, build-essential, and vim for development.

     ```bash
     sudo apt install nvidia-system-extra
     ```

   * Install additional language packages.

     ```bash
     sudo apt install nvidia-system-extra-localization
     ```

   * Install diagnostic tools.

     ```bash
     sudo apt install nvidia-system-diag
     ```

   * Install NVIDIA system utility packages.

     ```bash
     sudo apt install nvidia-system-utils
     ```

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

     ```bash
     sudo apt install dgx-system-utils
     ```

5. 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.

     ```bash
     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.

     ```bash
     sudo apt install nvidia-settings nvidia-xconfig nv-docker-gpus \
       mlnx-nvme-dkms mlnx-nfsrdma-dkms
     ```

6. Install the `linux-tools` package for your kernel.

   * For ARM64 systems like DGX Vera Rubin NVL72:

     ```bash
     sudo apt install -y linux-tools-nvidia-64k-hwe-26.04
     ```

7. Install the remaining packages commonly used by DGX OS.

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

     ```bash
     sudo apt install -y docker.io
     ```

   * Install `dracut`, which generates the initial RAM filesystem
     (initramfs) used during system startup.

     ```bash
     sudo apt install -y dracut
     ```

   * Install `nvidia-modprobe`, which loads NVIDIA kernel modules and creates
     NVIDIA device files when needed.

     ```bash
     sudo apt install -y nvidia-modprobe
     ```

   * Install `dpkg-dev`, which provides Debian package development utilities
     for building and inspecting packages.

     ```bash
     sudo apt install -y dpkg-dev
     ```

   * Install the CUDA NVML development package. Replace `<cuda-major>` and
     `<cuda-minor>` with the major and minor CUDA Toolkit versions listed in
     [Current Software Versions](/baseos/dgx-os-8-user-guide/8.1.0/release-notes#current-software-versions) for the DGX OS release being installed.
     For example, CUDA Toolkit `13.3 Update 1` requires `cuda-nvml-dev-13-3`.

     ```bash
     sudo apt install -y cuda-nvml-dev-<cuda-major>-<cuda-minor>
     ```

   * Install the NVIDIA Data Center GPU Manager (DCGM). Replace
     `<dcgm-major>` with the major DCGM version and `<cuda-major>` with the
     major CUDA Toolkit version listed in [Current Software Versions](/baseos/dgx-os-8-user-guide/8.1.0/release-notes#current-software-versions).
     Do not include the CUDA update number in either package name. For example,
     DCGM `4.6.1` and CUDA Toolkit `13.3 Update 1` require
     `datacenter-gpu-manager-4-cuda13`.

     ```bash
     sudo apt install -y datacenter-gpu-manager-<dcgm-major>-cuda<cuda-major>
     ```

8. For DGX servers, install the DGX server GRUB customizer.

   ```bash
   sudo apt install dgx-server-grub
   ```

9. **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.

   ```bash
   sudo apt purge -y unattended-upgrades
   ```

### 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.

> **Important**
>
> 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:

     ```bash
     sudo /usr/bin/configure_raid_array.py -c -f
     ```

   * To create a RAID 5 array:

     ```bash
     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](/baseos/dgx-os-8-user-guide/8.1.0/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](/baseos/dgx-os-8-user-guide/8.1.0/configuring-system-settings#configuring-nfs-caching-with-cachefilesd).

### Installing the GPU Driver and Platform Packages

DGX OS supports only the qualified NVIDIA GPU driver of the BaseOS release.
The following steps install the release-qualified NVIDIA open GPU driver and
platform packages for this release.
Do not select a different driver branch or independently upgrade individual GPU
driver packages. For supported component versions, refer to
[Current Software Versions](/baseos/dgx-os-8-user-guide/8.1.0/release-notes#current-software-versions). When a newer supported driver becomes available,
update the complete BaseOS software, including DOCA.

To install the GPU driver and platform packages:

1. Refresh the package list.

   ```bash
   sudo apt update
   ```

2. Install the NVIDIA Linux kernel package for your DGX platform.

   For DGX Vera Rubin NVL72:

   ```bash
   sudo apt install -y linux-nvidia-64k-hwe-26.04
   ```

3. Install the NVIDIA open GPU driver and DGX platform packages.

   ```bash
   sudo apt install -y \
     nvidia-open \
     libnvidia-nscq \
     nvidia-fabricmanager \
     nvidia-persistenced \
     nvidia-mig-manager \
     open-nvdebug \
     nvfwupd \
     nvsm
   ```

4. For DGX B200 and DGX B300 systems, install the NVIDIA Validation and
   Configuration Tool (NVVCT).

   ```bash
   sudo apt install -y nvvct
   ```

5. Enable the NVIDIA Fabric Manager, the NVIDIA Persistence Daemon, and the DCGM systemd services:

   ```bash
   sudo systemctl enable nvidia-fabricmanager nvidia-persistenced nvidia-dcgm
   ```

6. Reboot the system to load the drivers and to update system configurations.

   a. Reboot the system.

   ```bash
   sudo reboot
   ```

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

   ```bash
   nvidia-smi
   ```

   The output should show all available GPUs and Persistence-Mode *On*:

   ```text
   +--------------------------------------------------------------------------------+
   | 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                                                     |
   +--------------------------------------------------------------------------------+
   ```

> **Note**
>
> DGX OS supports GPU driver updates only as part of an upgrade to a newer BaseOS release.
> When a BaseOS release that includes a newer supported GPU driver is available, follow
> [Upgrading BaseOS Using the CLI](https://docs.nvidia.com/dgx/baseos-9-user-guide/latest/upgrading-baseos-using-cli.html)
> to upgrade DGX OS to that release.

### Installing the DOCA-OFED Package

DGX systems include high-performance network cards to connect to other systems
over InfiniBand or Ethernet. The NVIDIA DOCA™ OFED software provides the same functionality
as MLNX_OFED, including kernel drivers, user space libraries, and management tools for NVIDIA networking products.
For more information about what DOCA-OFED is, refer to [DOCA Framework Guide](https://docs.nvidia.com/doca/sdk/doca-framework/#).
For more detailed information about installing DOCA, refer to the [NVIDIA DOCA Installation Guide for Linux](https://docs.nvidia.com/doca/sdk/nvidia-doca-installation-guide-for-linux.pdf).

Install NVIDIA DOCA-OFED from the NVIDIA and DGX repositories configured in
[Installing DGX System Configurations and Tools](/baseos/dgx-os-8-user-guide/8.1.0/deploying-ubuntu-and-the-base-os-software#installing-dgx-system-configurations-and-tools), then install the
DOCA-OFED and supporting MLNX driver packages. These steps match the DOCA-OFED
repository, package, and MLNX service configuration performed by the DGX OS ISO installation.

1. Refresh the package list.

   In [Installing DGX System Configurations and Tools](/baseos/dgx-os-8-user-guide/8.1.0/deploying-ubuntu-and-the-base-os-software#installing-dgx-system-configurations-and-tools), extracting
   `dgx-repo-files.tgz` installs the repository source files, signing keys,
   and APT preferences.

   Refresh the package list to retrieve package information from the configured
   NVIDIA and DGX repositories.

   ```bash
   sudo apt update
   ```

2. Install DOCA-OFED and the supporting MLNX driver packages.

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

   ```bash
   sudo apt install -y nvidia-system-mlnx-drivers doca-ofed
   ```

3. For DGX B200 and DGX B300 systems, install the remaining platform packages.

   The packages provide CollectX bring-up diagnostics, the NVSwitch Device
   Monitoring (NVSDM) library, and the NVLink Subnet Manager (NVLSM),
   respectively.

   ```bash
   sudo apt install -y \
     collectx-bringup \
     libnvsdm \
     nvlsm
   ```

4. Configure the MLNX services.

   * If you plan to PXE boot from an NVIDIA ConnectX adapter on a DGX A100/A800,
     DGX H100/H200/H800, or DGX B200/B300 system, run
     `mlnx_pxe_setup.bash` to configure the MLNX PXE environment.

     ```bash
     sudo mlnx_pxe_setup.bash
     ```

   * Enable the OpenIB service, which configures the installed NVIDIA ConnectX
     adapters and their InfiniBand drivers at system startup.

     ```bash
     sudo systemctl enable openibd.service
     ```

     To verify that the OpenIB service completed the adapter and driver startup
     configuration successfully, run:

     ```bash
     sudo systemctl status openibd.service
     ```

     The OpenIB service performs its configuration and then exits. A status of
     `active (exited)` with `status=0/SUCCESS` indicates successful configuration.

   * Disable services that are not enabled by the ISO.

     ```bash
     sudo systemctl disable srp_daemon.service srptools.service
     ```

### 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 the DGX system and 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.

1. Configure Docker to use the NVIDIA Container Runtime, then restart Docker.

   The preceding system package installation installs `docker.io`. The
   `nvidia-system-utils` metapackage installs `nvidia-container-toolkit`.
   Run the following commands to configure Docker to use the NVIDIA Container
   Runtime and restart Docker to apply the change.

   ```bash
   sudo nvidia-ctk runtime configure --runtime=docker
   ```

   ```bash
   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.

> **Note**
>
> 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](https://hub.docker.com/r/nvidia/cuda/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.

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

   For example:

   ```bash
   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 and has Persistence-Mode set
   to On.

### Installing the NVIDIA System Management (NVSM) Tool \[Recommended]

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. The system package installation in
   [Installing DGX System Configurations and Tools](/baseos/dgx-os-8-user-guide/8.1.0/deploying-ubuntu-and-the-base-os-software#installing-dgx-system-configurations-and-tools) should install
   NVSM. If the `nvsm` package is not installed, run:

   ```bash
   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:

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

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

   ```bash
   sudo nvsm show alerts
   ```

### 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.

   ```bash
   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.

   ```bash
   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](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/), the [NVIDIA CUDA Deep Neural Network library (cuDNN)](https://docs.nvidia.com/deeplearning/cudnn/installation/latest/), and the
[NVIDIA Collective Communications Library (NCCL)](https://docs.nvidia.com/deeplearning/nccl/install-guide/index.html).

## Next Steps and Additional Information

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

* [Installing Additional Software](/baseos/dgx-os-8-user-guide/8.1.0/installing-additional-software) - installing additional software
* [Network Configuration](/baseos/dgx-os-8-user-guide/8.1.0/configuring-system-settings#network-configuration) - additional network options and configurations
* [Data Storage Configuration](/baseos/dgx-os-8-user-guide/8.1.0/configuring-system-settings#data-storage-configuration) - RAID configurations and encryption information
* [Running NGC Containers](/baseos/dgx-os-8-user-guide/8.1.0/configuring-system-settings#running-ngc-containers) - running NGC containers on the system