[Bug 1881442] Re: grub-initrd-fallback.service should RequiresMountsFor=/boot/grub

Sam Van den Eynde 1881442 at bugs.launchpad.net
Sat Mar 6 22:34:04 UTC 2021


I have run into this with root on zfs. If for some reason the grub
directory with grubenv is created on the root pool, then update-grub
will no longer work (10_linux_zfs will no longer find valid /boot
directories for the root fs).

I would definitely tune this to avoid that as trying to boot into zfs
from a grub command line is not a pleasant experience.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1881442

Title:
  grub-initrd-fallback.service should RequiresMountsFor=/boot/grub

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  grub-initrd-fallback.service should have:

  [Unit]
  RequiresMountsFor=/boot/grub

  If /boot/grub is on a separate filesystem, this can run before that
  filesystem is mounted and cause problems.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1881442/+subscriptions



More information about the foundations-bugs mailing list