aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2002-04-28 23:13:42 +0000
committerhpa <hpa>2002-04-28 23:13:42 +0000
commit46be8d63b2529da73660807cddcc4cec537ddc0d (patch)
tree32a6cbab334e36af2c08c229611c1894a7970f54
parent40ad8adc0badf7dde35c74caed2d6b6e2373c76c (diff)
downloadsyslinux-46be8d63b2529da73660807cddcc4cec537ddc0d.tar.gz
syslinux-46be8d63b2529da73660807cddcc4cec537ddc0d.tar.xz
syslinux-46be8d63b2529da73660807cddcc4cec537ddc0d.zip
Change, and document, the search sequence of extensions.
-rw-r--r--isolinux.asm1
-rw-r--r--pxelinux.asm3
-rw-r--r--syslinux.doc19
3 files changed, 13 insertions, 10 deletions
diff --git a/isolinux.asm b/isolinux.asm
index b3a4a7ac..00ffd6a1 100644
--- a/isolinux.asm
+++ b/isolinux.asm
@@ -1901,6 +1901,7 @@ keywd_count equ ($-keywd_table)/keywd_size
align 4, db 0
exten_table: db '.cbt' ; COMBOOT (specific)
db '.img' ; Disk image
+ db '.bin' ; CD boot sector
db '.com' ; COMBOOT (same as DOS)
exten_table_end:
dd 0, 0 ; Need 8 null bytes here
diff --git a/pxelinux.asm b/pxelinux.asm
index 6735615f..9c350815 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -2343,8 +2343,7 @@ keywd_count equ ($-keywd_table)/keywd_size
;
align 4, db 0
exten_table: db '.cbt' ; COMBOOT (specific)
-; db '.bss' ; Boot Sector (add superblock)
-; db '.bs', 0 ; Boot Sector
+ db '.0' ; PXE bootstrap program
db '.com' ; COMBOOT (same as DOS)
exten_table_end:
dd 0, 0 ; Need 8 null bytes here
diff --git a/syslinux.doc b/syslinux.doc
index 5333103f..91a64eef 100644
--- a/syslinux.doc
+++ b/syslinux.doc
@@ -421,14 +421,17 @@ files; see separate section below.)
Chain loading requires the boot sector of the foreign operating system
to be stored in a file in the root directory of the filesystem.
Because neither Linux kernels, boot sector images, nor COMBOOT files
-have reliable magic numbers, SYSLINUX will look at the file
-extension. The following extensions are recognized:
-
- none or other Linux kernel image
- .CBT COMBOOT image (not runnable from DOS)
- .BSS Boot sector (DOS superblock will be patched in)
- .BS Boot sector
- .COM COMBOOT image (runnable from DOS)
+have reliable magic numbers, SYSLINUX will look at the file extension.
+The following extensions are recognized (case insensitive):
+
+ none or other Linux kernel image
+ .cbt COMBOOT image (not runnable from DOS)
+ .bss Boot sector, DOS superblock will be patched in [SYSLINUX only]
+ .bs Boot sector [SYSLINUX only]
+ .bin "CD boot sector" [ISOLINUX only]
+ .com COMBOOT image (runnable from DOS)
+ .img Disk image [ISOLINUX only]
+ .0 PXE bootstrap program (NBP) [PXELINUX only]
For filenames given on the command line, SYSLINUX will search for the
file by adding extensions in the order listed above if the plain