[syslinux] CONFIG + APPEND directive with RELATIVE paths

Ady Ady ady-sf at hotmail.com
Tue Jun 12 03:20:21 PDT 2012


Hello.

I'm testing version 4.06-pre5.

Using the CONFIG + APPEND directive with RELATIVE paths and changing the base directory is sometimes failing.

Booting with ISOLINUX is OK but SYSLINUX is not.

To demonstrate an example, I have uploaded a little 7z archive containing:

_ a little ISO image;
_ a 1440KiB floppy image.

Both images have the same directory tree and cfg files. The only difference is the respective boot loader.

My test:
1_ Boot the ISO image in a VM.
2_ First menu ; press "enter"
3_ Second menu ; press "enter"
4_ Third menu ; press "enter"
5_ Note the exact PWD.
6_ Repeat previous steps for the floppy image.

The resulting final working directory for the ISO image is the correct one (equivalent to "/" ); but for the floppy (SYSLINUX) the final working directory doesn't match the expected final working directory (according to the APPENDs in the cfg files).

I also tested other directory trees without using menu.c32 and the result was the same: ISOLINUX works OK, SYSLINUX doesn't.

BTW, version 4.05 is also failing in the exact same way.

The 7z archive info:

NAME : relpaths2.7z
DATE : 2012JUN12
SIZE : 382574 bytes
MD5 : E6757B2941C2EBE85D4D58894E37CAFD
SHA1 : 3D47B096B3C90ECA5170908DFC4D7440F3892B1C

download :
[url]
-hXXp://www.fileconvoy.com/dfl.php?id=ge6ced32f1e397716120960c735d1bcd3051bcf
[/url]

(Note the "-hXXp".)

The archive will be available for 7 days.

TIA. 		 	   		  



More information about the Syslinux mailing list