Bug 24119 - update-grub2 fails with /usr/sbin/grub2-probe: error: failed to get canonical path of ‘/dev/mapper/crypt_sda6’
Summary: update-grub2 fails with /usr/sbin/grub2-probe: error: failed to get canonical...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Base system maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-03 12:38 CET by Stig-Ørjan Smelror
Modified: 2019-01-17 21:31 CET (History)
4 users (show)

See Also:
Source RPM: grub2
CVE:
Status comment:


Attachments

Description Stig-Ørjan Smelror 2019-01-03 12:38:46 CET
I ran urpmi to update my system and got the mentioned error message. Also while trying to run update-grub2 manually.

Have root encrypted and formatted with XFS, no separate /home.

This is on a Dell Latitude E6510, MGA7 x86_64.

$ uname -a
Linux generalen 4.19.10-419-joeghi-desktop-2.mga7 #1 SMP PREEMPT Mon Dec 17 13:21:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ mount
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=1973400k,nr_inodes=493350,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755)
/dev/mapper/crypt_sda6 on / type xfs (rw,noatime,attr2,inode64,noquota)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14140)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
/dev/sda1 on /boot type ext4 (rw,noatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=396272k,mode=700,uid=1000,gid=1000)

$ sudo blkid
/dev/sda1: UUID="aa79271c-3e6c-4a23-ae6a-e7bd959a12f8" TYPE="ext4" PARTUUID="69c23528-01"
/dev/sda5: UUID="ef0eefe2-fb78-4641-b9cf-36afa22de51e" TYPE="swap" PARTUUID="69c23528-05"
/dev/sda6: UUID="d4d6708a-298b-4d6a-a74e-d41e5c5dd5a6" TYPE="crypto_LUKS" PARTUUID="69c23528-06"

$ ls -l /dev/mapper
total 0
crw------- 1 root root 10, 236 Jan  3 11:32 control

$ more /etc/fstab
/dev/mapper/crypt_sda6 / xfs noatime 0 0
# Entry for /dev/sda1 :
UUID=aa79271c-3e6c-4a23-ae6a-e7bd959a12f8 /boot ext4 noatime,acl 1 2
none /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=ef0eefe2-fb78-4641-b9cf-36afa22de51e swap swap defaults 0 0

$ more /etc/crypttab
crypt_sda6 UUID=d4d6708a-298b-4d6a-a74e-d41e5c5dd5a6
Marja Van Waes 2019-01-03 21:59:54 CET

Assignee: bugsquad => basesystem
CC: (none) => marja11, zen25000
Summary: update-grub2 fails with /usr/sbin/grub2-probe: error: failed to get canonical path of ‘/dev/mapper/crypt_sda6’. => update-grub2 fails with /usr/sbin/grub2-probe: error: failed to get canonical path of ‘/dev/mapper/crypt_sda6’

Thierry Vignaud 2019-01-04 03:54:47 CET

CC: (none) => thierry.vignaud
Source RPM: (none) => grub2

Ulrich Beckmann 2019-01-17 21:31:04 CET

CC: (none) => bequimao.de


Note You need to log in before you can comment on or make changes to this bug.