This is still a problem for me on jammy jellyfish. I found an older debian bug #801769 which addresses the issue not by modifying the mounted check (now in /lib/os-probes/50mounted-tests) but by simply adding entries from /dev/mapper/* to to the partitions() list in the main os-prober script.
The attached patch (attached both to the debian bug report and here) worked for me on jammy. It requires luks partitions to be unlocked but not mounted. ** Attachment added: "os-prober.dif" https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/530252/+attachment/5777025/+files/os-prober.dif -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/530252 Title: os-prober fails to recognize linux installations with crypted root partition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/530252/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
