Today I updated my kernel, and it appears that it is not generating the proper files needed to boot my command line output (chrooted from a usb drive) looks like this
[manjaro boot]# pacman -S linux515 linux515-headers linux515-nvidia
warning: linux515-5.15.65-1 is up to date -- reinstalling
warning: linux515-nvidia-515.65.01-8 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (4) pahole-1:1.23-1 linux515-5.15.65-1 linux515-headers-5.15.65-1
linux515-nvidia-515.65.01-8
Total Download Size: 31.99 MiB
Total Installed Size: 281.26 MiB
Net Upgrade Size: 137.37 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
linux515-headers... 31.7 MiB 35.5 MiB/s 00:01 [######################] 100%
pahole-1:1.23-1-... 289.0 KiB 12.3 MiB/s 00:00 [######################] 100%
Total (2/2) 32.0 MiB 33.2 MiB/s 00:01 [######################] 100%
(4/4) checking keys in keyring [######################] 100%
(4/4) checking package integrity [######################] 100%
(4/4) loading package files [######################] 100%
(4/4) checking for file conflicts [######################] 100%
(4/4) checking available disk space [######################] 100%
:: Running pre-transaction hooks...
(1/1) Save Linux kernel modules
:: Processing package changes...
(1/4) reinstalling linux515 [######################] 100%
(2/4) installing pahole [######################] 100%
(3/4) installing linux515-headers [######################] 100%
(4/4) reinstalling linux515-nvidia [######################] 100%
:: Running post-transaction hooks...
(1/6) Arming ConditionNeedsUpdate...
(2/6) Updating module dependencies...
(3/6) Updating linux initcpios...
call to execv failed (Exec format error)
error: command failed to execute correctly
(4/6) Updating Kernel initcpios for Nvidia-DRM...
(5/6) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: warning: unknown device type nvme0n1.
done
(6/6) Restore Linux kernel modules
==> Warning:
-> This computer hasn't been restarted for a while.
-> You are running an old kernel. In order to use a
-> new version of the kernel, please restart your
-> computer as soon as possible.
[manjaro boot]# cd /boot
[manjaro boot]# ls
amd-ucode.img efi grub linux515-x86_64.kver memtest86+
What could be causing this?