Harald_Jensas at Dell.com
2006-Jan-05 16:26 UTC
[syslinux] ONTIMEOUT LOCALBOOT -1 and menu.c32 -- Solution: "ONTIMEOUT .localboot -1" works!
Hi, I just found this post: http://syslinux.zytor.com/archives/2005-September/005814.html ONTIMEOUT was broken in menu.c32, and you fixed it. But the fix broke support for LABEL references in ONTIMEOUT. I changed my "ONTIMEOUT local" to "ONTIMEOUT .localboot -1" and it works! Anoying is that I tried ONTIMEOUT LOCALBOOT -1 before. This failed, but after having a look at the source code seeing that you compare the kernel arg to ".localboot" I figured that might be it. And it was... :) My entire config follows: DEFAULT menu.c32 PROMPT 0 TIMEOUT 50 ONTIMEOUT .localboot -1 MANU TITLE LiveCD Boot Menu LABEL linux MENU DEFAULT MENU LABEL Linux Live CD KERNEL linux APPEND initrd=initrd.igz LABEL local MENU LABEL Boot Local HardDrive LOCALBOOT -1 Cheers Harald -----Original Message----- From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On Behalf Of Harald_Jensas at dell.com Sent: den 5 januari 2006 14:14 To: syslinux at zytor.com Subject: RE: [syslinux] ONTIMEOUT LOCALBOOT -1 and menu.c32 - Forgot to CC the mailing list. Sorry. Hi, Yes, somthing is wrong. :) And it is menu.c32 that cause the problem. If I let menu.c32 laod and count down, it fails. Just reloads the menu and starts a new countdown. If I ESC from the menu to get a prompt and wait until timout it works. If I press TAB and it lists ".localboot -1" and press ENTER it works. If I do not load menu.c32 it also work. If I change "ontimeout" to point to a lable that should load the linux from CD and I get the same result. It is only the combination "ontimeout", "PROMPT 0" and "menu.c32" loaded that fails. I can imagine menu.c32 has it's own timout code? And possibly eaven it's own ontimeout code? I can imagine the problem will be there, and how menu.c32 sends commands back to ISILINUX? I use ISOLINUX 3.11 and the menu.c32 from the syslinux-3.11 package from kernel.org. I also tried with ISOLINUX.BIN and menu.c32 from the syslinux-3.20-pre3 from kernel.org and I get the same problem. Is there any way I can help give more information? Best Regards Harald Jens?s -----Original Message----- From: H. Peter Anvin [mailto:hpa at zytor.com] Sent: den 5 januari 2006 10:16 To: Jensas, Harald Cc: syslinux at zytor.com Subject: Re: [syslinux] ONTIMEOUT LOCALBOOT -1 and menu.c32 - Harald_Jensas at Dell.com wrote:> Hi, > > Thank you for the replies and discussion regarding booting local harddrive. > > LOCALBOOT -1 seems to work fine for me. > > > The problem is: > This: > ontimeout local > > Does not do the same as selecting the local or "Boot from harddrive" on the menu and pressing ENTER. > > Is not ontimeout supposed to automatically select the label specified and do the same thing as selecting and pressing enter? >It should. Clearly something is wrong. -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.
Apparently Analagous Threads
- ONTIMEOUT LOCALBOOT -1 and menu.c32 -
- Usin ISO Linux & Memdisk to create a Viritual Floppydrive that Linux & Windows can load driver disk from.
- ONTIMEOUT and menu
- Configuration question for syslinux 3.11 menu and ontimeout option
- Usin ISO Linux & Memdisk to create a Viritual Floppy drive that Linux & Windows can load driver disk from.