add lilo and syslinux support