‘/boot/initramfs-linux.img’ not found - chroot on live and update doesn't help

Hey there,

for like 10 days i did not upgrade my eOS (hyprland) and after i did, it ran through a lot to finally succeed - at least i think so. I was prompted to reboot the system and since then i get the “‘/boot/initramfs-linux.img’ not found”, even when trying to boot snapshot.

I did boot into live per usb, mounted / and /boot and chroot’ed to update, which was stated successfull. But after reboot, the problem persists.

Any ideas? And please tell me, which information you need to help me troubleshoot. Thanks in advance!

regards,
kontra

Are you using grub? If so, you need to mount the ESP at /boot/efi unless you have customized your system to use /boot.

Wow, thanks for that fast reply!

I did indeed mount the boot without /efi, when i did this now and chroot /mnt into pacman -Syyu into mkinitcpio -p linux , it looks like this (and still …initramsf… missing thus no boot):

Any ideas?

Reinstall the kernel pacman -S linux

If you want to post images, you need to allow this site to access your canvas data.

Sorry, didn’t realize these pictures didn’t work.

This is the output of ‘pacman -S linux’ :

Again: i did a big update which seemed successful and prompted me to reboot the machine, since then bricked.
On live boot " arch-chroot /mnt → pacman -S linux " to reinstall Kernel gets me all these warnings about missing stuff.

Any ideas how to fix these issues to get my system booting again?

Those are normal.

The only one that is a problem is the one telling you it failed.

Try booting the fallback option from the menu. It looks like the fallback built correctly.

Same outcome with the fallback, tried already. Still not able to boot.

What is the error message in that case?

It’s the same (except fallback) , see:

Go back into the chroot and share the output of the following commands:

LANG=C btrfs sub list /
LANG=C findmnt --real
cat /etc/fstab

Your chroot is built wrong. You are using btrfs. You need to mount it like this before chrooting:

sudo mount /dev/nvme0n1p2 /mnt -o subvol=@

After fixing your chroot. Try reinstalling the kernel again from inside the chroot

Awesome, do i not need to mount the /boot/efi then?

Not unless you need to reinstall grub.

edit: two pictures via link.

Did not try to reboot since the errors.

Something really strange is going on there.

I need to see the full output.

Copy/paste the entire text instead of using a picture.

warning: linux-6.7.arch3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version  New Version  Net Change  Download Size

core/linux   6.7.arch3-1  6.7.arch3-1    0.00 MiB     130.48 MiB

Total Download Size:   130.48 MiB
Total Installed Size:  130.57 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] Y
warning: no /var/cache/pacman/pkg/ cache exists, creating...
:: Retrieving packages...
 linux-6.7.arch3-1-x86_64              130.5 MiB  11.7 MiB/s 00:11 [------------------------------------] 100%
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling linux                                           [------------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating initramfs...
:: Building initramfs for linux (6.7.0-arch3-1)
dracut: Executing: /usr/bin/dracut --force --hostonly --no-hostonly-cmdline /boot/initramfs-linux.img 6.7.0-arch3-1
dracut: dracut module 'dash' will not be installed, because command 'dash' could not be found!
dracut: dracut module 'mksh' will not be installed, because command 'mksh' could not be found!
dracut: dracut module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'connman' will not be installed, because command 'connmand' could not be found!
dracut: dracut module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut: dracut module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut: dracut module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut: dracut module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut: dracut module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut: dracut module 'dash' will not be installed, because command 'dash' could not be found!
dracut: dracut module 'mksh' will not be installed, because command 'mksh' could not be found!
dracut: dracut module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut: dracut module 'busybox' will not be installed, because command 'busybox' could not be found!
dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut: dracut module 'connman' will not be installed, because command 'connmand' could not be found!
dracut: dracut module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut: dracut module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut: dracut module 'network-wicked' will not be installed, because command 'wicked' could not be found!
dracut: dracut module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsi-iname' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsiadm' could not be found!
dracut: dracut module 'iscsi' will not be installed, because command 'iscsid' could not be found!
dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut: dracut module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut: memstrack is not available
dracut: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut: dracut module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut: dracut module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut: *** Including module: systemd ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: *** Including module: btrfs ***
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: kernel-modules-extra ***
dracut: *** Including module: zfs ***
dracut-install: Failed to find module 'zfs'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.Rl2LBM/initramfs -H --kerneldir /lib/modules/6.7.0-arch3-1/ -m zfs
dracut: installkernel failed in module zfs
error: command failed to execute correctly
(4/5) Check if user should be informed about rebooting after certain system package upgrades.
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
(5/5) Checking which packages need to be rebuilt
fatal library error, lookup self

Are you using zfs?

What is the output of cat /etc/dracut.conf.d/*