I’m having an issue after restoring a Timeshift (Btrfs) snapshot on my EndeavourOS system with systemd-boot.
After the restoration, the system won’t boot and enters emergency mode with the following error:
[FAILED] Failed to mount /efi.
[DEPEND] Dependency failed for Local File Systems.
When I try to manually mount the EFI partition (/dev/sda1), I get:
mount: /boot/efi: unknown filesystem type 'vfat'
And if I run modprobe vfat
:
FATAL: module vfat not found in directory /lib/modules/6.1.3-arch1-1
It seems that systemd-boot or the EFI partition got corrupted after restoring the snapshot with Timeshift.
Questions:
How can I recover systemd-boot without reinstalling the entire system?
Why does Timeshift cause this issue with systemd-boot but not with GRUB?
How can I prevent this problem in the future if I want to keep using Timeshift with systemd-boot?
Thanks in advance for your help.
Screenshot:
you could try to rebuild the efi partition you can use this tutorial for help on commands needed to do the reinstall.
Updated 12/22/2022 to match the method used for installing systemd-boot in Cassini and later ISOs
Several people have asked me for a tutorial on how to convert an existing EndeavourOS install to systemd-boot, an alternative to grub.
The first question is who should install systemd-boot. From my perspective, here are the reasons to install systemd-boot
systemd-boot is less complicated than grub. It uses simple text based config files which only contain a few lines
It is less prone to breaka…
1 Like
dalto
March 6, 2025, 2:02pm
3
If you use timeshift with systemd-boot, you need to chroot in and run reinstall-kernels
afterwards.
Be sure to mount your EFI partition in the chroot.
Because the initramfs are in the EFI partition and timeshift isn’t restoring that so they are out of sync. With grub, the initramfs are inside the filesystem your are restoring.
Before rebooting, chroot in from your running system and run reinstall-kernels
1 Like
system
Closed
March 8, 2025, 2:03pm
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.