[SOLVED] Emergency mode after interrupted upgrade + `systemd` reinstall + initramfs rebuild

TLDR: turned laptop off in middle of upgrade, this corrupted something that was required for startup, I kept getting Failed to execute /sbin/init error while starting, tried to chroot and fix, kept getting errors about empty files, reinstalled systemd, started being redirected to emergency mode when booting, rebuilt initramfs with dracut, still in emergency mode, but can still see my encrypted drives with lsblk -f.

The original error: /sbin/init is nowhere to be seen

While doing a full system upgrade, my laptop froze and I turned it off.

When I tried turning it back on, it booted up, the logs appeared on screen as normal, I was asked for the password to my LUKS encrypted system, but after I did that it ended with:

#...
#Reached target Switch Root.
#Starting Switch Root...
#Failed to execute /sbin/init
#systemd[1]: Failed to execute /sbin/init, giving up: Exec format error
#Failed to execute fallback shell.
#systemd[1]: Freezing execution.

I followed the EndeavourOS docs for system rescue, decrypted my drives, mounted them, and chrooted:

chroot
sudo lsblk -f
#NAME       FSTYPE    FSVER       LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
#loop0      squashfs  4.0                                                                0   100% /run/archiso/airootfs
#sda        iso9660   Joliet Exte EOS_202401  2024-01-25-18-25-14-00                              
#├─sda1     iso9660   Joliet Exte EOS_202401  2024-01-25-18-25-14-00                     0   100% /run/archiso/bootmnt
#└─sda2     vfat      FAT16       ARCHISO_EFI 8093-0377                                           
#sdb                                                                                              
#nvme0n1                                                                                          
#├─nvme0n1p1
#│          vfat      FAT32                   ABAB-3D51                                           
#├─nvme0n1p2
#│          crypto_LU 2                       c7ec659c-a66c-469c-8998-d5c0387421b9                
#└─nvme0n1p3
#           crypto_LU 2                       558b2664-a71c-49d3-9b4b-1c6d0ef36e41  
sudo cryptsetup open /dev/nvme0n1p2 cryptdevice2
sudo cryptsetup open /dev/nvme0n1p3 cryptdevice3
sudo lsblk -f
#NAME                  FSTYPE FSVER LABEL       UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
#loop0                 squash 4.0                                                          0   100% /run/archiso/airootfs
#sda                   iso966 Jolie EOS_202401  2024-01-25-18-25-14-00                              
#├─sda1                iso966 Jolie EOS_202401  2024-01-25-18-25-14-00                     0   100% /run/archiso/bootmnt
#└─sda2                vfat   FAT16 ARCHISO_EFI 8093-0377                                           
#sdb                                                                                                
#nvme0n1                                                                                            
#├─nvme0n1p1           vfat   FAT32             ABAB-3D51                                           
#├─nvme0n1p2           crypto 2                 c7ec659c-a66c-469c-8998-d5c0387421b9                
#│ └─cryptdevice2
#│                     ext4   1.0   endeavouros e3a347a2-f54d-4bbe-b371-3e98c98209af                
#└─nvme0n1p3           crypto 2                 558b2664-a71c-49d3-9b4b-1c6d0ef36e41                
#  └─cryptdevice3
#                      swap   1     swap        32128e2f-c594-4576-b4f7-b955b8374722         
sudo mount /dev/mapper/cryptdevice2 /mnt
sudo mount /dev/nvme0n1p1 /mnt/efi
sudo arch-chroot /mnt /bin/bash

That was successful. Once in, I tried to re-run pacman -Syyu.
I had to delete the db.lck file, had a “pacman: error while loading shared libraries: /usr/lib/libpsl.so.5: file too short” and a few “libplist: /usr/bin/plistutil exists in filesystem” errors: I backed up and deleted those files (after finding a thread on SO or reddit advising that).

Output ```bash $ sudo pacman -Syyu #error: failed to synchronize all databases (unable to lock database $ rm /var/lib/pacman/db.lck $ sudo pacman -Syyu # pacman: error while loading shared libraries: /usr/lib/libpsl.so.5: file too short $ rm /usr/lib/libpsl.so.5 $ sudo pacman -Syyu #error: failed to commit transaction (conflicting files) #libplist: /usr/bin/plistutil exists in filesystem #libplist: /usr/include/plist/Array.h exists in filesystem #... #libplist: /usr/share/man/man1/plistutil.1.gz exists in filesystem #Errors occurred, no packages were upgraded. $ rm /usr/bin/plistutil /usr/include/plist/* # etc. ```

ldconfig: File X is empty, not checked: new errors = progress?

Then I started having a bunch of seemingly unrelated ldconfig: File X is empty, not checked. errors.

$ sudo pacman -Syyu
#:: Synchronizing package databases...
#...all normal up to here
#(75/75) upgrading wxwidgets-gtk3                                   [------------------------------------] 100%
#ldconfig: File /usr/lib/libgobject-2.0.so is empty, not checked.
#ldconfig: File /usr/lib/libpoppler.so is empty, not checked.
#ldconfig: File /usr/lib/libjackserver.so.0.3.1006 is empty, not checked.
#...
#ldconfig: File /usr/lib/libsamba-util.so is empty, not checked.
#:: Running post-transaction hooks...
#(1/7) Updating the MIME type database...
#/usr/bin/update-mime-database: error while loading shared libraries: /usr/lib/libglib-2.0.so.0: file too short
#error: command failed to execute correctly
#(2/7) Updating the DBeaver bundles.info database...
#(3/7) Reloading system bus configuration...
#call to execv failed (Exec format error)
#error: command failed to execute correctly
#(4/7) Check if user should be informed about rebooting after certain system package upgrades.
#(5/7) Updating icon theme caches...
#gtk-update-icon-cache: error while loading shared libraries: /usr/lib/libglib-2.0.so.0: file too short
#gtk-update-icon-cache: error while loading shared libraries: /usr/lib/libglib-2.0.so.0: file too short
#gtk-update-icon-cache: error while loading shared libraries: /usr/lib/libglib-2.0.so.0: file too short
#error: command failed to execute correctly
#(6/7) Checking which packages need to be rebuilt
#ps: error while loading shared libraries: /usr/lib/libsystemd.so.0: file too short
#foreign ocrmypdf
#foreign python-sqlite-fts4
#foreign sqlite-utils
#foreign tlpui-git
#(7/7) Updating the desktop file MIME type cache...
#/usr/bin/update-desktop-database: error while loading shared libraries: /usr/lib/libglib-2.0.so.0: file too short
#error: command failed to execute correctly

I looked a bit more after that and found advice to reinstall linux, to diagnose with paccheck and parted. Outputs below:

reinstall linux
$ sudo pacman -S linux-lts linux-lts-headers
#warning: linux-lts-6.6.30-2 is up to date -- reinstalling
#warning: linux-lts-headers-6.6.30-2 is up to date -- reinstalling
#resolving dependencies...
#looking for conflicting packages...
#
#Package (2)             Old Version  New Version  Net Change
#
#core/linux-lts          6.6.30-2     6.6.30-2       0.00 MiB
#core/linux-lts-headers  6.6.30-2     6.6.30-2       0.00 MiB
#
#Total Installed Size:  253.56 MiB
#Net Upgrade Size:        0.00 MiB
#
#:: Proceed with installation? [Y/n] 
#(2/2) checking keys in keyring                                     [------------------------------------] 100%
#(2/2) checking package integrity                                   [------------------------------------] 100%
#(2/2) loading package files                                        [------------------------------------] 100%
#(2/2) checking for file conflicts                                  [------------------------------------] 100%
#:: Processing package changes...
#(1/2) reinstalling linux-lts                                       [------------------------------------] 100%
#(2/2) reinstalling linux-lts-headers                               [------------------------------------] 100%
#ldconfig: File /usr/lib/libpoppler.so is empty, not checked.
#ldconfig: File /usr/lib/libjackserver.so.0.3.1006 is empty, not checked.
#ldconfig: File /usr/lib/libunwind-coredump.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libunwind-setjmp.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsystemd.so is empty, not checked.
#ldconfig: File /usr/lib/libsamba-policy.cpython-312-x86-64-linux-gnu.so is empty, not checked.
#ldconfig: File /usr/lib/libtree-sitter-c.so.0.21 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-binding.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-errors.so.1.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libfreeblpriv3.so is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-glib.so.8 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-samr.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libndr-nbt.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libunwind-setjmp.so.0.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libnss3.so is empty, not checked.
#ldconfig: File /usr/lib/libndr-krb5pac.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind-ptrace.so is empty, not checked.
#ldconfig: File /usr/lib/libndr.so.4.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libsmbclient.so is empty, not checked.
#ldconfig: File /usr/lib/libsamdb.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-server-core.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libjacknet.so.0.3.1006 is empty, not checked.
#ldconfig: File /usr/lib/libsmbldap.so is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-qt6.so.3 is empty, not checked.
#ldconfig: File /usr/lib/libjbig85.so is empty, not checked.
#ldconfig: File /usr/lib/libcdio_paranoia.so is empty, not checked.
#ldconfig: File /usr/lib/libsamdb.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libunwind-ptrace.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libndr-standard.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libcdio_cdda.so.2.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-cpp.so.1.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libndr.so is empty, not checked.
#ldconfig: File /usr/lib/libndr.so.4 is empty, not checked.
#ldconfig: File /usr/lib/libndr-standard.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libunwind-setjmp.so is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-server.so is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-glib.so.8.26.0 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-server.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-binding.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libplist-2.0.so.4.5.0 is empty, not checked.
#ldconfig: File /usr/lib/liblibreofficekitgtk.so is empty, not checked.
#ldconfig: File /usr/lib/libplist++-2.0.so.4.5.0 is empty, not checked.
#ldconfig: File /usr/lib/libpsl.so.5.3.5 is empty, not checked.
#ldconfig: File /usr/lib/libcdio_cdda.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind-generic.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind.so is empty, not checked.
#ldconfig: File /usr/lib/libsamba-errors.so is empty, not checked.
#ldconfig: File /usr/lib/libndr-nbt.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind-x86_64.so is empty, not checked.
#ldconfig: File /usr/lib/libjackserver.so is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-binding.so is empty, not #checked.
#ldconfig: File /usr/lib/libpoppler-cpp.so.1 is empty, not checked.
#ldconfig: File /usr/lib/libndr-standard.so is empty, not checked.
#ldconfig: File /usr/lib/libpipewire-0.3.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsmbconf.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind-coredump.so is empty, not checked.
#ldconfig: File /usr/lib/libjbig.so.2.1 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libjacknet.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libcdio_paranoia.so.2.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libsystemd.so.0.38.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-hostconfig.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libjbig85.so.2.1 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-credentials.so is empty, not checked.
#ldconfig: File /usr/lib/libsmbldap.so.2.1.0 is empty, not checked.
#ldconfig: File /usr/lib/libndr-nbt.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-hostconfig.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsoftokn3.so is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-samr.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libssl3.so is empty, not checked.
#ldconfig: File /usr/lib/libsmbclient.so.0.8.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-credentials.so.1.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libjack.so is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-glib.so is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-cpp.so is empty, not checked.
#ldconfig: File /usr/lib/libgeoclue-2.so is empty, not checked.
#ldconfig: File /usr/lib/libtevent-util.so is empty, not checked.
#ldconfig: File /usr/lib/libcdio_paranoia.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libpipewire-0.3.so.0.1006.0 is empty, not checked.
#ldconfig: File /usr/lib/libpipewire-0.3.so is empty, not checked.
#ldconfig: File /usr/lib/libsamba-passdb.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsmbconf.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libsmbconf.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libnssutil3.so is empty, not checked.
#ldconfig: File /usr/lib/libwbclient.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libunwind.so.8 is empty, not checked.
#ldconfig: File /usr/lib/libgeoclue-2.so.0.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-qt6.so.3.5.0 is empty, not checked.
#ldconfig: File /usr/lib/libpoppler.so.137.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libnss_resolve.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libnss_mymachines.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libnss_wins.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-passdb.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind.so.8.1.0 is empty, not checked.
#ldconfig: File /usr/lib/libfreebl3.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind-coredump.so.0.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-hostconfig.so is empty, not checked.
#ldconfig: File /usr/lib/libsmbclient.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libunwind-x86_64.so.8.1.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-errors.so.1 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-server.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libnss_myhostname.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libndr-krb5pac.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-passdb.so.0.28.0 is empty, not checked.
#ldconfig: File /usr/lib/libpsl.so is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-server-core.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libjacknet.so is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libjack.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-credentials.so.1 is empty, not checked.
#ldconfig: File /usr/lib/libpoppler.so.137 is empty, not checked.
#ldconfig: File /usr/lib/libnetapi.so.1.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libnetapi.so is empty, not checked.
#ldconfig: File /usr/lib/libjbig.so is empty, not checked.
#ldconfig: File /usr/lib/libtree-sitter-c.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamdb.so is empty, not checked.
#ldconfig: File /usr/lib/libnetapi.so.1 is empty, not checked.
#ldconfig: File /usr/lib/libnss_winbind.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-policy.cpython-312-x86-64-linux-gnu.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libjackserver.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libunwind-ptrace.so.0.0.0 is empty, not checked.
#ldconfig: File /usr/lib/libcdio_cdda.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libudev.so.1.7.8 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-util.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-policy.cpython-312-x86-64-linux-gnu.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libsystemd.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libnss_systemd.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libwbclient.so is empty, not checked.
#ldconfig: File /usr/lib/libtree-sitter-c.so is empty, not checked.
#ldconfig: File /usr/lib/libsmbldap.so.2 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-util.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc.so is empty, not checked.
#ldconfig: File /usr/lib/libndr-krb5pac.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-samr.so is empty, not checked.
#ldconfig: File /usr/lib/libudev.so.1 is empty, not checked.
#ldconfig: File /usr/lib/libnsssysinit.so is empty, not checked.
#ldconfig: File /usr/lib/libunwind-x86_64.so.8 is empty, not checked.
#ldconfig: File /usr/lib/libudev.so is empty, not checked.
#ldconfig: File /usr/lib/libtevent-util.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libpoppler-qt6.so is empty, not checked.
#ldconfig: File /usr/lib/libdcerpc-server-core.so is empty, not checked.
#ldconfig: File /usr/lib/libwbclient.so.0.16 is empty, not checked.
#ldconfig: File /usr/lib/libsmime3.so is empty, not checked.
#ldconfig: File /usr/lib/libjack.so.0.3.1006 is empty, not checked.
#ldconfig: File /usr/lib/libtevent-util.so.0.0.1 is empty, not checked.
#ldconfig: File /usr/lib/libgeoclue-2.so.0 is empty, not checked.
#ldconfig: File /usr/lib/libsamba-util.so is empty, not checked.
#:: Running post-transaction hooks...
#(1/4) Updating module dependencies...
#(2/4) Running kernel-install...
#:: kernel-install installing kernel 6.6.30-2-lts
#Running in a chroot, skipping cmdline generation
#(3/4) Check if user should be informed about rebooting after certain system package upgrades.
#(4/4) Checking which packages need to be rebuilt
#ps: error while loading shared libraries: /usr/lib/libsystemd.so.0: file too short
#foreign ocrmypdf
#foreign python-sqlite-fts4
#foreign sqlite-utils
#foreign tlpui-git
$ reinstall-kernels 
#Installing kernel 6.6.30-2-lts
#Installing kernel 6.8.9-arch1-2
`paccheck` and `parted`
$ paccheck --list-broken --md5sum
#warning: alsa-card-profiles: mtree data not available (Invalid argument)
#warning: asciidoc: mtree data not available (Invalid argument)
#warning: ca-certificates-mozilla: mtree data not available (Invalid argument)
#warning: debugedit: mtree data not available (Invalid argument)
#eos-plasma-sddm-config
#warning: fzf: mtree data not available (Invalid argument)
#warning: geoclue: mtree data not available (Invalid argument)
#warning: glib2-docs: mtree data not available (Invalid argument)
#warning: gst-plugin-pipewire: mtree data not available (Invalid argument)
#warning: jbigkit: mtree data not available (Invalid argument)
#warning: kirigami-addons: mtree data not available (Invalid argument)
#warning: libcdio-paranoia: mtree data not available (Invalid argument)
#warning: libpipewire: mtree data not available (Invalid argument)
#warning: libpsl: mtree data not available (Invalid argument)
#warning: libreoffice-fresh: mtree data not available (Invalid argument)
#warning: libunwind: mtree data not available (Invalid argument)
#warning: libwbclient: mtree data not available (Invalid argument)
#lsb-release
#warning: ninja: mtree data not available (Invalid argument)
#warning: nss: mtree data not available (Invalid argument)
#warning: ollama: mtree data not available (Invalid argument)
#warning: pacman-contrib: mtree data not available (Invalid argument)
#warning: pipewire: mtree data not available (Invalid argument)
#warning: pipewire-alsa: mtree data not available (Invalid argument)
#warning: pipewire-audio: mtree data not available (Invalid argument)
#warning: pipewire-jack: mtree data not available (Invalid argument)
#warning: pipewire-pulse: mtree data not available (Invalid argument)
#warning: poppler: mtree data not available (Invalid argument)
#warning: poppler-glib: mtree data not available (Invalid argument)
#warning: poppler-qt6: mtree data not available (Invalid argument)
#warning: python-cryptography: mtree data not available (Invalid argument)
#warning: python-dbus: mtree data not available (Invalid argument)
#warning: python-mechanize: mtree data not available (Invalid argument)
#warning: python-pdftotext: mtree data not available (Invalid argument)
#warning: samba: mtree data not available (Invalid argument)
#warning: smbclient: mtree data not available (Invalid argument)
#warning: systemd: mtree data not available (Invalid argument)
#warning: systemd-libs: mtree data not available (Invalid argument)
#warning: systemd-resolvconf: mtree data not available (Invalid argument)
#warning: systemd-sysvcompat: mtree data not available (Invalid argument)
#warning: tree-sitter-c: mtree data not available (Invalid argument)
#warning: ttf-hack-nerd: mtree data not available (Invalid argument)
#warning: whois: mtree data not available (Invalid argument)
#warning: zaproxy: mtree data not available (Invalid argument)
$ sudo parted -l
#parted: error while loading shared libraries: /usr/lib/libudev.so.1: file too short

Reinstalling systemd: a step too far?

Finally, I found this thread (which directed here). The diagnosis here was that those files belonged to packages with broken mtrees, and that I should reinstall those one after the other.

I got the list of broken packages with LC_ALL=C pacman -Qkk 2>/dev/null | sed '/no mtree/!d; s/:.*//g' (it’s the same list as with paccheck above) and then started going through them one by one with pacman --dbonly -S <package>.

They all resulted in those ldconfig errors, until I got to systemd.

This finally seemed to work, so I thought I had finally fixed it (didn’t even save the output!).

But when I tried to further pacman -Syu, I got the output below:

`pacman -Syu`
$ pacman -Syu
#:: Synchronizing package databases...
#...
#:: Starting full system upgrade...
#resolving dependencies...
#looking for conflicting packages...
#
#Package (7)              Old Version  New Version  Net Change  Download Size
#... all normal
#:: Proceed with installation? [Y/n] 
#:: Retrieving packages...
#(7/7) checking keys in keyring                                     [------------------------------------] 100%
#(7/7) checking package integrity                                   [------------------------------------] 100%
#(7/7) loading package files                                        [------------------------------------] 100%
#(7/7) checking for file conflicts                                  [------------------------------------] 100%
#:: Processing package changes...
#(1/7) upgrading containers-common                                  [------------------------------------] 100%
#(2/7) upgrading firefox                                            [------------------------------------] 100%
#(3/7) upgrading git                                                [------------------------------------] 100%
#(4/7) upgrading intel-ucode                                        [------------------------------------] 100%
#(5/7) upgrading kio                                                [------------------------------------] 100%
#(6/7) upgrading libunrar                                           [------------------------------------] 100%
#(7/7) upgrading unrar                                              [------------------------------------] 100%
#ldconfig: File /usr/lib/libplist-2.0.so.4.5.0 is empty, not checked.
#ldconfig: File /usr/lib/libplist++-2.0.so.4.5.0 is empty, not checked.
#:: Running post-transaction hooks...
#(1/9) Creating system user accounts...
#(2/9) Reloading system manager configuration...
#  Skipped: Running in chroot.
#(3/9) Creating temporary files...
#(4/9) Arming ConditionNeedsUpdate...
#(5/9) Running kernel-install...
#Running kernel-install for 6.6.30-2-lts
#dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd-fallback 6.6.30-2-lts
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: *** Including module: systemd ***
#dracut[I]: *** Including module: systemd-initrd ***
#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: 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: shutdown ***
#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/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd-fallback' ***
#dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd-fallback' done ***
#dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd 6.6.30-2-lts
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: *** Including module: systemd ***
#dracut[I]: *** Including module: systemd-initrd ***
#dracut[I]: *** Including module: i18n ***
#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: resume ***
#dracut[I]: *** Including module: rootfs-block ***
#dracut[I]: *** Including module: terminfo ***
#dracut[I]: *** Including module: udev-rules ***
#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: shutdown ***
#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/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd' ***
#dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd' done ***
#Running kernel-install for 6.8.9-arch1-2
#dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd-fallback 6.8.9-arch1-2
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: *** Including module: systemd ***
#dracut[I]: *** Including module: systemd-initrd ***
#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: 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: shutdown ***
#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/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd-fallback' ***
#dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd-fallback' done ***
#dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd 6.8.9-arch1-2
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: memstrack is not available
#dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
#dracut[I]: *** Including module: systemd ***
#dracut[I]: *** Including module: systemd-initrd ***
#dracut[I]: *** Including module: i18n ***
#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: resume ***
#dracut[I]: *** Including module: rootfs-block ***
#dracut[I]: *** Including module: terminfo ***
#dracut[I]: *** Including module: udev-rules ***
#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: shutdown ***
#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/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd' ***
#dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd' done ***
#Running in a chroot, skipping cmdline generation
#(6/9) Check if user should be informed about rebooting after certain system package upgrades.
#(7/9) Updating icon theme caches...
#(8/9) Checking which packages need to be rebuilt
#fatal library error, lookup self
#foreign ocrmypdf
#foreign python-sqlite-fts4
#foreign sqlite-utils
#foreign tlpui-git
#(9/9) Updating the desktop file MIME type cache...
$ pacman -Syu
#:: Synchronizing package databases...
#...
#:: Starting full system upgrade...
# there is nothing to do

What made me think my issue wasn’t fixed was the line fatal library error, lookup self. The word fatal specifically seemed alarming.

When I tried to shutdown and boot normally, I got the output below:

Output
[ OK ] Found device EDILOCA EN605 1TB 3.
[ OK ] Found device EDILOCA EN605 1TB endeavouros.
Starting Cryptography Setup for luks-55812664-a71c-49d3-9646-1c6dOef36e41...
Starting Cryptography Setup for luks-c7ec659c-a66c-469c-89987d5c03874210...
[FAILED] Failed to start Cryptography Setup for luks-55812664-a71c-49d3-9b4b1c6dOef36641.
See systemctl status "systemd-cryptsetupPluksW(2d55862664S\x2da7lcNNx2d49d3\\x2d9bilMx2d1c60ef36e41.service" for details. 
[DEPEND] Dependency failed for Local Encrypted Volumes.
[DEPEND] Dependency failed for /dev/mapper/luks-55062664-a71c-49d3-964b-166dOef36841.
[DEPEND] Dependency failed for Resume from hibernation.
[ OK ] Reached-target Preparation for Local File Systems.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[FAILED] Failed to start Cryptography Setup for luks-c7ec659c-a66c-469c-8998-d5c0387421b9.
See systemctl status "systemd-cryptsetup@luks\\01c7ec653c\\x2da66c\\x2d469c\x2d8390\\x2dd5c0307421b9,sery4eq for details.
[DEPEND] Dependency failed for /dev/mapper/luks-c7ec659c-a66c-469c-B998-65c0387421b9.
[DEPEND] Dependency failed for File System Check on /dev/mapper/luks-c7ec659c-a66c-469c-0998-d5c0387421b9.
[DEPEND] Dependency failed for /sysroot.
[DEPEND] Dependency failed for Initrd Root File System.
[DEPEND] Dependency failed for Mountpoints Configured in the Real Root.
[DEPEND] Dependency failed for Initrd Root Device.
[ OK ] Stopped Dispatch Password Requests to Console Directory Watch. 
[ OK ] Reached target Initrd File Systems. 
[ OK ] Started Emergency Shell.
[ OK ] Reached target Emergency Mode.
[ OK ] Stopped dracut initqueue hook.
[ OK ] Reached target Preparation for Remote File Systems.
[ OK ] Reached target Remote Encrypted Volumes. 
[ OK ] Reached target Remote File Systems. 
[ OK ] Stopped dracut pre-trigger hook. 
[ OK ] Stopped dracut pre-udev hook.
[ OK ] Stopped dracut cmdline hook. 
[ OK ] Stopped dracut ask for additional cmdline parameters.
[ OK ] Finished Create Volatile Files and Directories.
Warning: /dev/mapper/luks-Oec659c7666c1463c-8538-d5CO387421b9 does not exist 

Generating."/run/initramfs/rdsosreport.txt" 

Entering emergency mode. Exit the Shell to continue.
Type "journalctl" to view system-logs.
You might want to save "/runinitramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.

Rebuilding initramfs with dracut

Based on further research, I tried rebuilding initramfs with dracut (dracut is the default on EndeavourOS, instead of mkinitcpio).

`reinstall-kernels`
[root@EndeavourOS /]# reinstall-kernels 
Installing kernel 6.6.30-2-lts
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd-fallback 6.6.30-2-lts
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-initrd ***
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: 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: shutdown ***
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/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd 6.6.30-2-lts
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: i18n ***
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: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
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: shutdown ***
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/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.6.30-2-lts/initrd' done ***
Installing kernel 6.8.9-arch1-2
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd-fallback 6.8.9-arch1-2
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-initrd ***
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: 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: shutdown ***
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/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd 6.8.9-arch1-2
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: i18n ***
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: resume ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
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: shutdown ***
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/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/7d8125b6739f4b1f8bfff3801010cd34/6.8.9-arch1-2/initrd' done ***

However, my encrypted drives are still not found at boot, but are there with lsblk -f.

A glimmer of a possibility of system rescue (where the community saves the day)

I thought at first I had permanently damaged my previous install, but when rebooting into the USB ISO and chrooting, I can still see that everything’s there, so keep optimistic about one of you guys managing to salvage my data. I’ve looked at many threads here, on Arch forums, SO, Reddit, but failed to find a solution, and I’m not sure I should have tried the ones I tried, so hoping for someone knowledgeable to help me here.

Please, I beg you on my knees.

With further research, it seems the next attemtpt should be to rebuild the initramfs image. It would be mkinitcpio -p linux, but I’ll have to adapt that step to EndeavourOS’s default dracut + systemd.

Perhaps run sudo reinstall-kernels for EndeavourOS dracut instead of mkinitcpio ?

1 Like

Thanks @Hitman_Agent47! I actually just tried that and updated the post with the output.

Still not working though…

Sorry I can’t help you any further, I dont have any prior experience with encrypted drives.

1 Like

I’ve tried again and it works. By golly, it works!

@Hitman_Agent47, reinstall-kernels was the solution!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.