[syslinux] Fallback to second menu entry, ONERROR looping Syslinux Digest, Vol 174, Issue 3

Torgeir.Wulfsberg at kongsberg.com Torgeir.Wulfsberg at kongsberg.com
Tue Sep 26 21:43:04 PDT 2017


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

Sendt fra min iPhone

25. sep. 2017 kl. 21:03 skrev "syslinux-request at zytor.com<mailto:syslinux-request at zytor.com>" <syslinux-request at zytor.com<mailto:syslinux-request at zytor.com>>:

Send Syslinux mailing list submissions to
   syslinux at zytor.com<mailto:syslinux at zytor.com>

To subscribe or unsubscribe via the World Wide Web, visit
   http://www.zytor.com/mailman/listinfo/syslinux
or, via email, send a message with subject or body 'help' to
   syslinux-request at zytor.com<mailto:syslinux-request at zytor.com>

You can reach the person managing the list at
   syslinux-owner at zytor.com<mailto:syslinux-owner at zytor.com>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Syslinux digest..."


Today's Topics:

  1. Fallback to second menu entry, ONERROR looping forever
     (Kristian Klausen)


----------------------------------------------------------------------

Message: 1
Date: Sun, 24 Sep 2017 20:44:56 +0000
From: Kristian Klausen <klausenbusk at hotmail.com<mailto:klausenbusk at hotmail.com>>
To: "syslinux at zytor.com<mailto:syslinux at zytor.com>" <syslinux at zytor.com<mailto:syslinux at zytor.com>>
Subject: [syslinux] Fallback to second menu entry, ONERROR looping
   forever
Message-ID:
   <HE1PR10MB1545DBEBB4412F2D8FB9C69FAB650 at HE1PR10MB1545.EURPRD10.PROD.OUTLOOK.COM<mailto:HE1PR10MB1545DBEBB4412F2D8FB9C69FAB650 at HE1PR10MB1545.EURPRD10.PROD.OUTLOOK.COM>>

Content-Type: text/plain; charset="utf-8"

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




------------------------------

Subject: Digest Footer

_______________________________________________
Syslinux mailing list
Submissions to Syslinux at zytor.com<mailto:Syslinux at zytor.com>
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.


------------------------------

End of Syslinux Digest, Vol 174, Issue 3
****************************************

________________________________

CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant for the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly.


More information about the Syslinux mailing list