improved generate_syslinux_cfg