It seems that the initrd in generic UKI does not contain systemd-cryptsetup and does not support root on LUKS. Can the initrd be built with necessary tools for this? Perhaps systemd with the cryptsetup use flag?
Thanks for the PR. How can I test building a -bin package locally? Would like to confirm that it fixes my problems. Thanks again.
You could build your own sys-kernel/gentoo-kernel with USE=generic-uki enabled.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7c42d994b1c54e9a66947bd2a7252a91f372bad commit d7c42d994b1c54e9a66947bd2a7252a91f372bad Author: Nowa Ammerlaan <nowa@gentoo.org> AuthorDate: 2025-06-06 10:15:23 +0000 Commit: Nowa Ammerlaan <nowa@gentoo.org> CommitDate: 2025-06-14 09:06:15 +0000 kernel-build.eclass: include systemd-cryptsetup in generic UKI Closes: https://bugs.gentoo.org/957110 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42471 Closes: https://github.com/gentoo/gentoo/pull/42471 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> eclass/kernel-build.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Should be fixed when the next batch of binary builds is pushed. If it's still not working, please re-open this bug report and then we can figure out what is still missing to make this work.