[syslinux] Syslinux search for config file

Gene Cumm gene.cumm at gmail.com
Wed Aug 29 16:14:22 PDT 2012


On Wed, Aug 29, 2012 at 5:20 PM, Ady Ady <ady-sf at hotmail.com> wrote:
>> 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.

Let's ignore ISOLINUX for a moment.  Using the prebuilt binaries for
Syslinux-4.05 of extlinux/extlinux and linux/syslinux, I do in fact
see that the install directory is used first.

-- 
-Gene

"No one ever says, 'I can't read that ASCII(plain text) e-mail you sent me.'"



More information about the Syslinux mailing list