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.