Re-installing kernel

My system crashed during an update and says I need to reinstall the kernel. Can someone point me in the right direction? Like the correct chroot commands.

Boot with the installation image and use cachy-chroot

Then nornally just install the linux-cachyos and linux-cachyos-headers packages

Ok. Once I entered chroot from my live iso what is the correct command for reinstalling the kernel?

Should be just sudo pacman -Syu linux-cachyos linux-cachyos-headers

Thank you.