| Summary: | Поддержка сохранения выбранного пункта меню с корнем на btrfs | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sergey V Turchin <zerg> |
| Component: | grub | Assignee: | Egor Ignatov <egori> |
| Status: | RESOLVED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P5 | CC: | nickel, placeholder, rider |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
|
Description
Sergey V Turchin
2024-06-02 17:42:52 MSK
https://t.me/alt_smokeroom/225657 LVM тоже (In reply to Sergey V Turchin from comment #0) > https://t.me/alt_smokeroom/225643 > При корне на btrfs не сохраняется выбранный пункт при загрузке Поддержка btrfs была добавлена в grub 2.14. В ближайшее время обновление попадет в сизиф. (In reply to Sergey V Turchin from comment #1) > https://t.me/alt_smokeroom/225657 > LVM тоже Для LVM нет возможности сохранения пункта загрузки. Единственный обходной путь - создать отдельный /boot с поддерживаемой файловой системой. Вырезка из документации grub 2.14: """ For safety reasons, this storage is only available when installed on a plain disk (no LVM or RAID), using a non-checksumming filesystem (no ZFS), and using BIOS or EFI functions (no ATA, USB or IEEE1275). On Btrfs filesystems, a reserved area in the filesystem header may be used to store the environment block. This static block avoids the problems of updating a normal file on a copy-on-write filesystem, where writing raw block is not stable and requires metadata up- date. The reserved area provides a fixed location that GRUB can update directly, allowing commands such as grub-reboot and ‘GRUB_SAVEDEFAULT’ to function correctly on Btrfs volumes """ grub-2.14-alt1 -> sisyphus: Fri Feb 27 2026 Egor Ignatov <egori@altlinux> 2.14-alt1 - update to grub 2.14 - add grub-efi-install utility for EFI installation with Secure Boot support and proper NVRAM management (closes: #52976) - add probe module to efi image (closes: #54496) - align with upstream usage for GRUB_CMDLINE_LINUX variable (closes: #53710) - replace 'failsafe' with 'single' default for recovery boot entries (closes: #44269) - add GRUB_BTRFS_USE_DEFAULT_SUBVOL option (closes: #56881) - new subpackage grub-common-extra (closes: #38715, #51394, #51395) - add ALT Linux distro name translation (closes: #36004) - add "UEFI Firmware settings" translation (closes: #48768) - read distro name from /etc/os-release (closes: #55546) - add btrfs savedefault support (closes: #50525) - disable savedefault for f2fs (closes: #52193) - refactor grub filetriggers (closes: #57107) - enhance grub-efi-autoupdate UX (closes: #56960) |