A friend running rocky linux 8.4 was updating for the first time to get to 8.6. The dnf update failed on the kernel update due to the /boot partition being too small. To try to recover and to create space, they deleted the running kernel image file, instead of the older backup kernel. After reboot into the rescue kernel, they are not sure what is the best way to recover. I am extremely rusty on Centos or Rocky Linux (it’s been years and I last used Centos 5). I know they can boot the machine into a rescue kernel and chroot, but what would be the correct way to restart the dnf update procedure to finish the kernel install and updating of the system?
Would something like:
start with checking and finishing the kernel installation that failed? Thanks for your help!