Let’s go straight to the point! …
Your patch works here on a 12.1 UEFI dual-boot (actually triple boot if you count ELILO) with 2 SSDs and 2 ESPs.
I extended your original os-prober-UEFI-support.patch to ELILO boot loader detection (hope you don’t mind). You can see the new patch here: https://build.opensuse.org/package/view_file?file=os-prober-UEFI-support.patch&package=os-prober&project=home%3Aplease_try_again&rev=86ed45a1c45117ad7cc2f97ab8bbba33. I just created one more script that I called 10elilo in /usr/lib/os-probes/mounted/efi.
It seems to work. I’m planning to add an altermate os-prober script (that I will call 30_os-prober_alt) in updategrub. It actually already works and provides new features (such as sorting and skipping menu entries) on BIOS systems. I still need to write UEFI menu entries.
# **lsb_release -sd**
"openSUSE 12.1 (x86_64)"
# **uname -a**
Linux emma 3.1.10-1.16-desktop #1 SMP PREEMPT Wed Jun 27 05:21:40 UTC 2012 (d016078) x86_64 x86_64 x86_64 GNU/Linux
# **zypper info os-prober**
Loading repository data...
Reading installed packages...
Information for package os-prober:
Repository: PTA
Name: os-prober
Version: **1.56**-115.1
Arch: x86_64
Vendor: obs://build.opensuse.org/home:please_try_again
Installed: Yes
Status: up-to-date
Installed Size: 88.0 KiB
Summary: Probes disks on the system for installed operating systems
Description:
This package detects other OSes available on a system and outputs the results
in a generic machine-readable format. Support for new OSes and Linux
distributions can be added easily.
# **lspart**
Dev Boot Maj Min Bsize/Start Size Fs ID Ver Model/Mount
sdb 8 16 512 B 111.79 GiB gpt ata ADATA_SSD_S510_120GB
sdb1 8 17 2048 319488 vfat C12A7328-F81F-11D2-BA4B-00A0C93EC93B FAT32 /boot/efi
sdb2 8 18 321536 4208640 swap 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F 2
sdb3 8 19 4530176 83892224 ext4 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 1.0 /export/nfs4, /
sdb4 8 20 88422400 146018304 ext4 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 1.0 /home, /export/nfs4/home
sda 8 0 512 B 111.79 GiB gpt ata ADATA_SSD_S510_120GB
sda1 8 1 2048 204800 vfat C12A7328-F81F-11D2-BA4B-00A0C93EC93B FAT32
sda2 8 2 206848 262144 - E3C9E316-0B5C-4DB8-817D-F92DF00215AE -
sda3 8 3 468992 233971712 ntfs EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 -
# **os-prober**
No volume groups found
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sdb1@/efi/SuSE/elilo.efi:ELILO Boot Manager:ELILO:efi
I guess we need someone with a talent for organization to pass these os-prober patches upstream (I’m not the right person).