I wonder what is the recommended way of rescuing VPS with Rocky after a failed update, where vps hanged and in the end /boot
has not finished preparing properly.
This weekend I had this happen. I recovered the dirty way - by copying /boot
contents from other VPS with identical setup. Still I wonder what would be more elegant way to do it (especially considering not always I’ll have a luxury of a machine with identical setup on hand).
The hosting provider offers rescue mode - where you could mount block devices of the failed vps. It runs a different distro though (Debian namely) so I don’t know whether there’s a way to use chroot
to somehow rebuild grub under this circumstances.