Bug#1028301: grub: grub-probe doesn't detect that file is on cryptfs on new installation

Laurent Bigonville bigon at debian.org
Mon Jan 9 11:12:19 GMT 2023


Package: grub-common
Version: 2.06-7
Severity: serious
File: /usr/sbin/grub-probe

Hello,

On a newly installed laptop, it seems that grub-probe is not able to
detect that files are on an encrypted FS.

New laptop:

$ sudo grub-probe -t abstraction /usr/share/images/desktop-base/desktop-grub.png
lvm

$ sudo lsblk
NAME                      MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
nvme0n1                   259:0    0 476,9G  0 disk
├─nvme0n1p1               259:1    0   512M  0 part  /boot/efi
├─nvme0n1p2               259:2    0   488M  0 part  /boot
└─nvme0n1p3               259:3    0   476G  0 part
  └─nvme0n1p3_crypt       254:0    0 475,9G  0 crypt
    ├─new_laptop--vg-root    254:1    0  27,9G  0 lvm   /
    ├─new_laptop--vg-swap_1  254:2    0   976M  0 lvm   [SWAP]
    ├─new_laptop--vg-home    254:3    0    40G  0 lvm   /home
    └─new_laptop--vg-libvirt 254:4    0    60G  0 lvm   /var/lib/libvirt

Old laptop:

$ sudo grub-probe -t abstraction /usr/share/images/desktop-base/desktop-grub.png
cryptodisk
luks
gcry_rijndael
gcry_rijndael
gcry_sha256
lvm

$ sudo lsblk
NAME                                 MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sda                                    8:0    1     0B  0 disk
nvme0n1                              259:0    0 476,9G  0 disk
├─nvme0n1p1                          259:1    0   512M  0 part  /boot/efi
├─nvme0n1p2                          259:2    0   244M  0 part  /boot
└─nvme0n1p3                          259:3    0 476,2G  0 part
  └─nvme0n1p3_crypt                  254:0    0 476,2G  0 crypt
    ├─old_laptop--vg-root                254:1    0  27,9G  0 lvm   /
    ├─old_laptop--vg-swap_1              254:2    0  31,7G  0 lvm   [SWAP]
    ├─old_laptop--vg-home                254:3    0   120G  0 lvm   /home
    ├─old_laptop--vg-sid_amd64_sbuild    254:4    0     5G  0 lvm
    ├─old_laptop--vg-flatpak             254:5    0    50G  0 lvm   /var/lib/flatpak
    ├─old_laptop--vg-libvirt             254:6    0    75G  0 lvm   /var/lib/libvirt
    ├─old_laptop--vg-docker              254:7    0    10G  0 lvm   /var/lib/docker
    ├─old_laptop--vg-acng                254:8    0    10G  0 lvm   /var/cache/apt-cacher-ng
    └─old_laptop--vg-buster_amd64_sbuild 254:9    0     5G  0 lvm

Setting this as serious as this seems to be a regression, this at least
breaks grub ability to display the theme wallpaper.

Kind regards,

Laurent Bigonville


More information about the Pkg-grub-devel mailing list