[syslinux] Recursive pxelinux.0 and pxelinux.cfg directories.
Vance Turner
Vance.Turner at datadomain.com
Tue Aug 19 12:29:05 PDT 2008
Well that is the rub. Although the tftp root directory can be passed
initially, there isn't anything that says you can't pull from
sub-directories.
pxelinux.0 isn't directory aware for its config directory, but if it can
see the options as to how it was called, then you could pass it a new
config dir value. Placing this in DHCP doesn't help a dynamic menuing
system. Being able to recall pxelinux.0, menu.c32, or vesamenu.c32 with
options would solve this. I am looking at vesamenu.c32 with the append
as follows.
Label RedHat
Menu label RedHat
Kernel vesamenu.c32
Append RHEL-Install/pxelinux.cfg/default
Display RHEL-Install/boot.msg
I will try menu.c32 also. If I could substitute pxelinux.0 for
vesamenu.c32 this would pop up the default interactive splashscreen.
-----Original Message-----
From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On
Behalf Of H. Peter Anvin
Sent: Tuesday, August 19, 2008 12:14 PM
To: For discussion of SYSLINUX and tftp-hpa
Subject: Re: [syslinux] Recursive pxelinux.0 and pxelinux.cfg
directories.
Vance Turner wrote:
> How does pxelinux.0 know of its conf directory? Is this hard linked in
> the code? ( Probably ) Can we give it a hint by recalling it?
>
> What about the usefulness of vesamenu.c32 or menu.c32
>
The config directory is determined by DHCP option 210 if one is present,
otherwise by the filename used to fetch pxelinux.0 itself.
Now, there is a catch here -- this is the filename as provided by the
DHCP stack. At this point, chainloading a new pxelinux.0 doesn't change
this; this may be possible to change although it is dependent on the PXE
stack.
-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.
More information about the Syslinux
mailing list