Bug#919288: /usr/sbin/grub-probe: error: failed to get canonical path of `/dev/mapper/cryptroot'.
Haldir
haldir at mailinator.com
Mon Jan 14 16:01:40 GMT 2019
Package: grub-pc
Version: 2.02+dfsg1-10
Followup-For: Bug #919288
Dear Maintainer,
I think this bug is not related to grub at all , for some reason /dev/mapper/cryptroot does not exist.
Which is kinda funny, because it's the root partition and according to dmsetup it's alive:
dmsetup info /dev/mapper/cryptroot
Name: cryptroot
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 254, 0
Number of targets: 1
UUID: CRYPT-LUKS1-d652a0421bff4e36821560de5d0454f9-cryptroot
I guess I'll just reboot the system and let the dev node be rebuilt.
As for the output of grub-probe
grub-probe /dev/mapper/cryptroot --verbose --verbose
grub-probe: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-probe: error: failed to get canonical path of `/dev/mapper/cryptroot'.
# /etc/fstab: static file system information.
/dev/mapper/cryptroot / ext4 noatime,errors=remount-ro 0 1
UUID=5cc81112-0104-4e06-90a8-23a354c8e57b /boot ext4 defaults 0 2
*********************** BEGIN /proc/mounts
/dev/mapper/cryptroot / ext4 rw,noatime,errors=remount-ro 0 0
*********************** END /proc/mounts
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.4 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.69
ii grub-common 2.02+dfsg1-10
ii grub-pc-bin 2.02+dfsg1-10
ii grub2-common 2.02+dfsg1-10
ii ucf 3.0038+nmu1
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information excluded
More information about the Pkg-grub-devel
mailing list