While updating the system, I noticed some of the packages were the kernel (such as linux and linux-lts), while the update was happening power was knocked out, now I can’t boot back in and 2 errors appears:
So far, I have tried archrooting into it, removing the pacman lock and doing the update again (pacman -Syu) The linux package was spitting out errors, so I removed it (pacman -R linux linux-headers) and ran the update again, updating linux-lts and linux-lts-headers and some other software, afterwards I ran grub-mkconfig -o /boot/grub/grub.cfg and grub-install --target=i386-pc /dev/sda6, but that didn’t solve anything and the same error message appears.
I closed the terminal and restarted the PC to see if it worked. Running the command again:
[root@EndeavourOS home]# pacman -S linux-lts
warning: linux-lts-5.15.38-1 is up to date – reinstalling
resolving dependencies…
looking for conflicting packages…
Package (1) Old Version New Version Net Change
core/linux-lts 5.15.38-1 5.15.38-1 0.00 MiB
Total Installed Size: 128.43 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(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-lts [------------------------------------------------------------------------] 100%
:: Running post-transaction hooks…
(1/5) Arming ConditionNeedsUpdate…
(2/5) Updating module dependencies…
(3/5) Updating linux initcpios…
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: ‘default’
→ -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.15.38-1-lts
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [autodetect]
→ Running build hook: [modconf]
→ Running build hook: [block]
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: ‘fallback’
→ -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.15.38-1-lts
→ Running build hook: [base]
→ Running build hook: [udev]
→ Running build hook: [modconf]
→ Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: xhci_pci
→ Running build hook: [keyboard]
→ Running build hook: [keymap]
→ Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
(4/5) Check if user should be informed about rebooting after certain system package upgrades.
(5/5) Checking which packages need to be rebuilt
[root@EndeavourOS home]# ls /boot
bin grub initramfs-linux-zen.img mnt sbin var
boot home intel-ucode.img opt srv vmlinuz-linux-lts
dev initramfs-linux-lts-fallback.img lib proc sys vmlinuz-linux-zen
etc initramfs-linux-lts.img lib64 root tmp
gnu initramfs-linux-zen-fallback.img lost+found run usr