Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

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.

CRYPTROOT_ENABLE image did not include pkg systemd-cryptsetup in build

Featured Replies

Hello

I built my custom server image with LUKS encryption and everything was fine with regards to the encrytped rootfs on emmc. However I ran into boot failure issues when I tried adding other disks with LUKS encryption (because I had moved /var to new LUKS disk). After some time spent in debugging and recovery it turned out that my custom built Armbian never ran systemd-cryptsetup-generator to dynamically generate the systemd units needed to unlock encrypted volumes during boot and hence failed to correctly setup and hit the corresponding cryptsetup.target

Finally I ended up installing package systemd-cryptsetup manually and run systemd-cryptsetup-generator to resolve it (auto-generate the target unit files - update-initramfs after editing /etc/crypttab should trigger it, but in this case the package itself was missing?), and it cost me a few hours troubleshooting why... (more so because I was determined not to introduce a manual hack/override for something that should not be broken in the first place).

I think by default Armbian build framework should include the systemd-cryptsetup package (for both server and minimal), when CRYPTROOT_ENABLE is set - as encryption is a basic default configuration these days..

Thanks

PS: At this point I have forgotten the reasons I had deduced why cryptroot worked and only the additional LUKS disks were impacted. But in any case the ask/fix is small - the Armbian build environment should include package systemd-cryptsetup by default without having to resort to extensions or userpatches ...

Edited by Raul

  • Raul changed the title to CRYPTROOT_ENABLE image did not include pkg systemd-cryptsetup in build
On 11/3/2026 at 1:01 PM, Raul said:

I think by default Armbian build framework should include the systemd-cryptsetup package

You are right.

https://github.com/armbian/build/pull/11300/changes

Feel free to open PR next time. Otherwise its missed.

PS
I made many improvements to LUKS encryption lately. One desktop variant is going to be released (v26.11) with a default encrypted rootfs.

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.