bablokb / pi-boot-switch

Boot-Switcher for Raspberry Pi multiboot systems
GNU General Public License v3.0
23 stars 6 forks source link

Recover from panic #2

Closed adrianboimvaser closed 3 years ago

adrianboimvaser commented 3 years ago

Is it possible to make it automatically go back to the previously active root partition if the kernel panics after switching and rebooting? Thank you!

bablokb commented 3 years ago

Would be wonderful, but this is not possible: there is no way to do anything once the kernel crashes.

You can fix it manually: on a second system, mount the previously active partition and copy the contents of _boot to the first partition.