[syslinux] config.c32 fails in 5.00pre12

Matt Fleming matt at console-pimps.org
Thu Nov 29 09:03:13 PST 2012


On Thu, 2012-11-29 at 16:32 +0200, Ady wrote:
> Should I use a different PATH if the new cfg file is located in a 
> different location (not in "/")?
> 
> Also, I thought that "/" was already in PATH by default.
> 
> I hope there is a better solution in any case (which should also 
> cover relative paths used in config.c32 and in the CONFIG directive).

The contents of PATH tell Syslinux where to look for files. Syslinux
will always implicitly look in the current working directory. However,
if you're in /dira/ and you type 'ls.c32', which is located in /, you
should add "/" to PATH.

The default PATH is "/boot/syslinux/:/boot/".

> Additional problem, generated with the same example but with 
> 5.00pre12.
> 
> 1_ Boot
> 
> 2_ Run config1
> 
> 3_ Press [TAB]. Note that "config11" is NOT listed, since it is not 
> part of dira.cfg.
> 
> 4_ Run "config11" (which is NOT a listed label in dira.cfg).
> Loading config11... failed: No such file or directory.
> 
> 5_ Press [TAB], as in step #3. This time no label is listed!!! Why? 
> The failure in step #4 shouldn't affect the available labels.

Fixed.

-- 
Matt Fleming, Intel Open Source Technology Center




More information about the Syslinux mailing list