Package: os-prober Version: 1.65 Severity: normal Tags: patch Dear Maintainer,
* What led up to the situation? In a multi-boot system, os-prober does not list those encrypted partitions with other OSs that are manually connected. * What exactly did you do (or not do) that was effective (or ineffective)? Connecting the partition with: sudo cryptsetup luksOpen /dev/sda1 sda1 Confirmed that the partition was mapped in /dev/mapper: ls /dev/mapper * What was the outcome of this action? os-prober returned empty * What outcome did you expect instead? Listing the OS information in /dev/mapper/sda1 -- System Information: LSB Version: security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch Distributor ID: SolydXK Description: SolydK 8 64-bit Release: 8 Codename: solydxk Architecture: x86_64 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages os-prober depends on: ii libc6 2.19-18+deb8u1 os-prober recommends no packages. os-prober suggests no packages. -- no debconf information
--- /usr/bin/os-prober 2014-09-28 23:04:17.000000000 +0200 +++ /home/arjen/live/solydk/root/usr/bin/os-prober 2015-10-14 11:11:56.047870558 +0200 @@ -25,6 +25,15 @@ } partitions () { + # List connected LUKS devices + if type cryptsetup >/dev/null 2>&1; then + for device in $(ls /dev/mapper); do + if [ "$(cryptsetup status /dev/mapper/$device | grep LUKS)" != "" ]; then + echo "/dev/mapper/$device" + fi + done + fi + # Exclude partitions that have whole_disk sysfs attribute set. if [ -d /sys/block ]; then # Exclude partitions on physical disks that are part of a