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

Phil_Newlon at wendys.com Phil_Newlon at wendys.com
Sat Sep 15 07:00:45 PDT 2007


Ah ha, that makes sense!




----- Original Message -----
From: "H. Peter Anvin" [hpa at zytor.com]
Sent: 09/14/2007 05:56 PM
To: For discussion of SYSLINUX and tftp-hpa <syslinux at zytor.com>
Subject: Re: [syslinux] extlinux can't find extlinux.conf file?



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

_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX at zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.





More information about the Syslinux mailing list