Upgrading the BaseOS Software
This section describes how to update an existing BaseOS installation within a release or upgrade to a new BaseOS release.
Before you upgrade a system or any installed software, always consult the Release Notes for the latest information about available upgrades, the upgrade path, and supported systems.
Upgrade select systems and verify that your applications work as expected before deploying the upgrade to additional systems.
Upgrade Options
The following information describes the differences between the types of upgrades.
Distribution Upgrades
A distribution upgrade moves the system to a new Ubuntu LTS release (for example, from Ubuntu 26.04 to Ubuntu 28.04). Distribution upgrades for BaseOS will be supported in a future release. The specific BaseOS release and instructions will be provided in a future update.
An upgrade path from earlier Ubuntu LTS releases to BaseOS 10 is not supported.
BaseOS Software Upgrades
A BaseOS software upgrade updates the GPU driver, CUDA Toolkit, and DOCA components to the versions included in a supported BaseOS release. Refer to Upgrading BaseOS Using the CLI for upgrade instructions.
Package Upgrades
Package upgrades install updates that have become available in the repositories since the initial BaseOS release. The repositories are periodically updated with packages that include bug fixes and security updates. The NVIDIA repository also includes packages with new features that are available with the latest BaseOS minor version release. Refer to Performing Package Upgrades for instructions.
Upgrades are cumulative, meaning that your systems install all available upgrades, including upgrades available from Ubuntu, since the initial release.
Validating System Versions (NVVCT)
The NVIDIA Version Checker Tool (NVVCT) compares the firmware and software
versions installed on a system against the expected versions from a source of
truth (SOT) for a given platform and milestone. It retrieves installed versions
by using out-of-band methods (Redfish and IPMI) or in-band methods (SSH),
compares each component, and reports MATCH or MISMATCH.
NVVCT is typically run from a separate client host to validate firmware and software versions across all nodes in a rack. Use NVVCT before and after an upgrade to verify the current state of your systems.
To install the tool on the client host:
To verify the installation:
For configuration, usage, output interpretation, and troubleshooting, refer to the NVVCT User Guide.
Performing Package Upgrades
If you have a valid Ubuntu Pro subscription, refer to the Ubuntu Pro considerations in Installing the BaseOS Software for subscription information.
Performing Package Upgrades Using the CLI
Evaluate available updates at regular intervals and update the system based on the threat level:
- Refer to the Ubuntu Security Updates for more information about upgrades available for Ubuntu.
- For a list of the known Common Vulnerabilities and Exposures (CVEs), including those that can be resolved by updating the software, refer to the Ubuntu Security Notices.
If updates are available, you can obtain upgraded packages by completing the following steps:
-
Update the internal database with the list of available packages and their versions.
-
Review the packages to be upgraded.
To prevent an application from being upgraded, you can instruct the Ubuntu package manager to hold packages. Hold packages only in extremely rare cases, because holding packages can disrupt package dependencies.
-
Upgrade to the latest version.
When prompted to resolve an issue, answer any questions that appear. Most questions require a
YesorNoresponse. The other questions depend on what other packages were installed before the update and how those packages interact with the update. -
When the upgrade is complete, reboot the system.
Upgrades to the NVIDIA Graphics Drivers for Linux require a restart to
complete the kernel upgrade. If you upgrade the NVIDIA Graphics Drivers
for Linux without restarting the system, when you run the nvidia-smi
command, an error message is displayed.
Upgrading BaseOS Using the CLI
Upgrading the BaseOS 10 software stack using the command-line interface (CLI) is the process of updating GPU drivers, networking drivers, and system tools directly through terminal commands.
The BaseOS CLI tool prepares the system to upgrade to the next BaseOS release. You can then use operating system package management tools to complete the upgrade.
-
The BaseOS CLI tool is not used to perform an operating system upgrade. It specifically targets the BaseOS software stack.
-
Before upgrading your system, refer to the Release Notes for the upgrade path and supported DGX systems.
Upgrade Steps
-
Refresh the local APT package index and upgrade the installed packages:
-
Check that your system is ready to upgrade to the next BaseOS release:
Continue only if the dry run completes without errors. If the next BaseOS release is not yet available, wait for the release and run the dry run again.
-
Prepare the system for the next BaseOS release:
-
After the system is reconfigured for the next BaseOS release, complete the upgrade using the system package manager:
DGX OS / Ubuntu
-
Reboot the system if necessary to load any new kernel drivers included in the upgrade:
CLI Man Page
NAME
baseos - NVIDIA BaseOS Version Management Tool
SYNOPSIS
baseos upgrade [—to N] [—from N] [—dry-run] [—yes] [-v|—verbose]
baseos —version
baseos —help
DESCRIPTION
The baseos command manages the installed NVIDIA BaseOS
version. By default, it prepares the system to upgrade to the next
BaseOS release.
SUBCOMMANDS
upgrade Configure BaseOS for upgrade to a new version.
OPTIONS
—dry-run Run the command, but make no changes.
--from <version>
Override the detected installed BaseOS version.
—help Display the command usage information.
--to <version>
| Override the target BaseOS version to be configured.
| Default is the currently installed version + 1.
-v, —verbose Enable DEBUG-level logging.
—version
Display the baseos command version.
—yes Skip interactive confirmation prompts.
EXIT STATUS
0 Success
1 Generic failure during apply (a partial state can exist).
2 Prechecks failed (no changes made).
3 User declined the confirmation prompt.
FILES
-
/usr/share/baseos/stacks.yamlThe known BaseOS stacks and their detection strings.
-
/usr/share/baseos/upgrades/*.yamlTransition YAML files that describe the transitions required to move from one version to another.
-
/usr/share/baseos/data/*N*/Any required payload files for a target BaseOS version.
EXAMPLES
To check whether the system is ready for a BaseOS upgrade without making any changes, perform a dry run:
To prepare the system for upgrade to the next BaseOS release:
SEE ALSO
apt(8), dnf(8), dgx-release-upgrade(8)