My laptop lost battery during an update, so the linux kernel got truncated. After arch-chrooting into it and reinstalling linux, it's OK, but /boot/initramfs-linux.img (and the fallback) are empty. Also, /etc/mkinitcpio.d/linux.preset is empty. How can I fix this, and how can I generate a preset?
ls /etc/mkinitcpio.d/ returns nothing