Phil_Newlon at wendys.com
2007-Sep-11 16:10 UTC
[syslinux] extlinux can't find extlinux.conf file?
When I try to boot my system using extlinux I get the error: EXTLINUX 3.51 2007-06-10 EBIOS Copyright (C) 1994-2007 H. Peter Anvin Could not find kernel image: linux boot: ???????????????????????????????? I've searched the archives and it would appear that extlinux can't find the extlinux.conf file.... Is there something glaring that I am missing? TIA - Phil I have a 32MB CF card partitioned like this: Device Boot Start End Blocks Id System /dev/sda1 * 1 245 31344 83 Linux I created the filesystem "mke2fs /dev/sda1" Mounted it "mount /dev/sda1 /mount/sda1" Created the MBR "cat /root/syslinux-3.51/mbr/mbr.bin > /dev/sda" Installed extlinux "/root/syslinux-3.51/extlinux -i /mount/sda1" I created the extlinux.conf file in /mount/sda1, it contains: root at pnewl01:/mount/sda1# cat extlinux.conf DISPLAY hello LABEL 1 KERNEL bzImage.phil Here's the directory listing of my /dev/sda1 (mounted on /mount/sda1) directory: root at pnewl01:/mount/sda1# ls -lt total 2216 -rw-r--r-- 1 root root 674260 2007-09-11 11:48 System.map -rw-r--r-- 1 root root 1570040 2007-09-11 11:48 bzImage.phil -rw-r--r-- 1 root root 45 2007-09-11 11:48 extlinux.conf -r--r--r-- 1 root root 10771 2007-09-11 11:46 extlinux.sys
Phil_Newlon at wendys.com
2007-Sep-11 16:24 UTC
[syslinux] extlinux can't find extlinux.conf file?
UPDATE: - Changed "DISPLAY" to "SAY" (I started using a file to display a message, just wanted to say "hello" so I knew extlinux found the config file, didn't change the command to SAY) - Saw that "hello" was being displayed, so I knew extlinux was finding the .conf file. - Copied "bzImage.phil" to "linux" - Changed "KERNEL bzImage.phil" to "KERNEL linux", now it loads. Why does extlinux ignore my "KERNEL bzImage.phil" command, but likes "KERNEL linux"? TIA (again) Phil Phil Newlon/Corporate/Wendys 09/11/2007 12:10 PM To syslinux at zytor.com cc Subject extlinux can't find extlinux.conf file? When I try to boot my system using extlinux I get the error: EXTLINUX 3.51 2007-06-10 EBIOS Copyright (C) 1994-2007 H. Peter Anvin Could not find kernel image: linux boot: ???????????????????????????????? I've searched the archives and it would appear that extlinux can't find the extlinux.conf file.... Is there something glaring that I am missing? TIA - Phil I have a 32MB CF card partitioned like this: Device Boot Start End Blocks Id System /dev/sda1 * 1 245 31344 83 Linux I created the filesystem "mke2fs /dev/sda1" Mounted it "mount /dev/sda1 /mount/sda1" Created the MBR "cat /root/syslinux-3.51/mbr/mbr.bin > /dev/sda" Installed extlinux "/root/syslinux-3.51/extlinux -i /mount/sda1" I created the extlinux.conf file in /mount/sda1, it contains: root at pnewl01:/mount/sda1# cat extlinux.conf DISPLAY hello LABEL 1 KERNEL bzImage.phil Here's the directory listing of my /dev/sda1 (mounted on /mount/sda1) directory: root at pnewl01:/mount/sda1# ls -lt total 2216 -rw-r--r-- 1 root root 674260 2007-09-11 11:48 System.map -rw-r--r-- 1 root root 1570040 2007-09-11 11:48 bzImage.phil -rw-r--r-- 1 root root 45 2007-09-11 11:48 extlinux.conf -r--r--r-- 1 root root 10771 2007-09-11 11:46 extlinux.sys
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
Phil_Newlon at wendys.com
2007-Sep-15 14:00 UTC
[syslinux] extlinux can't find extlinux.conf file?
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.
Possibly Parallel Threads
- extlinux from syslinux 4.04 failed hard after choosing bzImage.
- Completely disable local keyboard input in Syslinux / Extlinux?
- installing syslinux on a fresh system (SATA)
- installing syslinux on a fresh system (SATA)
- installing syslinux on a fresh system (SATA)