[syslinux] using menu's to boot kernels

Aaron McSorley aaron.mcsorley at amd.com
Mon Jul 26 10:51:50 PDT 2004


Is there anything I might break by changing the action string length in menu.h,
how high could it safely go.

#define ACTIONLEN     256 // Maximum length of an action string

Thanks
  Aaron


On Fri, 23 Jul 2004, Murali Krishnan Ganapathy wrote:

> add_item("User Text",
>         "Status Bar Information",
>         OPT_RUN,
>         "kernel initrd=xyz any additional appendable options",0);
>
> This should do it.
>
> If you look into complex.com, the isolinux commandline is built up 
> dynamically, based on user selections (checkboxes and radiomenus).
> complex.com also uses some features which can help securely boot (i.e.
> users cannot type in their own arguments).
>
> - Murali
>
> James_Martin at ao.uscourts.gov wrote:
>> I've now been able to test the simple.com in dosemu, worked fine.  We 
>> provide a CD that has multiple kickstart configurations on it and users 
>> are prompted as to what type of server they want to build based upon the 
>> isolinux.cfg selections.  My goal is to use Murlai's menuing system 
>> instead because the large number of configs is taking too much screen real 
>> estate.
>> 
>> Looking at simple.c I see entries like:
>> 
>>   add_item("Linux Rescue","linresc",OPT_RUN,"linresc",0);
>> 
>> So I suppose I need to add an item to the menu that specifies a kernel and 
>> it's appendeable options (like isolinux.cfg).. How do I accomplish this?
>> 
>> 
>> I know it's probably a simple answer as but...
>> 
>> James S. Martin, RHCE
>> Contractor
>> Administrative Office of the United States Courts
>> Washington, DC
>> (202) 502-2394
>> 
>> _______________________________________________
>> 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.
>> 
>> 
>
> _______________________________________________
> 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.
>
>

  _______
  \____  | Advanced	Aaron McSorley  RHCE
  /|   | | Micro		Texas Microprocessor Division
| |___| | Devices	e-mail: aaron.mcsorley at amd.com
|____/ \|		Voice:512.602.0417
 			pgr:512.604.0946




More information about the Syslinux mailing list