Skip to contentSkip to conversation

Feature request: Boot default subvolume in BTRFS

DISCUSSION Thomas 2 participants 2 messages Apr 28, 2020 – Apr 29, 2020

lore
Share & tools
lore

Thomas

author
#0 lore raw

Hello,

this is the description of my feature request:
Grub is booting the default subvolume in BTRFS w/o any manual modification in Grub configuration.

Current situation:
Booting a snapshot created with Snapper
<https://wiki.archlinux.org/index.php/Snapper> is not possible w/o modifying the Grub entries.
This is related to the Snapper functionality that creates a ro snapshot that must be booted and then creates another rw snapshot of the currently booted ro snapshot. Then Grub configuration must be recreated to reflect the newly created rw snapshot.

Available solution:
In OpenSuse Grub is always booting the default snapshot and hereby Grub configuration must not be adjusted.
To my understanding OpenSuse uses a patched Grub.

Regards
Thomas

#1 lore raw
Quoted 15 lines · Thomas

Hello,

this is the description of my feature request:
Grub is booting the default subvolume in BTRFS w/o any manual modification in Grub configuration.

Current situation:
Booting a snapshot created with Snapper
<https://wiki.archlinux.org/index.php/Snapper> is not possible w/o modifying the Grub entries.
This is related to the Snapper functionality that creates a ro snapshot that must be booted and then creates another rw snapshot of the currently booted ro snapshot. Then Grub configuration must be recreated to reflect the newly created rw snapshot.

Quoted 4 lines

Available solution:
In OpenSuse Grub is always booting the default snapshot and hereby Grub configuration must not be adjusted.
To my understanding OpenSuse uses a patched Grub.

I will send those patches to the mailing list once they are polished for review.

Thanks,
Michael

Quoted 8 lines

Regards
Thomas

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel