[Bug 1751517] Re: ubuntu bionic grub can't boot zstd compressed filesystem
en
b21enu at gmail.com
Sun Mar 4 08:36:26 UTC 2018
possible workaround:
Patch all btrfs-tools so that they don't compress files accessed by grub with zstd.
pitfall:
If users repair the filesystem from a live-cd, (eg. run defragmentation), they must make sure that they don't compress files acessed by grub with zstd.
Another option:
Archlinux uses this patched grub version:
https://github.com/Antynea/grub-btrfs
--
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:
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