From 3d30349dee4f30d542385f92eecdfc1c3b20036a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sun, 17 Oct 2010 19:03:21 +0200 Subject: 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 --- archiso2dual/syslinux.cfg | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'archiso2dual') diff --git a/archiso2dual/syslinux.cfg b/archiso2dual/syslinux.cfg index e7f9bf6..b53b883 100644 --- a/archiso2dual/syslinux.cfg +++ b/archiso2dual/syslinux.cfg @@ -37,7 +37,7 @@ Boot the Arch Linux (i686) live medium. It allows you to install Arch Linux or perform system maintenance. ENDTEXT 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 # Next line should be uncommented when prepare enviroment to boot from PXE. #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. ENDTEXT 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 # Next line should be uncommented when prepare enviroment to boot from PXE. #IPAPPEND 3 @@ -59,26 +59,26 @@ Boot an existing operating system. Press TAB to edit the disk and partition number to boot. ENDTEXT MENU LABEL Boot existing OS -KERNEL chain.c32 +COM32 chain.c32 APPEND hd0 0 # http://www.memtest.org/ LABEL memtest MENU LABEL Run Memtest86+ (RAM test) -KERNEL /boot/memtest +LINUX /boot/memtest # http://hdt-project.org/ LABEL hdt MENU LABEL Hardware Information (HDT) -KERNEL hdt.c32 +COM32 hdt.c32 APPEND modules_alias=hdt/modalias.gz pciids=hdt/pciids.gz LABEL reboot MENU LABEL Reboot -KERNEL reboot.c32 +COM32 reboot.c32 LABEL poweroff MENU LABEL Power Off -KERNEL poweroff.com +COMBOOT poweroff.com ONTIMEOUT arch32 -- cgit v1.2.2