[Bug 530252] Re: os-prober fails to recognize linux installations with crypted root partition

Nathaniel Griswold 530252 at bugs.launchpad.net
Fri May 10 14:49:25 UTC 2024


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
Foundations Bugs, which is subscribed to os-prober in Ubuntu.
https://bugs.launchpad.net/bugs/530252

Title:
  os-prober fails to recognize linux installations with crypted root
  partition

Status in os-prober package in Ubuntu:
  New

Bug description:
  Binary package hint: os-prober

  On Karmic, os-prober fails to recognize linux installations with LUKS
  crypted root partition (which is pretty common on laptops nowadays).

  linux-boot-prober at least finds partitions when they are luksOpen'ed,
  but /usr/lib/os-probes-mounted/90linux-distro doesn't even try to look
  at /dev/mapper partitions or to use linux-boot-prober.

  ProblemType: Bug
  Architecture: i386
  Date: Mon Mar  1 19:58:15 2010
  DistroRelease: Ubuntu 9.10
  Package: os-prober 1.35
  ProcEnviron:
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
  SourcePackage: os-prober
  Uname: Linux 2.6.31-19-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/530252/+subscriptions




More information about the foundations-bugs mailing list