grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub2-probe confused by double bind mount?


From: Chris Murphy
Subject: grub2-probe confused by double bind mount?
Date: Thu, 3 Aug 2017 01:24:23 -0600

Running grub2-mkconfig complains with

grub2-probe: error: cannot find a device for / (is /dev mounted?).

/dev is mounted and looks valid. If I point grub2-probe to / I get the
same error, whereas if I point it to the /dev device mounted to it, it
exits normally.

I suspect grub2-probe is confused due to double bind mounting, but I
can't directly prove it.

The problem only happens when / is built first by mounting with '-o
subvol=root' (Btrfs subvolume) and also ostree. If I drop one of
those, the problem doesn't happen. But in combination, the problem
does happen.

On line 1 (in details below), the Btrfs subvol command is implemented
behind the scenes as a bind mount.

On line 14 is --rbind of /mnt/sysimage elsewhere, required for ostree assembly.


Details of mounting process, and output from grub2-probe:

pretty version
https://paste.fedoraproject.org/paste/YFWQW33yBHkLcyzIzL4XuQ

likely clobbered by the MUA version:

# mount -t btrfs -o subvol=root /dev/sda7 /mnt/sysimage
# mount -t ext4 -o defaults /dev/sda5 /mnt/sysimage/boot
# mount -t hfsplus -o defaults /dev/sda4 /mnt/sysimage/boot/efi
# mount -t bind -o bind,defaults /dev /mnt/sysimage/dev
# mount -t devpts -o gid=5,mode=620 devpts /mnt/sysimage/dev/pts
# mount -t tmpfs -o defaults tmpfs /mnt/sysimage/dev/shm
# mount -t proc -o defaults proc /mnt/sysimage/proc
# mount -t bind -o bind,defaults /run /mnt/sysimage/run
# mount -t sysfs -o defaults sysfs /mnt/sysimage/sys
# mount -t efivarfs -o defaults efivarfs /mnt/sysimage/sys/firmware/efi/efivars
# mount -t selinuxfs -o defaults selinuxfs /mnt/sysimage/sys/fs/selinux
# mount --bind 
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/usr
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/usr
# mount --bind -o remount,ro
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/usr
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/usr
# mount --rbind /mnt/sysimage
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/sysroot
# mount --rbind /mnt/sysimage/boot
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/boot
# mount --rbind /mnt/sysimage/ostree/deploy/fedora-workstation/var
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/var
# mount --rbind /mnt/sysimage/dev
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/dev
# mount --rbind /mnt/sysimage/proc
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/proc
# mount --rbind /mnt/sysimage/run
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/run
# mount --rbind /mnt/sysimage/sys
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/sys
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/home
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/roothome
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/lib/rpm
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/opt
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/srv
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/usrlocal
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/mnt
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/media
# systemd-tmpfiles --create --boot
--root=/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0
--prefix=/var/spool/mail
# chroot 
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/
# ls -l /dev
total 0
crw-------.  1 root  root     10, 235 Aug  3  2017 autofs
drwxr-xr-x.  2 root  root         440 Aug  2 21:23 block
drwxr-xr-x.  2 root  root         120 Aug  2 21:23 bsg
crw-rw----.  1 root  disk     10, 234 Aug  3  2017 btrfs-control
drwxr-xr-x.  3 root  root          60 Aug  2 21:22 bus
lrwxrwxrwx.  1 root  root           3 Aug  3  2017 cdrom -> sr0
drwxr-xr-x.  2 root  root        4720 Aug  2 21:23 char
crw-------.  1 root  root      5,   1 Aug  2 21:23 console
lrwxrwxrwx.  1 root  root          11 Aug  2 21:22 core -> /proc/kcore
drwxr-xr-x. 10 root  root         220 Aug  2 21:22 cpu
crw-------.  1 root  root     10,  62 Aug  3  2017 cpu_dma_latency
crw-------.  1 root  root     10, 203 Aug  2 21:22 cuse
drwxr-xr-x.  8 root  root         160 Aug  2 21:22 disk
brw-rw----.  1 root  disk    253,   0 Aug  3  2017 dm-0
brw-rw----.  1 root  disk    253,   1 Aug  3  2017 dm-1
drwxr-xr-x.  3 root  root         140 Aug  3  2017 dri
crw-------.  1 root  root    240,   0 Aug  3  2017 drm_dp_aux0
crw-------.  1 root  root    240,   1 Aug  3  2017 drm_dp_aux1
crw-------.  1 root  root    240,   2 Aug  3  2017 drm_dp_aux2
crw-------.  1 root  root    240,   3 Aug  3  2017 drm_dp_aux3
crw-rw----.  1 root  video    29,   0 Aug  3  2017 fb0
crw-rw----.  1 root  video    29,   1 Aug  3  2017 fb1
lrwxrwxrwx.  1 root  root          13 Aug  2 21:22 fd -> /proc/self/fd
crw-rw-rw-.  1 root  root      1,   7 Aug  3  2017 full
crw-rw-rw-.  1 root  root     10, 229 Aug  3  2017 fuse
crw-------.  1 root  root    243,   0 Aug  3  2017 fw0
crw-------.  1 root  root    254,   0 Aug  3  2017 gpiochip0
crw-------.  1 root  root    246,   1 Aug  3  2017 hidraw1
crw-------.  1 root  root    246,   2 Aug  3  2017 hidraw2
crw-------.  1 root  root    246,   3 Aug  3  2017 hidraw3
crw-------.  1 root  root     10, 228 Aug  3  2017 hpet
drwxr-xr-x.  2 root  root          40 Aug  3  2017 hugepages
crw-------.  1 root  root     10, 183 Aug  3  2017 hwrng
crw-------.  1 root  root    241,   0 Aug  3  2017 iio:device0
lrwxrwxrwx.  1 root  root          25 Aug  3  2017 initctl ->
/run/systemd/initctl/fifo
drwxr-xr-x.  4 root  root         440 Aug  3  2017 input
crw-------.  1 root  root    238,   0 Aug  3  2017 kfd
crw-r--r--.  1 root  root      1,  11 Aug  3  2017 kmsg
crw-rw-rw-+  1 root  kvm      10, 232 Aug  3  2017 kvm
lrwxrwxrwx.  1 root  root          28 Aug  2 21:22 log ->
/run/systemd/journal/dev-log
brw-rw----.  1 root  disk      7,   0 Aug  3  2017 loop0
brw-rw----.  1 root  disk      7,   1 Aug  3  2017 loop1
brw-rw----.  1 root  disk      7,   2 Aug  3  2017 loop2
crw-rw----.  1 root  disk     10, 237 Aug  3  2017 loop-control
crw-rw----.  1 root  lp        6,   0 Aug  3  2017 lp0
crw-rw----.  1 root  lp        6,   1 Aug  3  2017 lp1
crw-rw----.  1 root  lp        6,   2 Aug  3  2017 lp2
crw-rw----.  1 root  lp        6,   3 Aug  3  2017 lp3
drwxr-xr-x.  2 root  root         100 Aug  2 21:22 mapper
crw-------.  1 root  root     10, 227 Aug  3  2017 mcelog
crw-rw----.  1 root  video   239,   0 Aug  3  2017 media0
crw-------.  1 root  root    242,   0 Aug  3  2017 mei0
crw-r-----.  1 root  kmem      1,   1 Aug  3  2017 mem
crw-------.  1 root  root     10,  59 Aug  3  2017 memory_bandwidth
drwxr-xr-x.  2 root  root          40 Aug  3  2017 mqueue
drwxr-xr-x.  2 root  root          60 Aug  2 21:22 net
crw-------.  1 root  root     10,  61 Aug  3  2017 network_latency
crw-------.  1 root  root     10,  60 Aug  3  2017 network_throughput
crw-rw-rw-.  1 root  root      1,   3 Aug  3  2017 null
crw-------.  1 root  root     10, 144 Aug  3  2017 nvram
crw-r-----.  1 root  kmem      1,   4 Aug  3  2017 port
crw-------.  1 root  root    108,   0 Aug  3  2017 ppp
crw-rw-rw-.  1 root  tty       5,   2 Aug  3 00:27 ptmx
drwxr-xr-x.  2 root  root           0 Aug  3 00:03 pts
crw-rw-rw-.  1 root  root      1,   8 Aug  3  2017 random
drwxr-xr-x.  2 root  root          60 Aug  2 21:22 raw
crw-rw-r--+  1 root  root     10,  58 Aug  3  2017 rfkill
lrwxrwxrwx.  1 root  root           4 Aug  3  2017 rtc -> rtc0
crw-------.  1 root  root    250,   0 Aug  3  2017 rtc0
brw-rw----.  1 root  disk      8,   0 Aug  3  2017 sda
brw-rw----.  1 root  disk      8,   1 Aug  3  2017 sda1
brw-rw----.  1 root  disk      8,   2 Aug  3  2017 sda2
brw-rw----.  1 root  disk      8,   3 Aug  3  2017 sda3
brw-rw----.  1 root  disk      8,   4 Aug  3  2017 sda4
brw-rw----.  1 root  disk      8,   5 Aug  3  2017 sda5
brw-rw----.  1 root  disk      8,   6 Aug  3  2017 sda6
brw-rw----.  1 root  disk      8,   7 Aug  3  2017 sda7
brw-rw----.  1 root  disk      8,  16 Aug  3  2017 sdb
brw-rw----.  1 root  disk      8,  17 Aug  3  2017 sdb1
brw-rw----.  1 root  disk      8,  18 Aug  3  2017 sdb2
brw-rw----.  1 root  disk      8,  19 Aug  3  2017 sdb3
brw-rw----.  1 root  disk      8,  32 Aug  2 21:23 sdc
brw-rw----.  1 root  disk      8,  33 Aug  2 21:23 sdc1
crw-rw----.  1 root  disk     21,   0 Aug  3  2017 sg0
crw-rw----+  1 root  cdrom    21,   1 Aug  3  2017 sg1
crw-rw----.  1 root  disk     21,   2 Aug  3  2017 sg2
crw-rw----.  1 root  disk     21,   3 Aug  2 21:23 sg3
drwxrwxrwt.  2 root  root          40 Aug  3 00:03 shm
crw-------.  1 root  root     10, 231 Aug  3  2017 snapshot
drwxr-xr-x.  3 root  root         280 Aug  3  2017 snd
brw-rw----+  1 root  cdrom    11,   0 Aug  3  2017 sr0
lrwxrwxrwx.  1 root  root          15 Aug  2 21:22 stderr -> /proc/self/fd/2
lrwxrwxrwx.  1 root  root          15 Aug  2 21:22 stdin -> /proc/self/fd/0
lrwxrwxrwx.  1 root  root          15 Aug  2 21:22 stdout -> /proc/self/fd/1
crw-rw-rw-.  1 root  tty       5,   0 Aug  3  2017 tty
crw--w----.  1 root  tty       4,   0 Aug  3  2017 tty0
crw--w----.  1 gdm   tty       4,   1 Aug  3  2017 tty1
crw--w----.  1 root  tty       4,  10 Aug  3  2017 tty10
crw--w----.  1 root  tty       4,  11 Aug  3  2017 tty11
crw--w----.  1 root  tty       4,  12 Aug  3  2017 tty12
crw--w----.  1 root  tty       4,  13 Aug  3  2017 tty13
crw--w----.  1 root  tty       4,  14 Aug  3  2017 tty14
crw--w----.  1 root  tty       4,  15 Aug  3  2017 tty15
crw--w----.  1 root  tty       4,  16 Aug  3  2017 tty16
crw--w----.  1 root  tty       4,  17 Aug  3  2017 tty17
crw--w----.  1 root  tty       4,  18 Aug  3  2017 tty18
crw--w----.  1 root  tty       4,  19 Aug  3  2017 tty19
crw--w----.  1 chris tty       4,   2 Aug  3  2017 tty2
crw--w----.  1 root  tty       4,  20 Aug  3  2017 tty20
crw--w----.  1 root  tty       4,  21 Aug  3  2017 tty21
crw--w----.  1 root  tty       4,  22 Aug  3  2017 tty22
crw--w----.  1 root  tty       4,  23 Aug  3  2017 tty23
crw--w----.  1 root  tty       4,  24 Aug  3  2017 tty24
crw--w----.  1 root  tty       4,  25 Aug  3  2017 tty25
crw--w----.  1 root  tty       4,  26 Aug  3  2017 tty26
crw--w----.  1 root  tty       4,  27 Aug  3  2017 tty27
crw--w----.  1 root  tty       4,  28 Aug  3  2017 tty28
crw--w----.  1 root  tty       4,  29 Aug  3  2017 tty29
crw--w----.  1 root  tty       4,   3 Aug  3  2017 tty3
crw--w----.  1 root  tty       4,  30 Aug  3  2017 tty30
crw--w----.  1 root  tty       4,  31 Aug  3  2017 tty31
crw--w----.  1 root  tty       4,  32 Aug  3  2017 tty32
crw--w----.  1 root  tty       4,  33 Aug  3  2017 tty33
crw--w----.  1 root  tty       4,  34 Aug  3  2017 tty34
crw--w----.  1 root  tty       4,  35 Aug  3  2017 tty35
crw--w----.  1 root  tty       4,  36 Aug  3  2017 tty36
crw--w----.  1 root  tty       4,  37 Aug  3  2017 tty37
crw--w----.  1 root  tty       4,  38 Aug  3  2017 tty38
crw--w----.  1 root  tty       4,  39 Aug  3  2017 tty39
crw--w----.  1 root  tty       4,   4 Aug  3  2017 tty4
crw--w----.  1 root  tty       4,  40 Aug  3  2017 tty40
crw--w----.  1 root  tty       4,  41 Aug  3  2017 tty41
crw--w----.  1 root  tty       4,  42 Aug  3  2017 tty42
crw--w----.  1 root  tty       4,  43 Aug  3  2017 tty43
crw--w----.  1 root  tty       4,  44 Aug  3  2017 tty44
crw--w----.  1 root  tty       4,  45 Aug  3  2017 tty45
crw--w----.  1 root  tty       4,  46 Aug  3  2017 tty46
crw--w----.  1 root  tty       4,  47 Aug  3  2017 tty47
crw--w----.  1 root  tty       4,  48 Aug  3  2017 tty48
crw--w----.  1 root  tty       4,  49 Aug  3  2017 tty49
crw--w----.  1 root  tty       4,   5 Aug  3  2017 tty5
crw--w----.  1 root  tty       4,  50 Aug  3  2017 tty50
crw--w----.  1 root  tty       4,  51 Aug  3  2017 tty51
crw--w----.  1 root  tty       4,  52 Aug  3  2017 tty52
crw--w----.  1 root  tty       4,  53 Aug  3  2017 tty53
crw--w----.  1 root  tty       4,  54 Aug  3  2017 tty54
crw--w----.  1 root  tty       4,  55 Aug  3  2017 tty55
crw--w----.  1 root  tty       4,  56 Aug  3  2017 tty56
crw--w----.  1 root  tty       4,  57 Aug  3  2017 tty57
crw--w----.  1 root  tty       4,  58 Aug  3  2017 tty58
crw--w----.  1 root  tty       4,  59 Aug  3  2017 tty59
crw--w----.  1 root  tty       4,   6 Aug  3  2017 tty6
crw--w----.  1 root  tty       4,  60 Aug  3  2017 tty60
crw--w----.  1 root  tty       4,  61 Aug  3  2017 tty61
crw--w----.  1 root  tty       4,  62 Aug  3  2017 tty62
crw--w----.  1 root  tty       4,  63 Aug  3  2017 tty63
crw--w----.  1 root  tty       4,   7 Aug  3  2017 tty7
crw--w----.  1 root  tty       4,   8 Aug  3  2017 tty8
crw--w----.  1 root  tty       4,   9 Aug  3  2017 tty9
crw-rw----.  1 root  dialout   4,  64 Aug  3  2017 ttyS0
crw-rw----.  1 root  dialout   4,  65 Aug  3  2017 ttyS1
crw-rw----.  1 root  dialout   4,  74 Aug  3  2017 ttyS10
crw-rw----.  1 root  dialout   4,  75 Aug  3  2017 ttyS11
crw-rw----.  1 root  dialout   4,  76 Aug  3  2017 ttyS12
crw-rw----.  1 root  dialout   4,  77 Aug  3  2017 ttyS13
crw-rw----.  1 root  dialout   4,  78 Aug  3  2017 ttyS14
crw-rw----.  1 root  dialout   4,  79 Aug  3  2017 ttyS15
crw-rw----.  1 root  dialout   4,  80 Aug  3  2017 ttyS16
crw-rw----.  1 root  dialout   4,  81 Aug  3  2017 ttyS17
crw-rw----.  1 root  dialout   4,  82 Aug  3  2017 ttyS18
crw-rw----.  1 root  dialout   4,  83 Aug  3  2017 ttyS19
crw-rw----.  1 root  dialout   4,  66 Aug  3  2017 ttyS2
crw-rw----.  1 root  dialout   4,  84 Aug  3  2017 ttyS20
crw-rw----.  1 root  dialout   4,  85 Aug  3  2017 ttyS21
crw-rw----.  1 root  dialout   4,  86 Aug  3  2017 ttyS22
crw-rw----.  1 root  dialout   4,  87 Aug  3  2017 ttyS23
crw-rw----.  1 root  dialout   4,  88 Aug  3  2017 ttyS24
crw-rw----.  1 root  dialout   4,  89 Aug  3  2017 ttyS25
crw-rw----.  1 root  dialout   4,  90 Aug  3  2017 ttyS26
crw-rw----.  1 root  dialout   4,  91 Aug  3  2017 ttyS27
crw-rw----.  1 root  dialout   4,  92 Aug  3  2017 ttyS28
crw-rw----.  1 root  dialout   4,  93 Aug  3  2017 ttyS29
crw-rw----.  1 root  dialout   4,  67 Aug  3  2017 ttyS3
crw-rw----.  1 root  dialout   4,  94 Aug  3  2017 ttyS30
crw-rw----.  1 root  dialout   4,  95 Aug  3  2017 ttyS31
crw-rw----.  1 root  dialout   4,  68 Aug  3  2017 ttyS4
crw-rw----.  1 root  dialout   4,  69 Aug  3  2017 ttyS5
crw-rw----.  1 root  dialout   4,  70 Aug  3  2017 ttyS6
crw-rw----.  1 root  dialout   4,  71 Aug  3  2017 ttyS7
crw-rw----.  1 root  dialout   4,  72 Aug  3  2017 ttyS8
crw-rw----.  1 root  dialout   4,  73 Aug  3  2017 ttyS9
crw-------.  1 root  root     10, 239 Aug  2 21:22 uhid
crw-------.  1 root  root     10, 223 Aug  3  2017 uinput
crw-rw-rw-.  1 root  root      1,   9 Aug  3  2017 urandom
drwxr-xr-x.  2 root  root          60 Aug  2 21:22 usb
crw-------.  1 root  root    247,   0 Aug  3  2017 usbmon0
crw-------.  1 root  root    247,   1 Aug  3  2017 usbmon1
crw-------.  1 root  root    247,   2 Aug  3  2017 usbmon2
crw-------.  1 root  root    247,   3 Aug  3  2017 usbmon3
crw-------.  1 root  root    247,   4 Aug  3  2017 usbmon4
drwxr-xr-x.  4 root  root          80 Aug  3  2017 v4l
crw-rw----.  1 root  tty       7,   0 Aug  3  2017 vcs
crw-rw----.  1 root  tty       7,   1 Aug  3  2017 vcs1
crw-rw----.  1 root  tty       7,   2 Aug  3  2017 vcs2
crw-rw----.  1 root  tty       7,   3 Aug  3  2017 vcs3
crw-rw----.  1 root  tty       7,   4 Aug  3  2017 vcs4
crw-rw----.  1 root  tty       7,   5 Aug  3  2017 vcs5
crw-rw----.  1 root  tty       7,   6 Aug  3  2017 vcs6
crw-rw----.  1 root  tty       7, 128 Aug  3  2017 vcsa
crw-rw----.  1 root  tty       7, 129 Aug  3  2017 vcsa1
crw-rw----.  1 root  tty       7, 130 Aug  3  2017 vcsa2
crw-rw----.  1 root  tty       7, 131 Aug  3  2017 vcsa3
crw-rw----.  1 root  tty       7, 132 Aug  3  2017 vcsa4
crw-rw----.  1 root  tty       7, 133 Aug  3  2017 vcsa5
crw-rw----.  1 root  tty       7, 134 Aug  3  2017 vcsa6
drwxr-xr-x.  2 root  root          60 Aug  3  2017 vfio
crw-------.  1 root  root     10,  63 Aug  3  2017 vga_arbiter
crw-------.  1 root  root     10, 137 Aug  3  2017 vhci
crw-------.  1 root  root     10, 238 Aug  3  2017 vhost-net
crw-------.  1 root  root     10, 241 Aug  3  2017 vhost-vsock
crw-rw----+  1 root  video    81,   0 Aug  3  2017 video0
crw-rw-rw-.  1 root  root      1,   5 Aug  3  2017 zero

# grub2-probe /
grub2-probe: error: cannot find a device for / (is /dev mounted?).
# grub2-probe -v /
grub2-probe: info: cannot open ‘/boot/grub2/device.map’: No such file
or directory.
grub2-probe: info: changing current directory to /dev.
grub2-probe: info: changing current directory to v4l.
grub2-probe: info: changing current directory to by-path.
grub2-probe: info: changing current directory to by-id.
grub2-probe: info: changing current directory to dri.
grub2-probe: info: changing current directory to by-path.
grub2-probe: info: changing current directory to snd.
grub2-probe: info: changing current directory to by-path.
grub2-probe: info: changing current directory to vfio.
grub2-probe: info: changing current directory to mqueue.
grub2-probe: info: changing current directory to hugepages.
grub2-probe: info: changing current directory to disk.
grub2-probe: info: changing current directory to by-uuid.
grub2-probe: info: changing current directory to by-partlabel.
grub2-probe: info: changing current directory to by-label.
grub2-probe: info: changing current directory to by-partuuid.
grub2-probe: info: changing current directory to by-path.
grub2-probe: info: changing current directory to by-id.
grub2-probe: info: changing current directory to block.
grub2-probe: info: changing current directory to usb.
grub2-probe: info: changing current directory to char.
grub2-probe: info: changing current directory to net.
grub2-probe: info: changing current directory to pts.
grub2-probe: info: changing current directory to shm.
grub2-probe: info: changing current directory to bsg.
grub2-probe: info: changing current directory to mapper.
grub2-probe: info: changing current directory to input.
grub2-probe: info: changing current directory to by-path.
grub2-probe: info: changing current directory to by-id.
grub2-probe: info: changing current directory to bus.
grub2-probe: info: changing current directory to usb.
grub2-probe: info: changing current directory to 004.
grub2-probe: info: changing current directory to 003.
grub2-probe: info: changing current directory to 002.
grub2-probe: info: changing current directory to 001.
grub2-probe: info: changing current directory to raw.
grub2-probe: info: changing current directory to cpu.
grub2-probe: info: changing current directory to 7.
grub2-probe: info: changing current directory to 6.
grub2-probe: info: changing current directory to 5.
grub2-probe: info: changing current directory to 4.
grub2-probe: info: changing current directory to 3.
grub2-probe: info: changing current directory to 2.
grub2-probe: info: changing current directory to 1.
grub2-probe: info: changing current directory to 0.
grub2-probe: error: cannot find a device for / (is /dev mounted?).
#

# grub2-probe -v --device /dev/sda7
grub2-probe: info: cannot open ‘/boot/grub2/device.map’: No such file
or directory.
grub2-probe: info: /dev/sda7 is not present.
grub2-probe: info: Looking for /dev/sda7.
grub2-probe: info: /dev/sda is a parent of /dev/sda7.
grub2-probe: info: /dev/sda7 starts from 264892416.
grub2-probe: info: opening the device hostdisk//dev/sda.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/sda is 488397168.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/sda is 488397168.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Partition 0 starts from 40.
grub2-probe: info: Partition 1 starts from 409640.
grub2-probe: info: Partition 2 starts from 244750664.
grub2-probe: info: Partition 3 starts from 246022144.
grub2-probe: info: Partition 4 starts from 246431744.
grub2-probe: info: Partition 5 starts from 248528896.
grub2-probe: info: Partition 6 starts from 264892416.
grub2-probe: info: /dev/sda7 is present.
grub2-probe: info: Looking for /dev/sda7.
grub2-probe: info: /dev/sda is a parent of /dev/sda7.
grub2-probe: info: /dev/sda7 starts from 264892416.
grub2-probe: info: opening the device hostdisk//dev/sda.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/sda is 488397168.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/sda is 488397168.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Partition 0 starts from 40.
grub2-probe: info: Partition 1 starts from 409640.
grub2-probe: info: Partition 2 starts from 244750664.
grub2-probe: info: Partition 3 starts from 246022144.
grub2-probe: info: Partition 4 starts from 246431744.
grub2-probe: info: Partition 5 starts from 248528896.
grub2-probe: info: Partition 6 starts from 264892416.
grub2-probe: info: /dev/sda7 is present.
grub2-probe: info: Looking for /dev/sda7.
grub2-probe: info: /dev/sda is a parent of /dev/sda7.
grub2-probe: info: /dev/sda7 starts from 264892416.
grub2-probe: info: opening the device hostdisk//dev/sda.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/sda is 488397168.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/sda is 488397168.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub2-probe: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub2-probe: info: scanning hostdisk//dev/sda for LDM.
grub2-probe: info: no LDM signature found.
grub2-probe: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub2-probe: info: no LVM signature found.
grub2-probe: info: Partition 0 starts from 40.
grub2-probe: info: Partition 1 starts from 409640.
grub2-probe: info: Partition 2 starts from 244750664.
grub2-probe: info: Partition 3 starts from 246022144.
grub2-probe: info: Partition 4 starts from 246431744.
grub2-probe: info: Partition 5 starts from 248528896.
grub2-probe: info: Partition 6 starts from 264892416.
grub2-probe: info: opening hostdisk//dev/sda,gpt7.
grub2-probe: info: drive = 0.
grub2-probe: info: the size of hostdisk//dev/sda is 488397168.
btrfs
#


Also curious, this sequence while in the chroot (up until exiting)

# grub2-probe ostree
btrfs
# grub2-probe sysroot
btrfs
]# grub2-probe usr
btrfs
# grub2-probe var
btrfs
# grub2-probe etc
grub2-probe: error: cannot find a device for etc (is /dev mounted?).
# exit
# grub2-probe 
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/
btrfs
# chroot 
/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/e52f5de4c5d3f52211ab216d5bf5331b81c929e967f9cbfcba3ad85e45f8fd37.0/
# grub2-probe /
grub2-probe: error: cannot find a device for / (is /dev mounted?).





-- 
Chris Murphy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]