[syslinux] TEST IMG/ISO FAILS in syslinux 5.01

Ady ady-sf at hotmail.com
Wed Apr 24 19:13:16 PDT 2013


>  
> LABEL test-img-iso-file
>   MENU LABEL ** ^TEST IMG/ISO File.
>   kernel /test/memdisk 
>  initrd  test/filename.iso                            
>  append  iso    
>    #  [if not use iso raw] 
> TEXT HELP
> [Tab] >Use (i) iso  initrd=test/filename.iso OR (ii)
> initrd=test/filename.extn
>  

I don't know whether your real entry is incomplete, or you just did 
not paste it completely in your email, but you need and "ENDTEXT" 
statement.

Additionally, you should comment out reserved words that are not to 
be parsed. In theory, if such key words (or statements) are inside a 
"TEXT HELP - ENDTEXT" pair then they should not be parsed anyway, but 
adding an initial "#" character should be harmless; at least 
generally speaking.

Also, you should pay attention to the adequate paths, and whether 
they are "relative" or "absolute".

If there are, unintentionally, two similar valid statements (two 
"initrd", lines for example) in the same menu entry, the last one 
takes priority. So using "TEXT HELP - ENDTEXT" before the valid 
statement could potentially reduce conflicts (although, there 
shouldn't be any).

So, assuming your image is located inside the "./test/" directory (I 
am using "relative" path notation in this example) and assuming 
memdisk is also located in the same directory, I would suggest trying 
something similar to the following:
 
 
LABEL test-img-iso-file
 MENU LABEL ** ^TEST IMG/ISO File.
 TEXT HELP
 # [Tab] >Use (i) iso  initrd=test/filename.iso OR (ii)
 # initrd=test/filename.extn
 #  [if not use iso raw] 
 ENDTEXT
  kernel test/memdisk 
  initrd test/filename.iso                            
  append iso    

 
Of course you need to adequate the entry to the path and file names 
you are actually using.
If that doesn't work, you would probably need to provide more 
details, such as the tree structure and exact location of the files.

Regards,
Ady.



More information about the Syslinux mailing list