You are not logged in.
I recently installed Arch with BTRFS and UKI. Although snapshots are wonderful, the EFI partition cannot be snapshotted, which does not work well with UKI. I was trying to backup EFI partition to snapshots every time the kernel or bootloader get updated in EFI Partition. In that case, I'm able to restore EFI partition just by copying files in the snapshot to EFI partition. I've tried it but bootloader (systemd-boot) entry disappears on UEFI boot menu every time I restore EFI from snapshot. I have to go through the hassle of modifying the boot menu using efibootmgr. Is there any elegant way to backup EFI partition?
Offline
Not really, the only general way you can do this is to abuse the fallback location and boot systemd-boot from there. https://wiki.archlinux.org/title/Unifie … ble_drives
Last edited by V1del (2023-02-13 12:44:48)
Online
Or just place the unified kernel image at the fallback location and do without a bootloader entirely. That way you don't have to back up the ESP, just regenerate the UKI.
Para todos todo, para nosotros nada
Offline