[Bug 1582811] Re: update-grub produces broken grub.cfg with ZFS mirror volume

Will Rouesnel 1582811 at bugs.launchpad.net
Tue May 17 16:50:32 UTC 2016

The problem seems to be that grub-mkconfig doesn't account for grub-
probe producing a multiple lines of output with a ZFS root device:

/usr/sbin/grub-probe --target=device /

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.

  update-grub produces broken grub.cfg with ZFS mirror volume

Status in grub2 package in Ubuntu:

Bug description:
  When running update-grub on Xenial with an mirrored ZFS root, broken
  grub.cfg files are consistently produced due to the root= line being
  formatted with block devices and a newline inserted.

  Specifically I get a line like so:
  	linux	/ROOT/mint-13@/boot/vmlinuz-4.6.0-040600-generic root=/dev/sdj1
  /dev/sdi3 ro   nomdmonddf nomdmonisw

  The newline is what's included.

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list