/siduction-btrfs

Btrfs file system - improve boot menu on GRUB and systemd-boot

Primary LanguageShellGNU General Public License v3.0GPL-3.0

grub-btrfs-rollback_settings

Btrfs file system - improved handling of rollback by Grub.
Grub menu is incorrect after a rollback.


EN

Description

Improves the grub menu after a rollback using snapper or manual change of the Btrfs default subvolume.
The default boot entry points to the new default subvolume with the kernels present.

The functionality of grub-btrfs remains unaffected.

This project may be of interest for other debin based OS.

Issues with 10_linux that have been worked on:

  • The default boot entry always points to the "/@" subvolume using "rootflags=".
  • For kernel and initrd, the subvolume that was booted into is always used, not the Btrfs default subvolume.
  • The boot target is not clear from the title.

Support / Cooperation

The file was created and tested on an x86_64 system.
We need testers for other hardware platforms.

Be sure to read the Info.md file before testing.

Known problems and bugs

Currently unknown, but possible, are incorrect paths when used on platforms other than x86_64 and x686.


DE

Beschreibung

Verbessert das Grub Menü nach einem Rollback mittels snapper oder manueller Änderung des Btrfs default Subvolumens.
Der Standard Booteintrag zeigt auf das neue default Subvolumen mit den dort vonhandenen Kerneln.

Die Funktionalität von grub-btrfs bleibt unberührt.

Dieses Projekt kann für andere Debin basierte OS von Interesse sein.

Probleme mit 10_linux, die bearbeitet wurden:

  • Der Standard Booteintrag zeigt mittels "rootflags=" immer auf das "/@" Subvolumen.
  • Für Kernel und initrd wird immer das Subvolumen verwendet, in das gebootet wurde, nicht das Btrfs default Subvolumen.
  • Aus dem Titel geht das Bootziel nicht hervor.

Unterstützung / Mitarbeit

Die Datei wurde auf einem x86_64 System erstellt und getestet.
Wir benötigen Tester für andere Hardware Plattformen.

Vor dem Test bitte unbedingt die Datei Info.md lesen.

Bekannte Probleme und Fehler

Derzeit nicht bekannt, aber möglich, sind fehlerhafte Pfade bei Verwendung auf anderen Plattformen als x86_64 und x686.