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

Ady Ady ady-sf at hotmail.com
Wed Oct 4 08:11:01 PDT 2017


> On Sun, Sep 24, 2017 at 4:44 PM, Kristian Klausen via Syslinux
> <syslinux at zytor.com> wrote:
> > 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?
> 
> I snipped the config to later.
> 
> > - Kristian Klausen
> 
> What version of Syslinux from what build/source is being used?
> 
> 
> On Wed, Sep 27, 2017 at 12:43 AM, TorgeirW via Syslinux
> <syslinux at zytor.com> wrote:
> > Hi!
> >
> > I think thats the whole point with ONERROR.
> > We use it in PXELINUX with a reload label.
> >
> > So we can reload pxelinux (ONERROR) if someone types something wrong “intall» instead of «install».
> >
> > —
> > Torgeir
> 
> It is the point of ONERROR however, the menu might be adding to confusion.
 
 
The practical use-cases of ONERROR are very limited. Naturally, users 
tend to think that when the selected item fails to launch, then 
Syslinux would simply try to load whatever is specified after ONERROR. 
Unfortunately, this is not how it works.

Regards,
Ady.



More information about the Syslinux mailing list