Here's POC #2 https://github.com/openSUSE/perl-bootloader/pull/109 This goes a bit further and tries to resolve raid/lvm and crypto setups.