timothystewart6/ubuntu-gb10
About
Ubuntu 24.04 + NVIDIA stack setup guide for GB10 / DGX Spark systems
Learning & EducationMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalUbuntu 24.04 + NVIDIA Stack Setup for GB10 / DGX Spark Systems
This repo documents the full setup of an NVIDIA GB10 Grace Blackwell system as a clean Ubuntu 24.04 GPU server, modeled after DGX OS 7 but running standard Ubuntu Server without NVIDIA's customized DGX OS image.
Read the full write-up: Ubuntu Server on the NVIDIA DGX Spark (Without the Desktop)
This guide applies to the NVIDIA DGX Spark and all GB10-based partner systems, including:
- ASUS Ascent GX10 (used to write this guide)
- NVIDIA DGX Spark
- Lenovo ThinkStation GB10
- Dell GB10-based workstations
- HP, MSI, Gigabyte, and other GB10 OEM units
Dell Pro Max GB10 note: Dell OEM images ship extra generic kernel packages that leave a second GRUB boot entry, so a fresh host can silently reboot into the generic kernel. The
nvidia_stackrole now discovers and purges those versioned generic packages automatically, keeping the NVIDIA HWE kernel as the only boot target. The ConnectX-7 NIC pair is covered by thedoca_ofedrole, and the wired management NIC (enP7s7, a Realtek 8127) uses the same predictable PCI naming as the ASUS units.
The GB10 is an ARM64 platform. All packages, ISOs, and repo URLs must use the arm64 variant.
Hardware
All GB10 systems share the same NVIDIA GB10 Grace Blackwell Superchip SoC:
- NVIDIA Blackwell GPU with 5th-gen Tensor Cores and FP4 (1 petaFLOP AI)
- 128 GB unified LPDDR5x memory shared between the 20-core ARM Grace CPU and GPU via NVLink-C2C
- NVIDIA ConnectX-7 NIC (two GX10 units can be linked)
- 10 GbE LAN
All GB10 partner systems share the same ARM64 SoC. This is NOT x86_64.
References
- DGX OS 7 User Guide - Customizing Ubuntu with DGX Software
- NVIDIA DGX Spark Product Page
- ASUS Ascent GX10 Product Page
- Ubuntu Server 24.04 LTS
Host Info
Example values used in this guide (replace with your own):
| Key | Value |
|---|---|
| Hostname | gb10-1.local |
| OS Target | Ubuntu Server 24.04 LTS |
| Arch | arm64 (Grace Blackwell) |
| GPU | NVIDIA Blackwell (GB10) |
| Memory | 128 GB unified (CPU+GPU shared) |
| NIC | NVIDIA ConnectX-7 + 10 GbE |
Current Target Software Versions
Based on the DGX Spark / DGX OS 7.5.0 release (June 2026). GB10 partner systems may trail the DGX Spark Founders Edition by a release or two.
| Component | Version | Notes |
|---|---|---|
| DGX OS | 7.5.0 | Reference baseline (Founders Edition) |
| NVIDIA GPU Driver | 580.196.11 | Open kernel modules, required for Blackwell |
| NVIDIA CUDA Toolkit | 13.0 | |
| Canonical Kernel | 6.17 (HWE) | 6.17.0-1032-nvidia |
| Ubuntu Base | 24.04 LTS | arm64 |
Unified Memory Note: The GB10 has no dedicated VRAM. The GPU and CPU share 128 GB of system DRAM via NVLink-C2C.
nvidia-smiwill reportMemory-Usage: Not Supported- this is expected and normal on iGPU/UMA systems.
Guide Sections
| File | Description |
|---|---|
| docs/01-ubuntu-install.md | Ubuntu Server 24.04 (arm64) install |
| docs/02-nvidia-stack.md | NVIDIA GPU driver + CUDA + HWE kernel |
| docs/03-docker-gpu.md | Docker CE + NVIDIA Container Toolkit |
| docs/04-doca-ofed.md | ConnectX-7 NIC + DOCA-OFED drivers |
| docs/05-verify.md | Post-install verification steps |
| docs/06-optimizations.md | Post-install performance tuning |
| docs/07-dual-node.md | Dual-node NCCL + CX-7 interconnect setup |
Quick-Start Order
- Install Ubuntu Server 24.04 (arm64) - see docs/01-ubuntu-install.md
- Add NVIDIA repos, HWE kernel, GPU driver, CUDA - see docs/02-nvidia-stack.md
- Install Docker + NVIDIA Container Toolkit - see docs/03-docker-gpu.md
- (Optional) ConnectX-7 DOCA-OFED drivers - see docs/04-doca-ofed.md
- Verify everything works - see docs/05-verify.md
- (Optional) Performance tuning - see docs/06-optimizations.md
- (Optional) Dual-node NCCL setup - see docs/07-dual-node.md
Ansible Automation
The playbooks/ directory contains Ansible roles that automate steps 2-5 above
(step 4, DOCA-OFED, is handled by the doca_ofed role and skips itself on
hardware without a ConnectX-7 NIC). The Ubuntu install (step 1) and the Secure
Boot MOK console enrollment must be done manually.
Prerequisites
- Ubuntu 24.04 installed and reachable via SSH
- An
automationuser with passwordless sudo and your SSH key deployed (runbootstrap.ymlonce if the account does not exist yet) - Ansible installed on your control machine (
pip install ansible)
First-time bootstrap (if automation user does not exist)
cd playbooks
ansible-playbook bootstrap.yml -i <ip>, -u <install-user> --ask-pass --ask-become-pass
Full setup
Security note:
mok_passwordis a one-time throwaway password - pick something simple you can type at the UEFI console on the next reboot. To keep it out of your shell history, prefix the command with a leading space (requiresHISTCONTROL=ignorespacein bash, orsetopt HIST_IGNORE_SPACEin zsh), or pass it via a temp file:echo 'mok_password: yourpassword' > /tmp/mok.yml && ansible-playbook ... -e @/tmp/mok.yml && rm /tmp/mok.yml.
cd playbooks
ansible-playbook site.yml -i <ip>, -e target=all -e 'mok_password=<one-time-password>'
After the playbook completes, reboot and watch the console for the blue "Perform MOK management" screen. Enroll the MOK key using the password you set above. This is a one-time step required for Secure Boot systems.
Verify
ansible-playbook verify.yml -i <ip>, -e target=all
Runs 33 checks across OS, kernel, Secure Boot, NVIDIA driver, services, CUDA, Docker, and system hygiene. All checks are read-only.
Explore related projects
Loading…
