Description of problem: I use fedora grub to generate the grub configuration; when processing gentoo grub2-mkconfig only adds the kernel command (linuxefi /vmlinuz-<version>-gentoo), without the initramfs (initrdefi /initramfs-genkernel-<genkernel_arch>-<kernel_version>-gentoo). the kernel is compiled with make and copied to /boot with make install, while the initramfs is generated by genkernel How reproducible: always Additional info: I investigated and found out that the script finding the kernel is /usr/libexec/linux-boot-probes/mounted/90fallback, and it also should handle the initramfs,. On line 36, searching the initramfs file, it assumes gentoo's kernels are in the form "kernel...", but my kernel (and the default 'make install' result) is in the form "vmlinuz..."; the correct initramfs is not even detected by any of the other cases, because they all assume that the initramfs either begins with initrd or ends with .img, and none is true in my case. To solve the problem i added a line initrdname5=$(echo "$kernfile" | sed "s/vmlinu[zx]/initramfs\*/") and then in (the old) line 38 i added the new initrdname5 variable: for initrd in $(eval ls "$initrdname" "$initrdname1" "$initrdname2" "$initrdname3" "$initrdname4" "$initrdname5" 2>/dev/null); do this makes a working grub.cfg which includes the gentoo's initrdefi line
Created attachment 1027565 [details] the modified script
os-prober-1.68-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-1441631cfe
os-prober-1.68-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-2dae926f73
os-prober-1.68-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update os-prober' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-2dae926f73
os-prober-1.68-1.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update os-prober' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-1441631cfe
os-prober-1.68-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update os-prober' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-6bfd7075b4
os-prober-1.68-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
os-prober-1.68-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
os-prober-1.68-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.