syslinux is apperently not able to read files with
names longer than 8 characters.
LABEL install
MENU label ^Install a new @NAME@ system
MENU default
- KERNEL vmlinuz-@KERNEL@
- APPEND initrd=initrd-@KERNEL@.img root=CDLABEL=@NAME@_@VERSION@ rootfstype=iso9660 mode=install quiet ro
+ KERNEL vmlinuz
+ APPEND initrd=initrd root=CDLABEL=@NAME@_@VERSION@ rootfstype=iso9660 mode=install quiet ro
label rescue
MENU label ^Rescue installed @NAME@ system
- KERNEL vmlinuz-@KERNEL@
- APPEND initrd=initrd-@KERNEL@.img root=CDLABEL=@NAME@_@VERSION@ rootfstype=iso9660 mode=rescue quiet ro
+ KERNEL vmlinuz
+ APPEND initrd=initrd root=CDLABEL=@NAME@_@VERSION@ rootfstype=iso9660 mode=rescue quiet ro
label local
MENU label Boot from ^local drive
LOCALBOOT 0xffff
mkdir -p ${dest} 2>/dev/null
local file
- for file in vmlinuz-${KERNEL_RELEASE} initrd-${KERNEL_RELEASE}.img; do
- cp -f /boot/${file} ${dest}/${file}
+ for file in vmlinuz initrd; do
+ cp -f /boot/${file}-${KERNEL_RELEASE}* ${dest}/${file}
done
}