boot: vmlinuz initrd=initrd.gz
Take the following simple configuration:
DEFAULT mykernel APPEND root=/dev/sda2Note that the APPEND line here is a global directive, as it is not part of any LABEL entry.
For Syslinux 4.xx and older, the above simple configuration works as (it used to be) expected.
Since version 5.00, the result for the above sample configuration is that the root=/dev/sda2 argument is not parsed, which will lead to unexpected results, most probably with some kind of failure to boot the OS. In other words, the global APPEND is ignored by the DEFAULT directive.
For the above example, the configuration could be re-written as:
DEFAULT mykernel root=/dev/sda2or even better as:
DEFAULT mylabel LABEL mylabel KERNEL mykernel APPEND root=/dev/sda2which "moves" the global APPEND line into the new LABEL entry.
Generally speaking, it is recommended to have at least one LABEL entry.
Shouldn't it be something like this?default vmlinuz append initrd=initrd.gz
default debi
label debi kernel vmlinuz
append initrd=initrd.gz