[bug #66509] btrfs set-default overwritten by 10_linux script
Paul <[email protected]> Mon, 2 Dec 2024 07:18:10 -0500 (EST)
| Newsgroups | gmane.comp.boot-loaders.grub.bugs |
|---|---|
| Message-ID | <[email protected]> |
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
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ02lggAKCRCqLAuaBUf3 TmULAQCva+eGX6uvMr6gRF+9ljepBEel8X/7r5zfcr3io+w6NwEA6f34b07iOrin o1y2sN7ZhoSMniP9p1qKxewobe4W3wk= =IN7L -----END PGP SIGNATURE-----