Occasionally, when I resume from a suspend or hibernate state, I experience a kernel panic. In such cases, I usually force a shutdown by holding down the power button. Recently, I've started using the kernel parameter panic=n, which automatically reboots the system after n seconds following a kernel panic.
Is there a difference between these methods?
I’ve learned that it’s possible to load another kernel in preparation for a potential kernel panic, allowing you to save the panic logs. Can this secondary kernel be used to perform a proper shutdown (e.g., stopping
systemdservices, unmounting the file system, etc.) instead of a forced reboot?