[syslinux] Menu system bug - MENU DEFAULT not working

Tomas M tomas at slax.org
Thu Sep 6 12:52:01 PDT 2012


To simplify everything, here is very small syslinux.cfg showing that
MENU DEFAULT doesn't work for submenus correctly (at least for my case
when I use GOTO). When the menu starts, the submenu test0 is shown,
this is correct. If I choose OptionB from the menu, it should jump to
test2 submenu with 2nd row default. It indeed switches to test2
submenu, but menu default is ignored.

UI vesamenu.c32
PROMPT 0

MENU BEGIN test0
   MENU START
   LABEL -
   MENU DEFAULT
   MENU LABEL OptionA
   MENU GOTO test1
   LABEL -
   MENU LABEL OptionB
   MENU GOTO test2
MENU END

MENU BEGIN test1
   LABEL -
   MENU LABEL OptionA1
   MENU GOTO test0
   LABEL -
   MENU DEFAULT
   MENU LABEL OptionB1
   MENU GOTO test0
MENU END

MENU BEGIN test2
   LABEL -
   MENU LABEL OptionA2
   MENU GOTO test0
   LABEL -
   MENU DEFAULT
   MENU LABEL OptionB2
   MENU GOTO test0
MENU END



More information about the Syslinux mailing list