Mailing List Archive

menu.c32 and old syslinux options
Now that I use the simple menu.c32, I'd like to still have the
old options like command lines for entering my labels by hand.
Is there a way to unload the simple menu module and revert back to the
regular?

Thanks,
Jerry


_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Jerry Nelson wrote:
> Now that I use the simple menu.c32, I'd like to still have the
> old options like command lines for entering my labels by hand.
> Is there a way to unload the simple menu module and revert back to the
> regular?

Is pressing Escape what you're looking for?

-hpa

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Hitting escape brings me to the default (1st menu).

My fist menu is a menu.c32, so that I could password protect it.
But Maybe If I had to I could leave the fist default menu non simple -
is that the only way to swap over to a non simple menu?
Thx again

-----Original Message-----
From: syslinux-bounces@zytor.com [mailto:syslinux-bounces@zytor.com] On
Behalf Of H. Peter Anvin
Sent: Wednesday, June 06, 2007 2:09 PM
To: For discussion of SYSLINUX and tftp-hpa
Subject: Re: [syslinux] menu.c32 and old syslinux options

Jerry Nelson wrote:
> Now that I use the simple menu.c32, I'd like to still have the
> old options like command lines for entering my labels by hand.
> Is there a way to unload the simple menu module and revert back to the
> regular?

Is pressing Escape what you're looking for?

-hpa

_______________________________________________
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.




_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Jerry Nelson wrote:
> Hitting escape brings me to the default (1st menu).
>
> My fist menu is a menu.c32, so that I could password protect it.
> But Maybe If I had to I could leave the fist default menu non simple -
> is that the only way to swap over to a non simple menu?
> Thx again
>

You have "noescape 1" turned on? If so, you can't get to the command
line at all.

-hpa

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
No I did Not, I assume the default was 0, escape does work however,
Just puts me back to my default menu (which was menu.c32 as well).

-----Original Message-----
From: syslinux-bounces@zytor.com [mailto:syslinux-bounces@zytor.com] On
Behalf Of H. Peter Anvin
Sent: Wednesday, June 06, 2007 2:45 PM
To: For discussion of SYSLINUX and tftp-hpa
Subject: Re: [syslinux] menu.c32 and old syslinux options

Jerry Nelson wrote:
> Hitting escape brings me to the default (1st menu).
>
> My fist menu is a menu.c32, so that I could password protect it.
> But Maybe If I had to I could leave the fist default menu non simple -
> is that the only way to swap over to a non simple menu?
> Thx again
>

You have "noescape 1" turned on? If so, you can't get to the command
line at all.

-hpa

_______________________________________________
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.




_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Jerry Nelson wrote:
> No I did Not, I assume the default was 0, escape does work however,
> Just puts me back to my default menu (which was menu.c32 as well).

That shouldn't happen. Please post your config file.

-hpa

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Ok, I think I found one issue. I have my default menu, and that
Brings me into other menu's(configs) depending on which one is selected.
I have "noescape 0" in one sub menu, but it wasn't set in my 1st default
Menu. I didn't include that in my first menu because I use password
Protection and the README.menu says you must have "noescape 1".

Anyway, I changed that and hitting escape gets me the "boot: " line,
Password still seems to work, but I still can't get the boot line
To accept my labels from sub configs - I have used "include mycfg"
Lines, but nothing. "menu include" just shows all the labels, not what
I want.
--jerry

Attached is my config and one sub config:
Default Config file:

======================
default menu.c32
prompt 0
noescape 0
allowoptions 1
ipappend 1
timeout 900

MENU TITLE PXE BOOT MENU
MENU MASTER PASSWD somepword

SAY Please Enter Boot Label: (This doesn't seem to work either?)

LABEL local
MENU LABEL Local ^Boot
localboot 0

LABEL mainmenu
MENU DEFAULT
MENU PASSWD
MENU PASSPROMPT This Sub menu for linux booting Requires a Password:
MENU LABEL Main ^PXE Boot Menu
KERNEL menu.c32
APPEND pxelinux.cfg/mainmenu.cfg

INCLUDE pxelinux.cfg/mainmenu.cfg
INCLUDE pxelinux.cfg/rhat.cfg


AND My sub menu mainmenu.cfg file below:
========================
default menu.c32
prompt 1
noescape 0
allowoptions 1
ipappend 1
implicit 1
timeout 900

MENU TITLE MAIN BOOT OPTIONS

LABEL local
MENU LABEL Boot ^Local Disk
localboot 0

LABEL rhat
MENU DEFAULT
MENU LABEL ^RHAT Boot Menu
KERNEL menu.c32
APPEND pxelinux.cfg/rhat.cfg

LABEL suse
MENU LABEL ^SuSE Boot Menu
KERNEL menu.c32
APPEND pxelinux.cfg/suse.cfg

LABEL win
MENU LABEL ^Windoz Boot Menu
KERNEL menu.c32
APPEND pxelinux.cfg/win.cfg


INCLUDE pxelinux.cfg/rhat.cfg
INCLUDE pxelinux.cfg/suse.cfg
INCLUDE pxelinux.cfg/win.cfg

-----Original Message-----
From: syslinux-bounces@zytor.com [mailto:syslinux-bounces@zytor.com] On
Behalf Of H. Peter Anvin
Sent: Wednesday, June 06, 2007 5:48 PM
To: For discussion of SYSLINUX and tftp-hpa
Subject: Re: [syslinux] menu.c32 and old syslinux options

Jerry Nelson wrote:
> No I did Not, I assume the default was 0, escape does work however,
> Just puts me back to my default menu (which was menu.c32 as well).

That shouldn't happen. Please post your config file.

-hpa

_______________________________________________
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.




_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Jerry Nelson wrote:
> Ok, I think I found one issue. I have my default menu, and that
> Brings me into other menu's(configs) depending on which one is selected.
> I have "noescape 0" in one sub menu, but it wasn't set in my 1st default
> Menu. I didn't include that in my first menu because I use password
> Protection and the README.menu says you must have "noescape 1".
>
> Anyway, I changed that and hitting escape gets me the "boot: " line,
> Password still seems to work, but I still can't get the boot line
> To accept my labels from sub configs - I have used "include mycfg"
> Lines, but nothing.

Hm, they should have worked. Note that the CLI only ever sees the
initial (default) config file, not your submenu configs, unless you use
CONFIG statements to switch between configurations.

INCLUDE is only supported in 3.50-pre16 or later.

-hpa

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Thanks, maybe that is the issue I'm on pre-10?
Can you point me to any docs on the "config" statements?
Thx HPA,
Jerry

-----Original Message-----
From: syslinux-bounces@zytor.com [mailto:syslinux-bounces@zytor.com] On
Behalf Of H. Peter Anvin
Sent: Thursday, June 07, 2007 10:16 AM
To: For discussion of SYSLINUX and tftp-hpa
Subject: Re: [syslinux] menu.c32 and old syslinux options

Jerry Nelson wrote:
> Ok, I think I found one issue. I have my default menu, and that
> Brings me into other menu's(configs) depending on which one is
selected.
> I have "noescape 0" in one sub menu, but it wasn't set in my 1st
default
> Menu. I didn't include that in my first menu because I use password
> Protection and the README.menu says you must have "noescape 1".
>
> Anyway, I changed that and hitting escape gets me the "boot: " line,
> Password still seems to work, but I still can't get the boot line
> To accept my labels from sub configs - I have used "include mycfg"
> Lines, but nothing.

Hm, they should have worked. Note that the CLI only ever sees the
initial (default) config file, not your submenu configs, unless you use
CONFIG statements to switch between configurations.

INCLUDE is only supported in 3.50-pre16 or later.

-hpa

_______________________________________________
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.




_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Jerry Nelson wrote:
> Thanks, maybe that is the issue I'm on pre-10?

It would, since you're trying to use a feature which isn't implemented
there.

> Can you point me to any docs on the "config" statements?

syslinux.doc in a suitably recent version.

-hpa

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
I tried a couple variations of using CONFIG.

I think the only work around I could come up with would be to load
A config with hidden labels so that they don't muck up my menu, but
they would still be options on the boot: CLI

Jerry

-----Original Message-----
From: syslinux-bounces@zytor.com [mailto:syslinux-bounces@zytor.com] On
Behalf Of H. Peter Anvin
Sent: Thursday, June 07, 2007 10:16 AM
To: For discussion of SYSLINUX and tftp-hpa
Subject: Re: [syslinux] menu.c32 and old syslinux options

Jerry Nelson wrote:
> Ok, I think I found one issue. I have my default menu, and that
> Brings me into other menu's(configs) depending on which one is
selected.
> I have "noescape 0" in one sub menu, but it wasn't set in my 1st
default
> Menu. I didn't include that in my first menu because I use password
> Protection and the README.menu says you must have "noescape 1".
>
> Anyway, I changed that and hitting escape gets me the "boot: " line,
> Password still seems to work, but I still can't get the boot line
> To accept my labels from sub configs - I have used "include mycfg"
> Lines, but nothing.

Hm, they should have worked. Note that the CLI only ever sees the
initial (default) config file, not your submenu configs, unless you use
CONFIG statements to switch between configurations.

INCLUDE is only supported in 3.50-pre16 or later.

-hpa

_______________________________________________
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.




_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Jerry Nelson wrote:
> I tried a couple variations of using CONFIG.
>
> I think the only work around I could come up with would be to load
> A config with hidden labels so that they don't muck up my menu, but
> they would still be options on the boot: CLI
>

The way I would do it would be to have your initial config file look
something like:

default menu.c32 menus/mainmenu.cfg

include menus/mainmenu.cfg
include menus/othermenu.cfg
include menus/moremenu.cfg
include menus/lastmenu.cfg

-hpa

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
On 6/6/07, Jerry Nelson <jerry.nelson@xilinx.com> wrote:
>
> Now that I use the simple menu.c32, I'd like to still have the
> old options like command lines for entering my labels by hand.
> Is there a way to unload the simple menu module and revert back to the
> regular?
>
> Thanks,
> Jerry
>
>
> _______________________________________________
> 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.
>
>

Wait, if I understand this correctly, maybe completely escaping from
the menu is making it more complicated than necessary? If you select
an option and hit tab, menu.c32 and vesamenu.c32 give you an edit line
where you can edit the command line to be used for that particular
boot option. This would allow you to add your custom parameters for
booting. It's one of my favorite features of the menu system
sometimes as I use it often to change a default vga= statement and
sometimes to add a keymap (I'm a Dvorak user.)

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Nazo wrote:
>
> Wait, if I understand this correctly, maybe completely escaping from
> the menu is making it more complicated than necessary? If you select
> an option and hit tab, menu.c32 and vesamenu.c32 give you an edit line
> where you can edit the command line to be used for that particular
> boot option. This would allow you to add your custom parameters for
> booting. It's one of my favorite features of the menu system
> sometimes as I use it often to change a default vga= statement and
> sometimes to add a keymap (I'm a Dvorak user.)
>

There is that, too. ("allowoptions 0" turns that off, however.)

-hpa

_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Not really, I simply wanted to have the option to enter a label
On the CLI (for those of us who do this so much we know the labels by
heart), But still have the multiple menu's. We have dozens of labels in
a
Dozen different sub mnenu's. For example a main menu, w/ 12 options
(rhat, suse, fedora, windoz, etc), select rhat brings you to an other
menu w/ a dozen options. Being able to have the CLI on the first menu
and being able to type a label that is memorized is much faster - yet we
can't afford to display the 300 labels on the main menu (using include
was doing just that)

Thanks though,

Jerry

-----Original Message-----
From: syslinux-bounces@zytor.com [mailto:syslinux-bounces@zytor.com] On
Behalf Of H. Peter Anvin
Sent: Thursday, June 07, 2007 6:07 PM
To: For discussion of SYSLINUX and tftp-hpa
Subject: Re: [syslinux] menu.c32 and old syslinux options

Nazo wrote:
>
> Wait, if I understand this correctly, maybe completely escaping from
> the menu is making it more complicated than necessary? If you select
> an option and hit tab, menu.c32 and vesamenu.c32 give you an edit line
> where you can edit the command line to be used for that particular
> boot option. This would allow you to add your custom parameters for
> booting. It's one of my favorite features of the menu system
> sometimes as I use it often to change a default vga= statement and
> sometimes to add a keymap (I'm a Dvorak user.)
>

There is that, too. ("allowoptions 0" turns that off, however.)

-hpa

_______________________________________________
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.




_______________________________________________
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.
Re: menu.c32 and old syslinux options [ In reply to ]
Jerry Nelson wrote:
> Not really, I simply wanted to have the option to enter a label
> On the CLI (for those of us who do this so much we know the labels by
> heart), But still have the multiple menu's. We have dozens of labels in
> a
> Dozen different sub mnenu's. For example a main menu, w/ 12 options
> (rhat, suse, fedora, windoz, etc), select rhat brings you to an other
> menu w/ a dozen options. Being able to have the CLI on the first menu
> and being able to type a label that is memorized is much faster - yet we
> can't afford to display the 300 labels on the main menu (using include
> was doing just that)
>

See my previous message. Your root menu does NOT have to be the CLI
config file.

-hpa

_______________________________________________
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.