Regid Ichira
2011-Dec-09 01:06 UTC
[syslinux] Patching doc/syslinux.txt, partialy because #647603 on Debian
My reason for patching circa line 225 is that I think it is clearer. The reason for patching circa line 575 is http://bugs.debian.org/647603. They concluded that a .0 file is recognized not only by PXELINUX. And what is NBP? --- a/doc/syslinux.txt 2011-12-07 04:53:29.201556663 +0200 +++ b/doc/syslinux.txt 2011-12-07 04:50:11.000000000 +0200 @@ -221,7 +221,6 @@ LABEL label The following commands are available after a LABEL statement: - LINUX image - Linux kernel image (default) BOOT image - Bootstrap program (.bs, .bin) BSS image - BSS image (.bss) PXE image - PXE Network Bootstrap Program (.0) @@ -229,6 +228,8 @@ LABEL label COMBOOT image - COMBOOT program (.com, .cbt) COM32 image - COM32 program (.c32) CONFIG image - New configuration file + LINUX image - Linux kernel image (other file + name extenstion, no extention) Using one of these keywords instead of KERNEL forces the filetype, regardless of the filename. @@ -570,8 +571,7 @@ Because neither Linux kernels, boot sect have reliable magic numbers, Syslinux will look at the file extension. The following extensions are recognized (case insensitive): - none or other Linux kernel image - .0 PXE bootstrap program (NBP) [PXELINUX only] + .0 PXE bootstrap program (NBP) .bin "CD boot sector" [ISOLINUX only] .bs Boot sector [SYSLINUX only] .bss Boot sector, DOS superblock will be patched in [SYSLINUX only] @@ -579,6 +579,7 @@ The following extensions are recognized .cbt COMBOOT image (not runnable from DOS) .com COMBOOT image (runnable from DOS) .img Disk image [ISOLINUX only] + none or other Linux kernel image For filenames given on the command line, Syslinux will search for the file by adding extensions in the order listed above if the plain
Gene Cumm
2011-Dec-10 19:55 UTC
[syslinux] Patching doc/syslinux.txt, partialy because #647603 on Debian
On Thu, Dec 8, 2011 at 20:06, Regid Ichira <regid23 at yahoo.com> wrote:> My reason for patching circa line 225 is that I think it is > clearer. The reason for patching circa line 575 isI'm not sure why "default" doesn't appear clear.> http://bugs.debian.org/647603. They concluded that a .0 file is > recognized not only by PXELINUX. And what is NBP?This is a bug per a discussion with hpa after your email. I believe it may be possible but is pretty messy. Network Boot Program, like PXELINUX. -- -Gene
H. Peter Anvin
2011-Dec-12 00:44 UTC
[syslinux] Patching doc/syslinux.txt, partialy because #647603 on Debian
On 12/08/2011 05:06 PM, Regid Ichira wrote:> My reason for patching circa line 225 is that I think it is > clearer. The reason for patching circa line 575 is > http://bugs.debian.org/647603. They concluded that a .0 file is > recognized not only by PXELINUX. And what is NBP?Network Bootstrap Program. .0 probably *should* be recognized by PXELINUX only... perhaps this should be fixed. It's a messy situation, because the .0 extension is truly awful. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
Apparently Analagous Threads
- syslinux.exe, 5.01 on xp: Failed to load COM32 file, and more
- syslinux.exe, on XP, fails to run on a USB stick
- patch: Shouldn't the synopsis of upsmon.8 mention the -K flag?
- Suggestion for improving syslinux man page.
- syslinux.exe, 5.01 on xp: Failed to load COM32 file, and more