[syslinux] sub-menu's

Matthew Holevinski eylusion at gmail.com
Fri Apr 30 17:33:39 PDT 2010


Okay, i'm not trying to be difficult I swear I'm not, and i know you guys are
ridiculous crazy smart, i've just been on a war bridge for like 30 hours and
I'm super beat. I'm just trying to come up with something to help like 70
other guys update bios's on most of our hardware models. IF there is already
some kind of elegant auto updater for various makes and models I would be
all about it, but until then I'll just manually modify a win98.ima for
every bios
and setup the autoexec.bat's to kick off the bios installers... I've
created iso's
for all of them already but i'm looking for a central app to kick off
an installer
for any make and model instead of these guys burning umpteen cd's.

This is my current syslinux.cfg(isolinux.cfg) I'll hash some stuff out but
you'll get the idea of what it looks like and what I want to add.
syslinux.cfg  # = private
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#DEFAULT vesamenu.c32
DEFAULT menu.c32
PROMPT 0
TIMEOUT 200
ONTIMEOUT ####
MENU TABMSG Please contact #### Support for questions or issues

MENU BACKGROUND splash.png
MENU TITLE IBM MultiBoot Remote Support CD V1.2.8

MENU COLOR screen   37;40
MENU COLOR border   30;44
MENU COLOR title    1;36;44
MENU COLOR unsel    37;44
MENU COLOR hotkey   1;37;44
MENU COLOR sel      7;37;40
MENU COLOR hotsel   1;7;37;40
MENU COLOR scrollbar    30;44
MENU COLOR tabmsg   31;40
MENU COLOR cmdmark  1;36;40
MENU COLOR cmdline  37;40
MENU COLOR pwdborder    30;47
MENU COLOR pwdheader    31;47
MENU COLOR pwdentry 30;47
MENU COLOR timeout_msg  37;40
MENU COLOR timeout  1;37;40

MENU WIDTH 80
MENU MARGIN 10
MENU PASSWORDMARGIN 3
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 18
MENU ENDROW 24
MENU PASSWORDROW 11
MENU TIMEOUTROW 20

LABEL ####
MENU DEFAULT
MENU LABEL ^1. #### PE
BSS vista.bss

LABEL hpghost
MENU LABEL ^2. HP DC6005 GhostCast Client (Broadcom BCM5761 chipset)
KERNEL memdisk
append initrd=hpghost.ima

LABEL memtest
MENU LABEL ^3. MemTest86+
KERNEL /syslinux/memtest

LABEL gdisk
MENU LABEL ^4. DBAN - Wipe Disk
KERNEL dban
APPEND initrd=dban.gz root=/dev/ram0 init=/rc nuke="dwipe --autonuke
--method dod522022m" floppy=0,16,cmos silent

LABEL INPD
MENU LABEL ^5. Initialize Primary Disk Drive
KERNEL memdisk
append initrd=INPD.ima

LABEL win98
MENU LABEL ^6. Win98 Boot Disk
KERNEL memdisk
append initrd=win98.ima

LABEL RECO
MENU LABEL ^7. RECO PointSec Recovery Tool
KERNEL memdisk
append initrd=reco.IMZ

(THIS IS WHAT I WOULD LIKE TO ADD - HYPOTHETICAL BECAUSE I DON'T KNOW
WHAT I'M DOING)

MENU START ^8. Update Bios

  LABEL Dell
    MENU START
      LABEL Dell model
        KERNEL memdisk
        APPEND initrd=bios\dell\dell_model\bios_revision\win98.ima(custom
autoexec inside ima to kick off installer)
      LABEL Dell model
        KERNEL memdisk
        APPEND initrd=bios\dell\dell_model\bios_revision\win98.ima(custom
autoexec inside ima to kick off installer)
      LABEL Dell model
        KERNEL memdisk
        APPEND initrd=bios\dell\dell_model\bios_revision\win98.ima(custom
autoexec inside ima to kick off installer)
    MENU END
  LABEL HP
    MENU START
      LABEL HP model
        KERNEL memdisk
        APPEND initrd=bios\HP\HP_model\bios_revision\win98.ima(custom
autoexec inside ima to kick off installer)
      LABEL HP model
        KERNEL memdisk
        APPEND initrd=bios\HP\HP_model\bios_revision\win98.ima(custom
autoexec inside ima to kick off installer)
      LABEL HP model
        KERNEL memdisk
        APPEND initrd=bios\HP\HP_model\bios_revision\win98.ima(custom
autoexec inside ima to kick off installer)
    MENU END
MENU END

LABEL boothd
MENU LABEL ^9. Boot First Hard Drive
COM32 chain.c32
APPEND hd1 swap

I hope this helps...

Matthew Holevinski


On Fri, Apr 30, 2010 at 5:54 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> On 04/30/2010 03:37 PM, Matthew Holevinski wrote:
>> I copied a MENU START section from another example isolinux.cfg that
>> when i run it separately from the example I get the > character on the
>> side which allows me to change to another menu screen and look at
>> submenu items.... when i copy and paste that Menu Start section into
>> my current isolinux.cfg, i don't get the > on the side.... I get all
>> the sub menu items sandwiched into my current menu screen. I guess
>> that's what I'll be working on over the weekend... Apparently my usage
>> of menu start works when it's by itself but not in my current
>> implementation of menu.c32 ... I suppose it's some sort of Menu option
>> i've hijacked in order to get my menu's all nice and pretty on mine...
>> I wish i could just like append initrd=dell.cfg or something and just
>> pull up a new menu screen... but i don't know how to do anything like
>> that...
>>
>> Matt
>
> Make sure your Syslinux is at least version 3.62 and that your .c32
> files matches your core.
>
>        -hpa
>
> _______________________________________________
> Syslinux mailing list
> Submissions to 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.
>
>




More information about the Syslinux mailing list