Common mkinitcpio issues
/boot is out of space
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
==> ERROR: Image generation FAILED: zstd reported an error
solution: Delete all of the .img files and reinstall the standard kernel packages (or LTS kernel).
sudo rm /boot/*.img
sudo pacman -Syu linux linux-headers
## Optionally sudo yay mkinitcpio-firmware
Annoying firmware warnings
==> WARNING: Possibly missing firmware for module: module_name
"If you want to suppress the warnings, you can install the missing firmware. The meta-package mkinitcpio-firmware
contains most optional firmware." -archwiki
sudo yay mkinitcpio-firmware