I'm trying to install gentoo with dist-kernel, using installkernel and ugrd to generate the initramfs. I'm seeing an error when installkernel triggers ugrd to create the initramfs. Here is the build log of linux-firmware, with the ugrd error at the end: https://paste.gentoo.zip/fV3m8dP8. Also, here is my /etc/ugrd/config.toml: https://paste.gentoo.zip/1OszcBEF. If I uncomment [cryptsetup.root] and specify the uuid in /etc/ugrd/config.toml, it complains that "ugrd.ValidationError: [root] LUKS uuid mismatch, found 7c9de988-7c14-484f-9e9d-a9e50cb36986', expected: daabca89-50b6-4df8-ac2a-83d8690872c0". The uuid it is expecting belongs to a member of a lvm volume that contains root, and is not root itself. Not sure how to proceed from here.
The new version of ugrd (from the live 9999 ebuild) fixes this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e69b47dd63a1c3d9676af2e205f6aabb0a8f01 commit 78e69b47dd63a1c3d9676af2e205f6aabb0a8f01 Author: Zen <z@pyl.onl> AuthorDate: 2025-01-25 00:15:54 +0000 Commit: Nowa Ammerlaan <nowa@gentoo.org> CommitDate: 2025-01-25 19:21:55 +0000 sys-kernel/ugrd: add 1.31.2 Fixes an issue introduced in 1.30.1 adds support for new installkernel hooks Closes: https://bugs.gentoo.org/948675 Signed-off-by: Zen <z@pyl.onl> Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> sys-kernel/ugrd/Manifest | 1 + sys-kernel/ugrd/ugrd-1.31.2.ebuild | 73 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+)