[syslinux] [PATCH 3/3] syslinux: support isolinux configuration files

Thomas Bächler thomas at archlinux.org
Tue Feb 14 08:45:16 PST 2012


Am 14.02.2012 17:26, schrieb Pete Batard:
> Also, I am installing ldlinux.sys in / always. If the working directory
> is where ldlinux.sys lives, then an isolinux -> syslinux conversion
> performed with ldlinux.sys in root should be okay.

In my scenario, I want users to be able to copy the contents of the
/arch folder from the ISO to their existing USB drives (anywhere on the
drive) and run
 extlinux --install $PATH/boot/syslinux/
and be able to boot it. This keeps the same configuration files and
keeps the bootloader files contained in that folder.

This is also the reason why I do not want any absolute paths in any of
my configuration files, thus I was very disappointed to see that ..
didn't work for anything but syslinux.

> However, I am not
> sure I understand your "Working directory is the directory the config
> file lives, the same where ldlinux.sys lives" point. What is the working
> directory when ldlinux.sys is in / but syslinux.cfg resides in /syslinux/?

Right now, syslinux always searches for its configuration file in the
same directory where you installed ldlinux.sys.

I didn't realize it would search other folders afterwards. I also just
realized your patch wouldn't make my use case any better or worse
(therefore, I withdraw any objection towards the patch). However, I
still believe that one should think about all these inconsistencies
before making them even worse.


FYI, I do not make decisions around here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://www.zytor.com/pipermail/syslinux/attachments/20120214/0ed91d35/attachment.sig>


More information about the Syslinux mailing list