[syslinux] Syslinux search for config file

Tomas M tomas at slax.org
Thu Aug 30 00:38:39 PDT 2012


>> I also tested 4.05, and it did NOT search the install directory if such
>>  directory is not in the "expected" list. Tomas also got the same result (as
>>  he wrote in a previous email in this same thread).
>
> He stated such but without more data, I can't be certain he's not
> encountering something that's already been resolved.

I see symptoms as described by Ady Ady
I install syslinux from windows, using syslinux.exe (32bit binary),
which I got from syslinux 4.05 source distribution (there is the
binary precompiled).
# syslinux.exe -maf -d \slax\boot F:

When booting from such device, I get error message
ERROR: No configuration file found.

But when I create a directory /boot/syslinux/ on the drive and put
syslinux.cfg into it, it starts to work. Also it starts to work if I
just put the syslinux.cfg file in root (F:\syslinux.cfg)

> Could you
> provide some more information?  What OS & architecture?

Tried to install syslinux 4.06-pre11 using precompiled binary from
this version, but this one doesn't work at all, it produces error
message
invalid media signature (not an FAT/NTFS volume?)
(both 32bit and 64bit binaries from pre11).
Had to recompile those two in ubuntu with mingw32&64 to get it running
on my Windows 7

I didn't try the syslinux installer in Linux, but I believe it MUST BE
the same, since the same source code is simply reused.

> For me, /dev/sdb1 mounted on /media/kdt1g-1/ for using the extlinux
> installer as:
> # extlinux/extlinux -i /media/kdt1g-1/b/
> # extlinux/extlinux -i /media/kdt1g-1/b
> # extlinux/extlinux -i /media/kdt1g-1/slaxbooter/mybootfiles
> # extlinux/extlinux -i /media/kdt1g-1/slaxbooter/mybootfiles/

Probably you have some syslinux.cfg file or similar somewhere in the
common paths. Please try with blank sdb media and only one directory
"b" in the root

Tomas M



More information about the Syslinux mailing list