Context
I have two linux based servers which are remotely located. It has already happened twice: after a system or kernel update, the system wasn't responding/reachable over ssh anymore (configuration errors or disk failure, ...). I had travel to the location to rescue the server. When the boot process fails, the systems lands in the emergency/rescue shell which need to be administrated locally.
Question:
Is there a way or a feature of the bootloader to monitor the booting process (i.e. a watchdog), if the system is stuck after some time, a timeout triggers a the system reboot with a different image with network capabilities, ssh, ... (stored on a dedicated media, i.e USB key) in order to be administrated over ssh ?
Thanks