[Bug 1815002] Re: quick-boot-lvm.patch caused regression - menu always appear if root is on Btrfs

Steve Langasek steve.langasek at canonical.com
Fri Feb 15 06:09:55 UTC 2019


Tested on bionic:
mkfs.btrfs /dev/vda2
mount /dev/vda2 /mnt
cp -a /boot/* /mnt/
umount /mnt
mount /dev/vda2 /mnt
grub-install vda
update-grub
reboot

- Boot to the grub prompt and hit 'c'

grub> save_env timeout_style
error: sparse file not allowed
grub>

grub does not support writes to btrfs; therefore Ubuntu does not have
recordfail handling; therefore we cannot default to a timeout of zero on
UEFI systems when grub is installed to btrfs.

You are welcome to adjust the timeouts in /etc/default/grub, but the
grub package's behavior here is deliberate.

** Changed in: grub2 (Ubuntu)
       Status: Confirmed => Invalid

-- 
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/1815002

Title:
  quick-boot-lvm.patch caused regression - menu always appear if root is
  on Btrfs

Status in grub2 package in Ubuntu:
  Invalid

Bug description:
  Comments about this regression:

  https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1800722/comments/12
  https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1800722/comments/13

  In my case menu starting to always appear on various devices from
  small tablets to workstations. First time it happened with laptop
  https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/736743/comments/95
  and since then more devices became affected. I not 100% sure, but
  seems like at least one unsuccessfully boot is required to reproduce
  this issue, but maybe I am mistake here and issue starting to happen
  for all Btrfs users.

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



More information about the foundations-bugs mailing list