Mailing List Archive

menu.c32 empty label?
The attached config works, but gives 2 error messages that get covered
up by the GUI screen so fast I cannot read them. I think they are
probably about having 'LABEL' with nothing after it. I was trying to
follow the example in menu.doc but somehow I'm doing it wrong. Please
consider helping me figure out how to get the same resulting GUI menu
without any error messages.

I am using syslinux-3.61

By the way, the pcitest.c32 locks up hard on an IBM xSeries 345; I had
to power-cycle the machine. It works on most of my normal desktop
systems though. Maybe it doesn't work for Xeon machines?

JGH
Re: menu.c32 empty label? [ In reply to ]
if you suspect it is due to the empty labels why notremove them and see if
you still get the error?

you can also do the following to remove the need for the empty labels, have
4 config files:
1 for the graphics
1 as a to level to allow choice between Normal and debug.
1 for normal
1 for debug

heres an eg:

(these are from pxelinux but should be similar)

isolinux.cfg
------------------
# Default boot option to use
DEFAULT vesamenu.c32

# Prompt user for selection
PROMPT 0

# Menu Configuration
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
MENU TITLE RHES Main Menu

# Vesa Options
#
MENU INCLUDE gfx/default

# Menus
LABEL x86-4
MENU LABEL ^32Bit (x86) - 4.x
# MENU HIDE
KERNEL vesamenu.c32
APPEND conf/x86-4.conf

LABEL x86-3
MENU LABEL 32Bit (x86) - 3.x
# MENU HIDE
KERNEL vesamenu.c32
APPEND conf/x86-3.conf
------------------

gfx/default
---------------

# vesamenu Default cfg
#
# MENU BACKGROUND filename
MENU BACKGROUND back.jpg

# MENU COLOR element ansi foreground background
menu color screen 37;40 #80ffffff #00000000
menu color border 30;44 #90996633 #00000000
menu color title 1;36;44 #c00090f0 #00000000
menu color unsel 37;47 #e0336699 #00000000
menu color hotkey 1;37;44 #e000ff00 #00000000
menu color sel 7;37;40 #e0ff0000 #20ff8000
menu color hotsel 1;7;37;40 #e0400000 #20ff8000
menu color scrollbar 30;44 #40000000 #00000000
menu color tabmsg 31;40 #CCFF0000 #00000000
menu color cmdmark 1;36;40 #c000ffff #00000000
menu color cmdline 37;40 #c0ffffff #00000000
menu color pwdborder 30;47 #80ffffff #20ffffff
menu color pwdheader 31;47 #80ff8080 #20ffffff
menu color pwdentry 30;47 #80ffffff #20ffffff
menu color timeout_msg 37;40 #CCFF0000 #00000000
menu color timeout 1;37;40 #c0333999 #00000000

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

conf/x84-4.conf
------------------------
# Default boot option to use
DEFAULT vesamenu.c32

# Prompt user for selection
PROMPT 0

# Time until default is selected
TIMEOUT 100

# Menu Configuration
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
MENU TITLE 32Bit (x86) RHES 4.x OS Choice

# Vesa Options
#
MENU INCLUDE gfx/default

# Return to Main Menu
LABEL MainMenu
MENU DEFAULT
MENU LABEL ^Main Menu
KERNEL vesamenu.c32

#
# Latest Release
#
LABEL latest
MENU LABEL ^Latest Release
KERNEL knl/vmlinuz-rhes46-x86
APPEND initrd=img/initrd-rhes46-x86.img
----------------------


On 13/02/2008, BuraphaLinux Server <buraphalinuxserver@gmail.com> wrote:
>
> The attached config works, but gives 2 error messages that get covered
> up by the GUI screen so fast I cannot read them. I think they are
> probably about having 'LABEL' with nothing after it. I was trying to
> follow the example in menu.doc but somehow I'm doing it wrong. Please
> consider helping me figure out how to get the same resulting GUI menu
> without any error messages.
>
> I am using syslinux-3.61
>
> By the way, the pcitest.c32 locks up hard on an IBM xSeries 345; I had
> to power-cycle the machine. It works on most of my normal desktop
> systems though. Maybe it doesn't work for Xeon machines?
>
> JGH
>
>
> --
> Click on the link below to report this email as spam
>
> https://www.mailcontrol.com/sr/Elxo3EMoSyRF5Aox+v2txo1nGafUvL1y2XTVUIvCyIPEZgTabpkKOidMordbiC7pSGWqzlXMgDUXfQsRQhRDeEnmTuGAEdqGH!VWMfHEbSSGUP0Y3gCw0keQzAkzc5109HpJlHyTNPVQr2JlkD7MeKlexrWYVvdG0d0oEXyevUMdKVdW4PFkrWUpvFczq31yuKQpCtqsYWaLtJEznzfiqbpGbLGuD7g
> !
>
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX@zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>
>
>


--
Regards,


Ryan McLean
Systems Administrator
------------------
Accelrys Limited (http://www.accelrys.com)
Registered office: 334 Cambridge Science Park, Cambridge, CB4 0WN, UK
Registered in England: 2326316
_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX@zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.