[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941627: ITP: grub-btrfs -- provides grub entries for btrfs snapshots (boot environments/restore points)



Il 04/08/2021 20:30, Nicholas D Steeves ha scritto:
Yes there is some news: We now have installation to a subvolume support,
so the first major blocker is gone :-) While investigating how to add
subvolume support to the Debian Installer Rescue Mode, I started
wondering if os-prober might be the right place to add support for the
detection of bootable subvolumes; bootable subvolumes are the minimum
requirement for "boot environments".  In particular, if other
(potentially non-Debian) OSs need subvolume support in os-prober, then I
will need to take care to not cause duplicates, shadowed entries and/or
various other grub menu bugs by introducing grub-btrfs.  There are also
existing users who install multiple OSs to the same volume, using
different subvolume naming schemes; yes, this may be admittedly a
minority case, but I'd also like to avoid creating problems for these
users with an insufficiently researched solution.

Then there's the question of how grub-btrfs will interact with Snapper
and btrbk.  I guess I could upload something to experimental for users
who want a "YOLO!" experience, but I'd prefer to complete my cautious
investigation first.  What would you prefer?  Of course I won't say no
to a volunteer early-adopter, who wants to give it a try before it's
ready ;-)

Oh, one more thing, I'd like to put together a btrfs enablement
team--probably in mid-September.  If you'd like I can CC the
announcement email to you.

At any rate, please ping me in mid-September if you haven't seen further
progress!

Regards,
Nicholas

Thanks for you reply, I think is good investigate and implement at best as possible, at least for the most common cases, I cannot assure you that I will be an "earlytester",  I don't have much time but you can put me in cc here and in other discussions about it.

I started consider it for some debian server at work now with btrfs root when I'll use snapshot before upgrade for faster restore in case of issue, I was looking also for grub entry to snapshot for even faster restart in production.

It would also be useful on desktop, the goal would be to restart quickly and easily after a bad update, it is more very rare than in windows but unfortunately I have seen it happen a few times, for me and other users that can fix it using terminal and/or a live cd is not an issue, for other yes. Recently I started to use timeshift (with rsync) on ext4 (backup of only root without /home before any upgrade) but since now almost all of them have ssd on desktop and btrfs seems very stable in latest year (excluding some rare exception) so I could switch to use btrfs too, possibly in some cases I'll keep /home out still in ext4.

Thanks for your work and sorry for my bad english.


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: