Locked out of DGX Spark — Forgot password, any recovery method?

Hello,

I’m currently locked out of my DGX Spark system because I forgot the login password. I’m trying to log in locally but I can’t get past the authentication screen.

I still have physical access to the machine and previously accessed it through SSH as well, but at the moment I cannot authenticate because I don’t remember the password.

I wanted to ask if there is a recommended recovery process for this situation. For example:

  • Is there a way to reset the password from recovery mode?

  • Can the password be reset from another authorized user or via NVIDIA tools?

  • Or is there an official NVIDIA procedure for recovering access to a DGX Spark system?

The system is running DGX Spark OS (Ubuntu-based).

Any guidance would be greatly appreciated.

Thank you.

If you forgot your user password, you can reset if you have another account with sudo/root privileges with the command: sudo passwd <username>
If you don’t have another user, then you will have to perform a system recovery: System Recovery — DGX Spark User Guide

Posting this because every thread I found pointed at the USB recovery image route — reformat, reflash, lose your data — for what’s actually a standard Ubuntu local password reset. If your disk isn’t encrypted (it’s off by default on the Spark), you don’t need any of that. Here’s what actually worked.

The problem: Set a password during OOBE, didn’t save it, locked out. No SSH, no login.

The two Spark-specific gotchas that make every generic guide fail:

1. GRUB won’t show with Shift or Esc. The GB10 firmware grabs those for its own UEFI setup. The combo that forces the hidden GRUB menu is left Shift + Insert, tapped right as the screen blanks after power-on.

2. init=/bin/bash boots to a blank HDMI screen. The kernel cmdline has multiple console= entries and the last one wins — it’s a serial console (ttyS0), so bash output goes out the serial port, not your monitor. You’re staring at a black screen thinking it hung. It didn’t.

The fix:

1. Power on, tap left Shift + Insert to catch GRUB.

2. Highlight DGX OS GNU/Linux, press e.

3. On the linux line: change ro → rw, then append to the very end (after $vt_handoff), add a space and type:

  `init=/bin/bash console=tty0`

it’s OK if it wraps, but DO NOT press enter or do a new line, just the space + the line above.

The console=tty0 is the key — it forces output back to HDMI as the last console. Without it you get the blank screen.

4. Ctrl-X to boot. You land at a root@(none):/# shell. (The cannot set terminal process group / no job control warnings are normal — ignore them.)

5. Reset:

  `mount -o remount,rw /`

passwd <your-username>

enter your new desired password - confirm it - GG.

6. exec /sbin/init or power-cycle. Done. Log in with the new password.

No USB, no reflash, no data loss. Took 5 minutes once I had the two gotchas above. Hope this saves someone the reinstall.