Bug 579500 - RFE: Need a way to choose a btrfs snapshot upon boot
Summary: RFE: Need a way to choose a btrfs snapshot upon boot
Keywords:
Status: CLOSED DUPLICATE of bug 1457509
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-05 15:55 UTC by Ahmed Kamal
Modified: 2019-02-19 23:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-19 23:34:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ahmed Kamal 2010-04-05 15:55:04 UTC
Description of problem:
A F13 system with multiple snapshots of the root file-system should present the user with a way to choose which snapshot to boot

Snapshots could be created by:
1- yum snapshotting plugin
2- Manually by the administrator
3- Manually from a rescue environment

Cases to be handled:
1- A system with multiple separate volumes all on btrfs (separate /var, /usr, /home)
2- A system with multiple separate volumes not all on btrfs
3- A menu should be presented to the user perhaps if a key was pressed during boot

Comment 1 Fedora Admin XMLRPC Client 2011-10-20 16:19:16 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Chris Murphy 2015-04-02 07:15:39 UTC
I don't think this belongs in dracut at all. It should either be a user space tool that leverages bootloaderspec [1] based boot snippets to change the default boot entry; or add something like the openSUSE patches for GRUB making it Btrfs snapshot aware.

What this looks like is probably more distribution domain (?) for the Workstation WG to work on which component this belongs to since "Better upgrade/rollback control" is listed in the Workstation PRD. [2]

The user space tool is more broadly usable and maintainable should bootloaders use BLS snippets. But the openSUSE method is done and currently in production use, but of course doesn't work with any other bootloader than GRUB 2.


[1] http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/

[2] https://fedoraproject.org/wiki/Workstation/Workstation_PRD

Comment 3 Chris Murphy 2019-02-19 23:34:37 UTC
I think the way forward is a combination of GRUB2 support for Btrfs snapshots and bootloaderspec.

*** This bug has been marked as a duplicate of bug 1457509 ***


Note You need to log in before you can comment on or make changes to this bug.