prepare cp_grub_efi for debian and fedora