Bug 903937
| Summary: | Mac OS X GRUB entries don't work | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> |
| Component: | grub2 | Assignee: | Peter Jones <pjones> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | bcl, dcantrell, dennis, mads, pjones, spital |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-10 19:02:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Chris Murphy
2013-01-25 05:17:47 UTC
Regression: After running grub2-install, the necessary kernel modules are put into /boot/grub2/x86_64-efi. The problem still occurs. The grubx64.efi is looking on the ESP in /EFI/fedora/x86_64-efi folder for these modules, not in /boot/grub2 which is by default where grub2-install places them. The main problem must be that Fedora on efi by design doesn't load modules dynamically - especially not from /boot. The easy solution would be to make sure that the necessary modules are included in the signed efi. Which modules are needed - and how big are they? Do it work correctly if the right modules are available? 1. xnu.mod and xnu_uuid.mod, combined are 32KB. 2. grubx64.efi's prefix is set to its location, e.g. ESP//EFI/fedora. It's not set to ESP//EFI/fedora/grub2. grub2-install only installs modules to $prefix/grub2 so I can't use grub2-install to make the modules available. I have to manually copy them to ESP//EFI/fedora/x86_64-efi. If I do that, this bug isn't triggered. However the bug 904668 is triggered. This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 *** This bug has been marked as a duplicate of bug 893179 *** http://forums.fedoraforum.org/archive/index.php/t-288002.html bottom worked Well at the moment GRUB upstream doesn't care about this problem enough to fix it. You could edit /etc/default/grub and add GRUB_DISABLE_OS_PROBER=true, then edit /etc/grub.d/40_custom to add an entry for OS X that includes: set root=(hd1,gpt3) chainloader (hd1,gpt3)/System/Library/CoreServices/boot.efi And then run grub2-mkconfig to update the grub.cfg with these changes. |