Remove occurrences of KERNEL from syslinux.cfg

syslinux's KERNEL command tries to autodetect the type of the kernel
by looking at the file's extension. This is unsafe, use the explicit
versions instead:
LINUX - for Linux kernels (memtest is booted like a Linux kernel, too)
COM32 - for COM32 modules
COMBOOT - for comboot modules (only poweroff.com right now)
See http://syslinux.zytor.com/wiki/index.php/SYSLINUX#KERNEL_file
This commit is contained in:
Thomas Bächler 2010-10-17 19:03:21 +02:00
parent 21595371bb
commit 3d30349dee
2 changed files with 13 additions and 13 deletions

View File

@ -37,7 +37,7 @@ Boot the Arch Linux (i686) live medium. It allows you to install Arch Linux or
perform system maintenance. perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Boot Arch Linux (i686) MENU LABEL Boot Arch Linux (i686)
KERNEL /boot/i686/vmlinuz26 LINUX /boot/i686/vmlinuz26
APPEND initrd=/boot/i686/archiso.img archisolabel=XXX rw_branch_size=75% locale=en_US.UTF-8 APPEND initrd=/boot/i686/archiso.img archisolabel=XXX rw_branch_size=75% locale=en_US.UTF-8
# Next line should be uncommented when prepare enviroment to boot from PXE. # Next line should be uncommented when prepare enviroment to boot from PXE.
#IPAPPEND 3 #IPAPPEND 3
@ -48,7 +48,7 @@ Boot the Arch Linux (x86_64) live medium. It allows you to install Arch Linux or
perform system maintenance. perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Boot Arch Linux (x86_64) MENU LABEL Boot Arch Linux (x86_64)
KERNEL /boot/x86_64/vmlinuz26 LINUX /boot/x86_64/vmlinuz26
APPEND initrd=/boot/x86_64/archiso.img archisolabel=XXX rw_branch_size=75% locale=en_US.UTF-8 APPEND initrd=/boot/x86_64/archiso.img archisolabel=XXX rw_branch_size=75% locale=en_US.UTF-8
# Next line should be uncommented when prepare enviroment to boot from PXE. # Next line should be uncommented when prepare enviroment to boot from PXE.
#IPAPPEND 3 #IPAPPEND 3
@ -59,26 +59,26 @@ Boot an existing operating system. Press TAB to edit the disk and partition
number to boot. number to boot.
ENDTEXT ENDTEXT
MENU LABEL Boot existing OS MENU LABEL Boot existing OS
KERNEL chain.c32 COM32 chain.c32
APPEND hd0 0 APPEND hd0 0
# http://www.memtest.org/ # http://www.memtest.org/
LABEL memtest LABEL memtest
MENU LABEL Run Memtest86+ (RAM test) MENU LABEL Run Memtest86+ (RAM test)
KERNEL /boot/memtest LINUX /boot/memtest
# http://hdt-project.org/ # http://hdt-project.org/
LABEL hdt LABEL hdt
MENU LABEL Hardware Information (HDT) MENU LABEL Hardware Information (HDT)
KERNEL hdt.c32 COM32 hdt.c32
APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz
LABEL reboot LABEL reboot
MENU LABEL Reboot MENU LABEL Reboot
KERNEL reboot.c32 COM32 reboot.c32
LABEL poweroff LABEL poweroff
MENU LABEL Power Off MENU LABEL Power Off
KERNEL poweroff.com COMBOOT poweroff.com
ONTIMEOUT arch32 ONTIMEOUT arch32

View File

@ -37,7 +37,7 @@ Boot the Arch Linux live medium. It allows you to install Arch Linux or
perform system maintenance. perform system maintenance.
ENDTEXT ENDTEXT
MENU LABEL Boot Arch Linux MENU LABEL Boot Arch Linux
KERNEL /boot/vmlinuz26 LINUX /boot/vmlinuz26
APPEND initrd=/boot/archiso.img archisolabel=XXX rw_branch_size=75% locale=en_US.UTF-8 APPEND initrd=/boot/archiso.img archisolabel=XXX rw_branch_size=75% locale=en_US.UTF-8
# Next line should be uncommented when prepare enviroment to boot from PXE. # Next line should be uncommented when prepare enviroment to boot from PXE.
#IPAPPEND 3 #IPAPPEND 3
@ -48,26 +48,26 @@ Boot an existing operating system. Press TAB to edit the disk and partition
number to boot. number to boot.
ENDTEXT ENDTEXT
MENU LABEL Boot existing OS MENU LABEL Boot existing OS
KERNEL chain.c32 COM32 chain.c32
APPEND hd0 0 APPEND hd0 0
# http://www.memtest.org/ # http://www.memtest.org/
LABEL memtest LABEL memtest
MENU LABEL Run Memtest86+ (RAM test) MENU LABEL Run Memtest86+ (RAM test)
KERNEL /boot/memtest LINUX /boot/memtest
# http://hdt-project.org/ # http://hdt-project.org/
LABEL hdt LABEL hdt
MENU LABEL Hardware Information (HDT) MENU LABEL Hardware Information (HDT)
KERNEL hdt.c32 COM32 hdt.c32
APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz
LABEL reboot LABEL reboot
MENU LABEL Reboot MENU LABEL Reboot
KERNEL reboot.c32 COM32 reboot.c32
LABEL poweroff LABEL poweroff
MENU LABEL Power Off MENU LABEL Power Off
KERNEL poweroff.com COMBOOT poweroff.com
ONTIMEOUT arch ONTIMEOUT arch