Summary: | sys-boot/grub[-device-mapper] fails to detect LUKS root | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | konsolebox <konsolebox> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | base-system, konsolebox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
konsolebox
2024-09-09 07:30:40 UTC
This is a pretty kludgy workaround. I don't want to officially document it. Instead, you should figure out why grub-probe fails. grub-probe.c simply looks outdated and broken. Not worth fixing. Anyway I'll just keep this solution to myself. I wonder if you have the "device-mapper" USE flag disabled on sys-boot/grub? If so, try enabling it. (In reply to Mike Gilbert from comment #3) > I wonder if you have the "device-mapper" USE flag disabled on sys-boot/grub? > If so, try enabling it. Looks like it's working with device-mapper. Perhaps just enable this flag by default? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=986a98ecc0e29535d3a6c55fedf599aea56841f4 commit 986a98ecc0e29535d3a6c55fedf599aea56841f4 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-09-11 14:50:51 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-09-11 14:50:51 +0000 sys-boot/grub: update device-mapper USE description Bug: https://bugs.gentoo.org/939361 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-boot/grub/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4efe21a38947ac8eef56424b79ae2e36c134325 commit b4efe21a38947ac8eef56424b79ae2e36c134325 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-09-12 18:26:09 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-09-12 18:26:09 +0000 sys-boot/grub: enable device-mapper by default Closes: https://bugs.gentoo.org/939361 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-boot/grub/grub-2.12-r5.ebuild | 2 +- sys-boot/grub/grub-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) |