[systemd-devel] keeping a backup ESP partition in sync

Alexander Gordeev alex at gordius.net
Tue May 21 21:20:56 UTC 2024


Hi Kevin,

On Fri, 17 May 2024, 12:56 Kevin P. Fleming, <
lists.systemd-devel at kevin.km6g.us> wrote:

> On Fri, May 17, 2024, at 05:03, Alexander Gordeev wrote:
> > I think it is better to have them mounted as e.g. /boot/efi and
> > /boot/eficopy and make changes like this:
> > 1. update /boot/efi
> > 2. make sure the update is actually written to the device
> > 3. update /boot/eficopy
> >
> > Right now I do this manually with rsync. I'm thinking about adding
> > kernel/initramfs/dpkg hooks. Maybe there are easier ways to do it?
> > Otherwise maybe this feature is desirable in systemd-boot?
>
> https://github.com/gregory-lee-bartholomew/bootsync
>
> This is what I use, it works very well.
>

Thanks for the suggestion. I like the idea, that the sync should be done
after a successful reboot. On the other hand the copy can become outdated.
Probably not s big issue.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240521/133844d4/attachment.htm>


More information about the systemd-devel mailing list