Hide Forgot
Description of problem: when trying to use grub2-efi it needs functions provided by the grub2 rpm. Version-Release number of selected component (if applicable): grub2-efi-1.99-10.fc16.x86_64 How reproducible: always Steps to Reproduce: 1. Install grub2-efi 2. do a grub2-efi-mkconfig 3. Actual results: grub2-efi-mkcpnfig fails due to missing grub2-probe and grub2-mkrelpath Expected results: either grub2-efi provides grub2-probe and grub2-mkrelpath or the grub2-efi RPM adds a dependency for grub2 Additional info: [root@develbox grub2-efi]# grub2-efi-mkconfig -o grub.cfg Generating grub.cfg ... /usr/lib/grub/grub-mkconfig_lib: line 220: /sbin/grub2-probe: No such file or directory Found linux image: /boot/vmlinuz-3.1.0-0.rc10.git0.1.fc16.x86_64 /usr/lib/grub/grub-mkconfig_lib: line 47: /usr/bin/grub2-mkrelpath: No such file or directory BTW there is a grub2-efi-probe in /sbin but no grub2-efi-mkrelpath
Yes, the grub2 and grub2-efi packages really do collide, but at build time grub2 is installed on top of grub2-efi and the grub2-efi package will thus incorrectly contain the following files from grub2: /etc/bash_completion.d/grub (no bash completion for grub2-efi commands) /etc/grub.d/00_header (incorrect -efi transform of command names, used for /boot/grub2*/locale references) /usr/lib/grub/grub-mkconfig_lib (incorrect -efi transform of names for pkgdatadir, grub-probe and grub-mkrelpath, is sourced in /etc/grub.d/* and /sbin/grub2-efi-mkconfig) That is one of the reasons f16 uses grub2 for BIOS and grub-efi for EFI.
I think its more of a bug as there is /sbin/grub2-efi-probe provided with grub2-efi package, and replacing: transform="s&^&&;s,grub,grub2," with transform="s&^&&;s,grub,grub2-efi," inside /usr/lib/grub/grub-mkconfig_lib resolves the issue
The right fix for this is to use the same transform for both efi and non-efi. The tools are exactly the same.
This is solved with the packaging scheme used in the latest koji builds.
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.