>From the install log you can see that we install grub2 at
Unpacking grub2-common (2.02~beta2-36ubuntu3.17)
'dpkg-reconfigure grub-pc' and 'grub-install /dev/vda' are run
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-116-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-9025-euclid
Found initrd image: /boot/initrd.img-4.4.0-9025-euclid
Found linux image: /boot/vmlinuz-4.4.0-116-generic
Found initrd image: /boot/initrd.img-4.4.0-116-generic
/run/lvm/lvmetad.socket: connect failed: No such file or directory
Then during boot we see
[ 0.000000] Command line:
root=ZFS=rpool/ROOT/zfsroot ro console=ttyS0
So we have successfully booted from root on a zfs system.
** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
grub-probe for zfs assumes all devices prefix with /dev, ignoring
Status in grub:
Status in grub2 package in Ubuntu:
Status in grub2-signed package in Ubuntu:
Status in zfs-linux package in Ubuntu:
Status in grub2 source package in Xenial:
Status in grub2-signed source package in Xenial:
Status in zfs-linux source package in Xenial:
Installs over ZFS where a ZFS disk is expected to be used as a root device.
- Run update-grub on a system with a ZFS root filesystem.
Installs relying on the current broken behavior to avoid listing other
operating systems in grub menu may find that new entries are added.
update-grub runs /usr/sbin/grub-probe
Without libzfslinux support compiled in, /usr/sbin/grub-probe runs
["zpool", "status", poolname] to find out ZFS info.
zpool responds with device names as used at (I think!) pool creation
time. Often, this is /dev/disk/by-id/... names, without the path.
grub-probe then parses the output, and takes the names of devices, and
if they do not start with a "/", it prepends "/dev/".
It then tests the existence of the path name of the device. it fails.
grub-probe then returns something like
/usr/sbin/grub-probe: error: failed to get canonical path of `/dev
The actual path is of course /dev/disk/by-
It can prepend smarter than "/dev" or it can understand ZFS natively,
to fix the problem.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~kernel-packages
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp