Efi fails to mount after upgrade

It depends on what hardware you have installed. I am using about ~100MB per kernel.

If you have nvidia drivers it will explode in size.

1 Like

Ok, I reinstalled the kernels and then rebooted, but the same issue occurred (tried booting both standard kernel and LTS):

The size of my EFI partition is now approximately 282mbs, not sure if that’s a substantial difference?

I’m not sure, but there may have been some issue in the reinstall (potential issues at the end, and what is hostonly mode for dracut?):

[root@EndeavourOS /]# sudo pacman -Syu linux linux-headers linux-lts linux-lts-headers
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                                   7.8 MiB  1743 KiB/s 00:05 [------------------------------------] 100%
 multilib is up to date
warning: linux-6.14.4.arch1-2 is up to date -- reinstalling
warning: linux-headers-6.14.4.arch1-2 is up to date -- reinstalling
warning: linux-lts-6.12.25-2 is up to date -- reinstalling
warning: linux-lts-headers-6.12.25-2 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (4)             Old Version     New Version     Net Change

core/linux              6.14.4.arch1-2  6.14.4.arch1-2    0.00 MiB
core/linux-headers      6.14.4.arch1-2  6.14.4.arch1-2    0.00 MiB
core/linux-lts          6.12.25-2       6.12.25-2         0.00 MiB
core/linux-lts-headers  6.12.25-2       6.12.25-2         0.00 MiB

Total Installed Size:  651.11 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                                     [------------------------------------] 100%
(4/4) checking package integrity                                   [------------------------------------] 100%
(4/4) loading package files                                        [------------------------------------] 100%
(4/4) checking for file conflicts                                  [------------------------------------] 100%
:: Processing package changes...
(1/4) reinstalling linux                                           [------------------------------------] 100%
(2/4) reinstalling linux-headers                                   [------------------------------------] 100%
(3/4) reinstalling linux-lts                                       [------------------------------------] 100%
(4/4) reinstalling linux-lts-headers                               [------------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Running kernel-install...
:: kernel-install installing kernel 6.12.25-2-lts
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd-fallback 6.12.25-2-lts
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-battery-check ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-pcrphase ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: modsign ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: nvdimm ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: fido2 ***
dracut[I]: *** Including module: pkcs11 ***
dracut[I]: *** Including module: tpm2-tss ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd-fallback.tmp' ***
dracut[I]: *** Creating initramfs image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd-fallback.tmp' done ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd-fallback.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd-fallback' ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd-fallback.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd-fallback' done ***
dracut[W]: Running in hostonly mode in a container!
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd 6.12.25-2-lts
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-battery-check ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-pcrphase ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: tpm2-tss ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd.tmp' ***
dracut[I]: *** Creating initramfs image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd.tmp' done ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd' ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.12.25-2-lts/initrd' done ***
:: kernel-install installing kernel 6.14.4-arch1-2
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd-fallback 6.14.4-arch1-2
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-battery-check ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-pcrphase ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: modsign ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: nvdimm ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: fido2 ***
dracut[I]: *** Including module: pkcs11 ***
dracut[I]: *** Including module: tpm2-tss ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd-fallback.tmp' ***
dracut[I]: *** Creating initramfs image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd-fallback.tmp' done ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd-fallback.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd-fallback' ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd-fallback.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd-fallback' done ***
dracut[W]: Running in hostonly mode in a container!
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd 6.14.4-arch1-2
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-battery-check ***
dracut[I]: *** Including module: systemd-cryptsetup ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-pcrphase ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: btrfs ***
dracut[I]: *** Including module: crypt ***
dracut[I]: *** Including module: dm ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: lvm ***
dracut[I]: *** Including module: mdraid ***
dracut[I]: *** Including module: qemu ***
dracut[I]: *** Including module: qemu-net ***
dracut[I]: *** Including module: tpm2-tss ***
dracut[I]: *** Including module: hwdb ***
dracut[I]: *** Including module: lunmask ***
dracut[I]: *** Including module: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: virtiofs ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd.tmp' ***
dracut[I]: *** Creating initramfs image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd.tmp' done ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd' ***
dracut[I]: *** Moving image file '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd.tmp' to '/efi/c226c0b49cbe490dbf815d92f510183b/6.14.4-arch1-2/initrd' done ***
Running in a chroot, skipping cmdline generation
(4/5) Check if user should be informed about rebooting after certain system package upgrades.
(5/5) Checking which packages need to be rebuilt
fatal library error, lookup self

My unfounded intuition is that container mode would be like a VM? (chroot may qualify?)
However, that fatal library error is something…dunno what.

That all looks normal to me. Those errors/messages are all caused by running in a chroot and are non-fatal.

1 Like

Can you share the output of pacman -Q | grep -E "dracut|mkinitcpio|kernel|grub" from the chroot?

For sure, I checked that before posting as I noticed it on one of your attempts to help someone else. Here is the output:

[root@EndeavourOS /]# pacman -Q | grep -E "dracut|mkinitcpio|kernel|grub"
dracut 107-1
kernel-install-for-dracut 1.11-1

Could it be an issue with vfat module needing to be loaded early?

I would think if that was needed everyone would be having this failure.

1 Like

Like so: :crossed_fingers:?

1 Like

I got nothing…other than suggesting a full reinstall (or it’s equivalent, via pacman recursively reinstalling the installed packages).
If it’s an EFI problem, that won’t fix it, if it’s a library problem it probably will.
Anyone else?

Can you boot the fallback entries?

No, I tried both fallback entries the last time (and previously). They give the same results (as far as I can tell)

Would recursively reinstalling the packages with pacman via chroot allow me to keep all of my files/configs in place? And might the issue still persist?

It should keep your configs in place but I am doubtful it will help in this particular case. You will also need to be careful to do it in a way that doesn’t cause your dependencies to be marked as explicitly installed.

Right, that makes total sense. If there’s anything else I can try before a full reinstall, I’m all ears. But if that’s what’s required then so be it. Thank you everyone for your help !

Try downgrading dracut

BTW…I don’t think you need to reinstall here. I am sure this is solvable.

1 Like

Not sure if this would help but before a reinstall I would try to rebuild the whole ESP from scratch.

Reformat. Chroot. Change the UUID in /etc/fstab. Mount /efi and rebuild the kernels. May help.

I think there are simpler things we can try first.

1 Like

Ok will do! I just needed to run out to a meeting so will try when I’m back in an hour