Arnold Maderthaner
2005-Dec-12 09:26 UTC
[syslinux] Configuration question for syslinux 3.11 menu and ontimeout option
I just started to play with syslinux 3.11 and have some problems with the configuration. I want to implement following: wait 5 seconds till the users chooses the right label. if nothing is done for 5 seconds it should boot from next boot device specified by the BIOS. I configured syslinux like that: default menu.c32 prompt 0 timeout 50 ONTIMEOUT localboot totaltimeout 200 display boot.msg MENU TITLE Installation Version 1.2 F1 boot.msg F2 options.msg F3 general.msg F4 param.msg F5 rescue.msg F7 snake.msg label linux MENU LABEL Linux kernel vmlinuz append initrd=initrd.img ramdisk_size=8192 label text MENU LABEL Linux Text Installation kernel vmlinuz append initrd=initrd.img text ramdisk_size=8192 label localboot MENU LABEL Boot from local disk MENU DEFAULT LOCALBOOT -1 it does all the stuff that I want except for the 5 seconds delay. I wait 5 seconds (I see the counter counting to 0) and then it refreshes the screen and starts again with the 5 seconds. Anyone can help me with this ? Another cool thing would be to display on top of the menu the boot.msgspecified by display. is it possible to disable the clearing of the screen ?? yours arnold
Geert Stappers
2005-Dec-12 14:23 UTC
[syslinux] Configuration question for syslinux 3.11 menu and ontimeout option
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Dec 12, 2005 at 10:26:14AM +0100, Arnold Maderthaner wrote:> I just started to play with syslinux 3.11 and have some problems with the > configuration. I want to implement following: > wait 5 seconds till the users chooses the right label. if nothing is done > for 5 seconds it should boot from next boot device specified by the BIOS. > I configured syslinux like that: > > default menu.c32 > prompt 0 > timeout 50 > ONTIMEOUT localboot > totaltimeout 200 > display boot.msg > MENU TITLE Installation Version 1.2 > label linux > MENU LABEL Linux > kernel vmlinuz > append initrd=initrd.img ramdisk_size=8192 > label localboot > MENU LABEL Boot from local disk > MENU DEFAULTWhat does the above 'DEFAULT' mean?> LOCALBOOT -1 > > it does all the stuff that I want except for the 5 seconds delay. I wait 5 > seconds (I see the counter counting to 0) and then it refreshes the screen > and starts again with the 5 seconds. > Anyone can help me with this ?What happens if the 'MENU DEFAULT' is removed? GSt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFDnYfIOSINbgwa/7sRAmYgAKCimWq+X2vhYhxGsfEa2zN39Q9PXwCfXQ4R VhDV+s87wAn6M4WxYSPZtx8=XE/r -----END PGP SIGNATURE-----
Arnold Maderthaner
2005-Dec-12 15:23 UTC
Regarding: [syslinux] Configuration question for syslinux 3.11 menu and ontimeout option
On 12/12/05, Geert Stappers <stappers at stappers.nl> wrote:> > > Hello Arnold, > > On Mon, Dec 12, 2005 at 03:58:09PM +0100, Arnold Maderthaner wrote: > > On 12/12/05, Geert Stappers <stappers at stappers.nl> wrote: > > > On Mon, Dec 12, 2005 at 10:26:14AM +0100, Arnold Maderthaner wrote: > <snip/> > > > > I configured syslinux like that: > > > > > > > > default menu.c32 > > > > prompt 0 > > > > timeout 50 > > > > ONTIMEOUT localboot > > > > totaltimeout 200 > > > > display boot.msg > > > > MENU TITLE Installation Version 1.2 > > > > label linux > > > > MENU LABEL Linux > > > > kernel vmlinuz > > > > append initrd=initrd.img ramdisk_size=8192 > > > > label localboot > > > > MENU LABEL Boot from local disk > > > > MENU DEFAULT > > > > > > > > > What does the above 'DEFAULT' mean? > > > > > > the DEFAULT should load the menu.c32 file (to get a simple menu) > > > > > > > LOCALBOOT -1 > > > > > <snip/> > > > > > > What happens if the 'MENU DEFAULT' is removed? > > > > > > when I remove ONTIMEOUT it does what I want. > > Tell that to the mailinglist, that way can more people learn. > > > Do you know if there is a option to show a lss file ontop of the simple > menu? > > Ask that at the mailinglist, that way can more think with you.Do you know if there is a option to show a lss file ontop of the simple menu?> > > yours > > > > arnold > > Geert > > P.S. > Thank you for replying below the text. > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFDnZKBOSINbgwa/7sRAh82AJ9r8ehS2pmLPdcpGMBq1jctaxxRWwCfS1tB > fLTfeCuWQG0TMdoxrAETSV8> =8+4H > -----END PGP SIGNATURE----- > > >