[syslinux] fail-safe boot - how can this be done?
Thorsten von Eicken
tve at voneicken.com
Thu Oct 7 16:19:42 PDT 2004
Thanks for the suggestion! Dunno whether syslinux supports something like this, gotta check.
The only problem is that if the boot fails before the 'production' kernel can do the 'lilo -R fail-safe' I'm stuck. So, for example, if I update the kernel itself and it doesn't boot I'm dead.
At 02:13 PM 10/7/2004 -0700, you wrote:
>Don't know about syslinux support for this. But Lilo supports an option
>(-R) to specify what image to boot on the next reboot.
>So you boot up with your 'production' kernel and run 'lilo -R
>fail-safe'. Now if your machine reboots uncleanly it will come up with
>the 'fail-safe' kernel.
>In the shutdown sequence you could add another line 'lilo -R
>production'. So if the machine shuts down cleanly, it will come up with
>the 'production' kernel.
More information about the Syslinux