008853
Index: os-prober/linux-boot-probes/mounted/common/90fallback
008853
===================================================================
008853
--- os-prober.orig/linux-boot-probes/mounted/common/90fallback
008853
+++ os-prober/linux-boot-probes/mounted/common/90fallback
008853
@@ -33,7 +33,7 @@ for kernpat in /vmlinuz /vmlinux /boot/v
008853
 			# Dracut initramfses are named differently again.
008853
 			initrdname3=$(echo "$kernfile" | sed "s/vmlinu[zx]/initramfs\*/" | sed 's/$/.img/')
008853
 			# And Gentoo's also
008853
-			initrdname4=$(echo "$kernfile" | sed "s/kernel/initramfs\*/")
008853
+			initrdname4=$(echo "$kernfile" | sed "s/kernel\|vmlinu[zx]/initramfs\*/")
008853
 			foundinitrd=0
008853
 			for initrd in $(eval ls "$initrdname" "$initrdname1" "$initrdname2" "$initrdname3" "$initrdname4" 2>/dev/null); do
008853
 				if [ "$initrd" != "$kernfile" ] && [ -f "$initrd" ] && [ ! -L "$initrd" ]; then