URL: <https://savannah.gnu.org/bugs/?66509>
Summary: btrfs set-default overwritten by 10_linux script
Group: GNU GRUB
Submitter: paulk
Submitted: Mon 02 Dec 2024 12:18:03 PM UTC
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: Git master
Release:
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 02 Dec 2024 12:18:03 PM UTC By: Paul <paulk>
Using a btrfs filesystem as root fs it should be possible to roll back.
This is done via *btrfs-progs*:
> btrfs subvolume set-default subvol path
But there is a script in grub that overrides the subvolume, so
default-subvolume does never take effect: *util/grub.d/10_linux.in*
This problem is also discussed in this forum - most important the last post
from Jul2024:
https://forum.manjaro.org/t/btrfs-system-wont-boot-from-the-default-subvolume/165058/28
When I comment out the lines for *'xbtrfs'* in the script, it works fine.
So, at least, when the current subvol is the default subvol, then it should
not be overwritten.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66509>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
