System reboots on start job for /efi, cannot enter it

Hello all, this morning I updated my system and now I cannot boot into it.

It hangs on Rule based manager

And then it either stops and reboots on Mounted /tmp or hangs for a few seconds at start job for /efi and reboots.

I also noticed fast boot resets itself in uefi to enabled after each reboot. Not sure if and how that relates.

can you try to chroot with USB live iso endeavouros
and check in journalctl

Welcome to the community @astral! :partying_face: :tada:

Are other settings in the BIOS resetting also? How old is your system (BIOS battery might be spent)?

Do you have a different kernel installed you can boot with? For example, many folk would have the LTS kernel installed alongside their chosen one, for just such instances.

To try @Stephane’s suggestion, here’s the guide:
https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12/

From your description and the screenshots, this looks very much like an EFI / initramfs timing issue, not a broken system.


About Fast Boot (important)

UEFI Fast Boot re-enabling itself is a red flag.

Fast Boot can skip proper device initialization and cause exactly this kind of:

  • random reboot
  • hang at Mounted /tmp
  • stall at A start job is running for /efi

Make sure Fast Boot (and Ultra Fast Boot, if present) is disabled and actually stays disabled.
(For a secure linux system you neither need fast boot or secure boot M$ bullshit)


/efi start job

Hanging at:


A start job is running for /efi

usually means:

  • EFI partition not available in time
  • filesystem issue on EFI
  • wrong UUID in /etc/fstab
  • kernel/initramfs not matching after update

What to try next

  1. Boot an EndeavourOS live USB (with Fast Boot off)
  2. Check EFI filesystem:
   fsck.vfat /dev/<efi-partition>
  1. Verify /etc/fstab UUIDs:
  mount /dev/<root> /mnt
  mount /dev/<efi> /mnt/efi
  nano /mnt/etc/fstab
  1. Reinstall kernel and rebuild initramfs:

    arch-chroot /mnt
    pacman -S linux linux-headers
    mkinitcpio -P
    

Reinstall bootloader if needed (GRUB or systemd-boot).


Summary

  • “Rule-based Manager” is a symptom, not the cause :grimacing:
  • EFI mount timing is the likely culprit
  • Fast Boot often makes this worse :nauseated_face:
  • Very likely recoverable without reinstall

If you can share:

  • bootloader (GRUB or systemd-boot)
  • encryption yes/no

it should be easy to narrow it down.

Hope that helps :thinking:

@Stephane @GHUL Here’s my journalctl log since right before rebooting after having upgraded with yay. Afterwards I reboot a couple more times.

https://0x0.st/Pqcx.txt

I have looked at journalctl before but now I’m lost. I wonder if my messy boot order set up contributes to the issue significantly. Before I installed eos I transferred my windows system to another ssd and somehow two boot managers were left.

# efibootmgr
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0002,0004,0000,0001,2001,2002,2003
Boot0000* UEFI_SHELL    HD(1,GPT,23457c90-4a4b-01da-48be-a2912525ed00,0x800,0x266000)/\EFI\UEFISHELL\bootx64.efiRC
Boot0001* Windows Boot Manager  HD(1,GPT,23457c90-4a4b-01da-48be-a2912525ed00,0x800,0x266000)/\EFI\Microsoft\Boot\bootmgfw.efiRC
Boot0002* Linux Boot Manager    HD(1,GPT,f1648062-19b1-4ce3-98a1-31e1f831ae1a,0x1000,0x200000)/\EFI\systemd\systemd-bootx64.efi
Boot0003* USB HDD: USB DISK Pro UsbWwid(13fe,4223,0,9000623B18D7D01)/HD(2,MBR,0xf2b5c136,0x1cd3000,0x10000)RC
Boot0004* Windows Boot Manager  HD(1,GPT,f1648062-19b1-4ce3-98a1-31e1f831ae1a,0x1000,0x200000)/\EFI\Microsoft\Boot\bootmgfw.efi57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000034380100000010000000040000007fff0400
Boot2001* EFI USB Device        RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC

you will have to change boot line
i see double command on root=UUID and RESUME=

initrd=\1021cae5c0d6408c90f9b58c2acae996\6.18.6-arch1-1\initrd nvme_load=YES nowatchdog rw root=UUID=41ae158d-1b77-4788-a830-737e595ed7fd resume=UUID=9c21554f-2752-4820-8d91-e8adf02e9cb1 nvidia_drm.modeset=1 rw root=UUID=41ae158d-1b77-4788-a830-737e595ed7fd resume=UUID=9c21554f-2752-4820-8d91-e8adf02e9cb1 nvidia_drm.modeset=1 systemd.machine_id=1021cae5c0d6408c90f9b58c2acae996

You’re right :+1:
The issue is not the messy EFI boot order but a duplicated kernel command line.

root=UUID=..., resume=UUID=..., rw and nvidia_drm.modeset=1 are present twice in the systemd-boot entry. That can break initramfs/boot after updates.

Fix: clean the options line in /boot/loader/entries/*.conf so each parameter appears only once.
After that, reboot should be stable again.