Re: EFI boot from software raid1
It is almost (but not quite) automatic.
Okay, I don't use RAID, and I have no way of testing this -- well, I suppose that I could remove a disk.
I have two hard drives. I created an EFI partition on each drive.
I am only using the EFI partition on "/dev/sda". But I occasionally copy the content of that to the EFI partition on "/dev/sdb" (using "rsync").
Looking at the EFI partition on "/dev/sda". In the directory "/EFI/boot" (relative to the EFI partition), I see two files. They are "bootx64.efi" and "fallback.efi". They were actually put there by openSUSE install (but not if Windows is already using that directory). And they are maintained by opensuse updates. Those two files have a Jul 22 date, due to a recent update.
The file "bootx64.efi" is actually identical to "shim.efi" that is in the "/EFI/opensuse" directory. And the file "fallback.efi" comes from "/usr/lib64/efi".
The "bootx64.efi" in that "/EFI/boot" directory is supposed to be called by the firmware as either a boot choice from the BIOS boot menu, or as a fallback if all else fails. And if it finds "fallback.efi" it is supposed to call that. In turn, "fallback.efi" is supposed to look at other directories in the EFI partition, and if it finds a file "boot.csv" it is supposed to use that to recreate boot entries.
I've actually seen that work with "/dev/sda", but I haven't tested on "/boot/sdb".
If "/dev/sda" fails, then my assumption is that the firmware (BIOS) should try to boot "/dev/sdb", which should find that "bootx64.efi" and "fallback.efi" and recover.
Hmm, it does occur to me that the fallback support may only be installed if you install "secure-boot" support.
openSUSE Leap 15.1; KDE Plasma 5;
testing Leap 15.2Alpha
Bookmarks