improve to use the same syntax for extlinux and grub2-common