Bug#945404: grub2-common: '/boot/grub/.background_cache.png' is not created on LUKS encrypted system

Vincent Bernat bernat at debian.org
Mon Jan 13 21:36:15 GMT 2020


Package: grub2-common
Version: 2.04-5
Followup-For: Bug #945404

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hey!

On a system where it works, I get:

# grub-probe -t abstraction /usr/share/desktop-base/futureprototype-theme/grub/grub-16x9.png
cryptodisk
luks
gcry_rijndael
gcry_rijndael
gcry_sha1
lvm

When it doesn't work:

# grub-probe -t abstraction /usr/share/desktop-base/futureprototype-theme/grub/grub-16x9.png
lvm

As the initial reporter, the systems where it works are installed
since quite some time where the system where it doesn't work is
installed only since a few days.

Adding -vv, I see that in the working case, grub-probe says:

grub-core/kern/disk.c:196: Opening `hostdisk//dev/sda'...

But in the non-working case, I don't have that, but:

grub-core/kern/disk.c:196: Opening `hostdisk//dev/mapper/nvme0n1p3_crypt'...

Maybe Grub doesn't like NVME disks?

When it works, it starts with:

grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: info: changing current directory to /dev/mapper.
grub-probe: info: /dev/mapper/zoro--vg-root is not present.
grub-probe: info: /dev/mapper/sda3_crypt is not present.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to v4l.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to vboxusb.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to 002.
grub-probe: info: changing current directory to 001.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to 3.
grub-probe: info: changing current directory to 2.
grub-probe: info: changing current directory to 1.
grub-probe: info: changing current directory to 0.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to vfio.
grub-probe: info: changing current directory to net.
grub-probe: info: changing current directory to mqueue.
grub-probe: info: changing current directory to hugepages.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to zoro-vg.
grub-probe: info: changing current directory to mapper.
grub-probe: info: changing current directory to usb.
grub-probe: info: changing current directory to dri.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-partuuid.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to block.
grub-probe: info: /dev/sda3 is not present.
grub-probe: info: Looking for /dev/sda3.
grub-probe: info: /dev/sda is a parent of /dev/sda3.
grub-probe: info: /dev/sda3 starts from 1499136.
grub-probe: info: opening the device hostdisk//dev/sda.
grub-core/kern/disk.c:196: Opening `hostdisk//dev/sda'...
grub-probe: info: drive = 0.
grub-probe: info: the size of hostdisk//dev/sda is 500118192.
grub-core/kern/disk.c:196: Opening `hostdisk//dev/sda'...
grub-probe: info: drive = 0.
grub-probe: info: the size of hostdisk//dev/sda is 500118192.
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk hostdisk//dev/sda
grub-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-core/osdep/hostdisk.c:417: opening the device `/dev/sda' in open_device()

When it doesn't work:

grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: info: changing current directory to /dev/mapper.
grub-probe: info: /dev/mapper/guybrush--vg-root is not present.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is not present.
grub-probe: info: Looking for /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is a parent of /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to v4l.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to vfio.
grub-probe: info: changing current directory to net.
grub-probe: info: changing current directory to mqueue.
grub-probe: info: changing current directory to hugepages.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to guybrush-vg.
grub-probe: info: changing current directory to mapper.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is present.
grub-probe: info: Looking for /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is a parent of /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: /dev/mapper/guybrush--vg-root is not present.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is present.
grub-probe: info: Looking for /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is a parent of /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to v4l.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to vfio.
grub-probe: info: changing current directory to net.
grub-probe: info: changing current directory to mqueue.
grub-probe: info: changing current directory to hugepages.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to guybrush-vg.
grub-probe: info: changing current directory to mapper.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is present.
grub-probe: info: Looking for /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: /dev/mapper/nvme0n1p3_crypt is a parent of /dev/mapper/nvme0n1p3_crypt.
grub-probe: info: /dev/mapper/guybrush--vg-root is not present.
grub-probe: info: opening lvmid/dtT4tK-J3GP-nQVE-od5h-kDg8-3IRn-Jik70g/VnZ8kl-b0s1-EG6T-6Ypt-tCZP-zPg9-Rz9MrF.
grub-core/kern/disk.c:196: Opening `lvmid/dtT4tK-J3GP-nQVE-od5h-kDg8-3IRn-Jik70g/VnZ8kl-b0s1-EG6T-6Ypt-tCZP-zPg9-Rz9MrF'...
grub-core/kern/disk.c:196: Opening `proc'...
grub-core/disk/diskfilter.c:136: Scanning for DISKFILTER devices on disk proc
grub-probe: info: Scanning for DISKFILTER devices on disk proc.
grub-probe: info: Scanning for mdraid1x devices on disk proc.
grub-core/kern/disk.c:420: Read out of range: sector 0xfffffffffffffff0 (attempt to read or write outside of disk `proc').

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAl4c4swSHGJlcm5hdEBk
ZWJpYW4ub3JnAAoJEJWkL+g1NSX5wWYP/Rldo+F91m9TfSxc8tz9H+LP0Dbfmtj3
5Xs00StBXJ92oz64YRaUzStdIGofaB6y/MXB6AwBwRw8oATmZFIdLzOXCuWCNZf+
3l9PY/etgSpf3RqJpjrjX1SfOCuo1spGXge3r+wAZFVfSEPlKewkTtXrARkD8IIF
5itDZ6Q5VnWBbJo5iFde0HqPRtIGIlr831Ber/WdgWrBzRywacsJoyyckhG4NGM4
kjpqeuc2QmpAJmtqXv21AUFsIIXCLWUmPODEWHOd6lpFyloYcfQznPsyh4jMcUpZ
OSGOX1MSyJnYi/oxeB4a/xB1H6V9PLa+KuGlZvkokgnbpxGLp23gk3hE1pO6+OqF
ejrKV2qLfCSLQ8dErRbWPbXGWH3HkqSfJiYWn6n97Z4V9QOUzsFINtWGw54DTrwl
eROract47Ln0s3AUYPyC1nh/gqdaj1absRqsc/HseoLLEKhFb4+/n+ZQun5/2vFf
fSfBO/NkcZ7d3QDtI4PExEQw9wMyDCAvCaiGBLJ6BMWJzLsLjS0+3Dda553dEgzf
pJJhRubzuj4XdwgbKkGhUfcwGfFgSPX1CqI3A4R1vrHRyVwzgC0D9bLBO+B36b93
pLghjh3XQXQ0w1ksX2s68frfsYU3rExq4Wfc2CSOmTunvs6YnJqXjsoaymjd2nAx
Rk1qvRJqccni
=TpS3
-----END PGP SIGNATURE-----



More information about the Pkg-grub-devel mailing list