[FAILED] Failed to mount /boot/efi (due to some important system package removals)

After today’s update it shows this on boot screen. Not sure how much damage has been done due to this mistake.

  • cat /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=93AD-C341                            /efi           vfat    defaults,noatime 0 2
UUID=d9cfe184-7867-44b4-9039-a6e8510950e9 /              ext4    defaults,noatime 0 1
UUID=d504206f-2a25-4aec-a99d-f9d32057ef15 swap           swap    defaults   0 0
  • sudo parted -l

sudo: unable to find terminal name for device 136, 1
Model: ATA ST1000DM003-1SB1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name         Flags
 1      2097kB  1051MB  1049MB  fat32                        boot, esp
 2      1051MB  991GB   990GB   ext4            endeavouros
 4      991GB   1000GB  9449MB  linux-swap(v1)               swap


Model: hp v236w (scsi)
Disk /dev/sdb: 31.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size   Type     File system  Flags
 2      2799MB  2969MB  170MB  primary  fat32        esp

  • pacman -Q | grep -E “(dracut|mkinitcpio)”

dracut 105-1
kernel-install-for-dracut 1.10.1-1
  • find /efi

/efi

  • ls /usr/lib/modules

6.10.4-arch2-1 6.11.6-arch1-1 6.6.59-1-lts

I want to know how to fix this so that next time I reinstall EOS I don’t have to face similar issues or fix it myself.

Does the fallback entry work?

What does find /efi return?(You need to mount the EFI partition before running the command)

Sorry, how do I mount that? Using gparted ?

From outside the chroot:

sudo mount /dev/sda1 /mnt/efi

From inside the chroot:

mount /dev/sda1 /efi

It gives me this error
sudo: unable to find terminal name for device 136, 1
(I’m inside the chroot root@EndeavourOS )

Oops, don’t use sudo inside the chroot.

1 Like
/efi
/efi/EFI
/efi/EFI/systemd
/efi/EFI/systemd/systemd-bootx64.efi
/efi/EFI/BOOT
/efi/EFI/BOOT/BOOTX64.EFI
/efi/EFI/Linux
/efi/loader
/efi/loader/entries
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.11.5-arch1-1-fallback.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.11.5-arch1-1.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.6.5-arch1-1-fallback.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.6.5-arch1-1.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.6.57-1-lts-fallback.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.6.57-1-lts.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.11.6-arch1-1-fallback.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.11.6-arch1-1.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.6.59-1-lts-fallback.conf
/efi/loader/entries/e1d2dd3581684e4a9f82128f55dc08d1-6.6.59-1-lts.conf
/efi/loader/loader.conf
/efi/loader/random-seed
/efi/loader/entries.srel
/efi/e1d2dd3581684e4a9f82128f55dc08d1
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/linux
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.5-arch1-1
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.5-arch1-1/initrd-fallback
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.5-arch1-1/initrd
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.5-arch1-1/linux
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.5-arch1-1
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.5-arch1-1/initrd-fallback
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.5-arch1-1/initrd
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.5-arch1-1/linux
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd
/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/linux

That is a mess. Remove everything under /efi/e1d2dd3581684e4a9f82128f55dc08d1 and /efi/loader/entries

The run reinstall-kernels

Done. Now everything should be okay?

It showed me in few dracut errors

Details

Installing kernel 6.11.6-arch1-1
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback 6.11.6-arch1-1
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
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-sysusers ***
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: drm ***
dracut[I]: *** Including module: plymouth ***
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: 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: shutdown ***
dracut-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.TCJMpD/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd 6.11.6-arch1-1
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: hwdb ***
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-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.T8QNE6/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd' done ***
Installing kernel 6.6.59-1-lts
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback 6.6.59-1-lts
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
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-sysusers ***
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: drm ***
dracut[I]: *** Including module: plymouth ***
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: 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: shutdown ***
dracut-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.LbQ3sV/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd 6.6.59-1-lts
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: hwdb ***
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-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Topded/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd' done ***

but otherwise looks okay.

That seems bad.

What happens if you update your system pacman -Syu

Nothing much just updated few packages. I tried reinstall-kernels again but again it shows those dracut errors.

Can I see the full output from reinstall-kernels

Sorry, here:


Installing kernel 6.11.6-arch1-1
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback 6.11.6-arch1-1
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
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-sysusers ***
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: drm ***
dracut[I]: *** Including module: plymouth ***
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: 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: shutdown ***
dracut-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.jGg1lw/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd 6.11.6-arch1-1
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: hwdb ***
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-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.eF3bt7/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd' done ***
Installing kernel 6.6.59-1-lts
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback 6.6.59-1-lts
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
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-sysusers ***
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: drm ***
dracut[I]: *** Including module: plymouth ***
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: 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: shutdown ***
dracut-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.5MJvWX/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd 6.6.59-1-lts
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: 35network-legacy: Could not find any command of 'arping arping2'!
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: hwdb ***
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-install: ERROR: installing 'poweroff'
dracut-install: ERROR: installing 'reboot'
dracut-install: ERROR: installing 'halt'
dracut[E]: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.j8QCuR/initramfs -a umount poweroff reboot halt losetup stat sleep timeout
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd' done ***

Can you share the output of cat /etc/dracut.conf.d/*

Also, can you run pacman -Syu base --needed

/etc/dracut.conf.d/*

bash: /etc/dracut.conf.d/eos-defaults.conf: Permission denied

cat /etc/dracut.conf.d/*

omit_dracutmodules+=" network cifs nfs brltty "
compress="zstd"
add_dracutmodules+=" resume "

[root@EndeavourOS /]# pacman -Syu base --needed
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (5)              New Version  Net Change

core/iputils             20240905-1     0.57 MiB
core/licenses            20240728-1     1.54 MiB
core/psmisc              23.7-1         0.76 MiB
core/systemd-sysvcompat  256.7-1        0.00 MiB
core/base                3-2            0.00 MiB

Total Installed Size:  2.88 MiB

:: Proceed with installation? [Y/n] 
(5/5) checking keys in keyring                                        [---------------------------------------] 100%
(5/5) checking package integrity                                      [---------------------------------------] 100%
(5/5) loading package files                                           [---------------------------------------] 100%
(5/5) checking for file conflicts                                     [---------------------------------------] 100%
:: Processing package changes...
(1/5) installing psmisc                                               [---------------------------------------] 100%
(2/5) installing licenses                                             [---------------------------------------] 100%
(3/5) installing systemd-sysvcompat                                   [---------------------------------------] 100%
(4/5) installing iputils                                              [---------------------------------------] 100%
(5/5) installing base                                                 [---------------------------------------] 100%
Optional dependencies for base
    linux: bare metal support [installed]
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
[root@EndeavourOS /]# pacman -Syu base --needed
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                                      7.5 MiB   677 KiB/s 00:11 [---------------------------------------] 100%
 multilib is up to date
warning: base-3-2 is up to date -- skipping
:: Starting full system upgrade...
 there is nothing to do

1st run it showed me “command failed to execute correctly” error, but on running it 2nd time no errors.

Please see my edit above:

Also, can you run pacman -Syu base --needed

1 Like

Try running reinstall-kernels again.

1 Like

I don’t see any errors now but still here is the full output.

Installing kernel 6.11.6-arch1-1
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback 6.11.6-arch1-1
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
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-sysusers ***
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: drm ***
dracut[I]: *** Including module: plymouth ***
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: 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: 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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd 6.11.6-arch1-1
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: hwdb ***
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.11.6-arch1-1/initrd' done ***
Installing kernel 6.6.59-1-lts
dracut[I]: Executing: /usr/bin/dracut --no-hostonly --force /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback 6.6.59-1-lts
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
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-sysusers ***
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: drm ***
dracut[I]: *** Including module: plymouth ***
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: 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: 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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd-fallback' done ***
dracut[I]: Executing: /usr/bin/dracut --hostonly --no-hostonly-cmdline -f /efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd 6.6.59-1-lts
dracut[I]: *** Including module: bash ***
dracut[I]: *** Including module: shell-interpreter ***
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-ask-password ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: systemd-journald ***
dracut[I]: *** Including module: systemd-modules-load ***
dracut[I]: *** Including module: systemd-sysctl ***
dracut[I]: *** Including module: systemd-sysusers ***
dracut[I]: *** Including module: systemd-tmpfiles ***
dracut[I]: *** Including module: systemd-udevd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: hwdb ***
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]: *** Store current command line parameters ***
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd' ***
dracut[I]: *** Creating initramfs image file '/efi/e1d2dd3581684e4a9f82128f55dc08d1/6.6.59-1-lts/initrd' done ***

Try rebooting

1 Like

Thanks, that fixed it.
Can you please explain in simple words why/what this happened and how you fixed it for for future reference. I’ll mark your reply as the “Solution” for search engines.