[Bug 1751517] Re: ubuntu bionic grub can't boot zstd compressed filesystem

Dmitriy Geels 1751517 at bugs.launchpad.net
Thu Nov 15 14:17:24 UTC 2018


The simplest workaround for the moment:

sudo btrfs property set /boot compression lzo # ensure this dir will remain readable by grub
sudo btrfs filesystem defragment -vr /boot # ensure /boot gets recompressed

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

Title:
  ubuntu bionic grub can't boot zstd compressed filesystem

Status in grub2 package in Ubuntu:
  Triaged
Status in grub2 package in Arch Linux:
  New

Bug description:
  In the /etc/fstab of installed ubuntu bionic system I specified compress=zstd for the btrfs root filesytem
  After runing 'sudo btrfs filesystem defragment -r -czstd /' the system booted to a grub shell.  I could boot again by running 'sudo btrfs filesystem defragment -r -clzo /' and specifying compress=lzo in the /etc/fstab.
  There is also a new bug in the btrfs tools:
  btrfs does recognize the option '-clzo' but not '-c lzo'.

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



More information about the foundations-bugs mailing list