[syslinux] Syslinux search for config file
Ady Ady
ady-sf at hotmail.com
Wed Aug 29 14:20:15 PDT 2012
> Date: Wed, 29 Aug 2012 16:41:43 -0400
> From: gene.cumm at gmail.com
> To: syslinux at zytor.com
> Subject: Re: [syslinux] Syslinux search for config file
>
> On Wed, Aug 29, 2012 at 7:42 AM, Tomas M <tomas at slax.org> wrote:
> > There is -d option to install syslinux to any directory (if you
> > remember, I sponsored it few years ago), but still the config file
> > needs to be in /boot/syslinux/ for example. This way, the default
>
> No, that install directory should searched first. If this is not how
> it behaves, please post a reasonable bug report.
>
> --
> -Gene
The whole point here is that the search path for the cfg file for
ISOLINUX currently is:
1._ /boot/isolinux/isolinux.cfg
2._ /boot/isolinux.cfg
3._ /isolinux.cfg
4._ /boot/syslinux/syslinux.cfg
5._ /boot/syslinux.cfg
6._ /syslinux.cfg
while for SYSLINUX the search starts at #4 from the above list.
So when the installation command is (using the example from Tomas):
syslinux -i -d /slax/ /dev/sdb1
the search path for the cfg file doesn't include "/slax/" (nor any subdirectory of it).
So, no, the "install" directory is not searched, unless it is one of
those mentioned in the above list. In other words, the root of the
search is "/", not the "install" directory.
More information about the Syslinux
mailing list