[syslinux] extlinux can't find extlinux.conf file?

H. Peter Anvin hpa at zytor.com
Fri Sep 14 14:56:45 PDT 2007


Phil_Newlon at wendys.com wrote:
> 
>         root at pnewl01:/mount/sda1# cat extlinux.conf
>         DISPLAY hello
> 
>         LABEL 1
>                 KERNEL bzImage.phil
> 

I just now looked at this again, and realized what you're trying to do
here.  You need "PROMPT 1" in order for it to stop.  You have a label,
which means if someone enters "1" they will get "bzImage.phil".

However, there is nothing in the above file which tells it what to do if
the user doesn't enter a command, and since it doesn't have a PROMPT, it
won't stop and ask the user what to do, either.  Instead it will boot
the default command, which is "linux".  Since "linux" doesn't match your
label (which is just "1"), it will be considered a filename.

So you can add either "DEFAULT 1" or "PROMPT 1" (or both) to the above;
"DEFAULT 1" would set the default command to "1", which matches your
label.  "PROMPT 1" (the '1' here is just a boolean flag, 0 or 1, it
doesn't have anything to do with your label string) tells it to stop and
ask the user for input.

	-hpa




More information about the Syslinux mailing list