Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unraid 7.3.2. internal boot lost root password

Featured Replies

hi

I have forgot the password to my root account on my server, I have searched the help files and it just gives you info on usb not internal, anybody have any ideas how to reset as I don't have a usb anymore

thanks

  • 3 months later...

same issue here though with mirrored internal drives.

Tried to boot from a Ubuntu USB drive, mounted the fat32 partition but that doesn't contain the files referenced in the link below:

https://docs.unraid.net/unraid-os/system-administration/secure-your-server/user-management/#reset-your-password

Then also imported the zfs pool via "sudo zpool import -f flash" (as the zpool list returned that name).
Followed by "zfs list -r flash" lists the mounted pools (only flash/boot bot mounted to /boot).

But also the /boot folder does not contain the data.

Why did this happen:

  • during initial setup via webinterface I used a longer password (37 characters)

  • did not copy the license code (douh)

  • got distracted by something else and did not finish the setup. Now I can not access via the password I had provided

Happy about a suggestion/idea. I assume removing the NVME from the system, attaching it to a e.g. Windows system via external USB to NVME case wont help...

For the mirrored internal-boot case: the password reset files live on the Unraid flash filesystem as `/boot/config/passwd`, `shadow`, and `smbpasswd` (same docs apply). If `zfs list` shows `flash/boot` but `/boot` is empty or wrong, the dataset isn’t mounted where the docs expect.

Try from the Ubuntu live USB:

1) `sudo zpool import` (no -f first) and note the exact pool/dataset names.

2) Mount the boot dataset explicitly, e.g. `sudo mkdir -p /mnt/boot && sudo zfs set mountpoint=/mnt/boot flash/boot && sudo zfs mount flash/boot` (adjust the dataset name to whatever `zfs list -r` showed).

3) Then look for `config/passwd`, `config/shadow`, `config/smbpasswd` under that mount. Rename/delete those three, export the pool cleanly, reboot Unraid — root password becomes blank and you set a new one in the UI.

A Windows NVMe enclosure usually won’t help if the flash is ZFS; stick with Linux. Also double-check you didn’t mount the wrong dataset (array disks vs the flash boot dataset) — only the flash boot copy holds those files.

You can also boot from an Unraid flash drive, then import the boot pool:

zpool import -R /x flash

zfs mount flash/boot

The internal boot pool should then be mounted under /x/boot

Thanks a lot @JorgeB and @owenscott will give it a try in 2 weeks (travelling right now). Initial quick test with an unraid usb drive (older version) gave an issue as the pool has the same name but will figure out when I return as well as try with a fresh usb unraid on the same version (7.3.2).

3 hours ago, skydive2002 said:

Thanks a lot @JorgeB and @owenscott will give it a try in 2 weeks (travelling right now). Initial quick test with an unraid usb drive (older version) gave an issue as the pool has the same name but will figure out when I return as well as try with a fresh usb unraid on the same version (7.3.2).

You can use the Unraid Installer, there is a password reset in the recovery menu. New video has just released which will show you how to create and use.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.