I've hacked a proof of concept: https://github.com/openSUSE/perl-bootloader/pull/105 This will install grub even if grub_installdevice is missing or has some invalid device name. It certainly solves not all issues (e.g. grub_installdevice can have more than one device entry) - but shows the direction we could go.