[syslinux] Fallback to second menu entry, ONERROR looping forever

Kristian Klausen klausenbusk at hotmail.com
Sun Sep 24 13:44:56 PDT 2017


Hello

I want to fallback to a second boot entry, if the kernel is missing for 
the first entry.

So I through I could use ONERROR, but syslinux just continue to try 
starting the first entry.

Am I doing something wrong? or can't this be done with syslinux?


default menu.c32
prompt 0

MENU HIDDEN
MENU AUTOBOOT
TIMEOUT 2
ONERROR live-generic

label grub
     menu label ^Grub
     menu default
     linux /boot/grub/lnxboot.img
     initrd /boot/grub/core.img

label live-generic
     menu label ^Live (generic)
     linux /live/vmlinuz
     initrd /live/initrd.img
     append boot=live quiet splash nonetworking

- Kristian Klausen




More information about the Syslinux mailing list