Bug 1115172

Summary: On Macs, grub2-install places core.efi in the wrong location
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bcl, lkundrak, mads, pjones
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: 2014-07-01 19:52:51 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 2014-07-01 18:57:15 UTC
Description of problem:On Macs, using grub2-install properly creates a core.img, and tries to copy it as boot.efi onto the ESP but tries to put it in the wrong directory.


Version-Release number of selected component (if applicable):
grub2-efi-2.02-0.4.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install grub2-efi-modules.
2. grub2-install

Actual results:
From debug output:
grub2-install: info: copying `/boot/grub2/x86_64-efi/core.efi' -> `/boot/efi/EFI/grub/System/Library/CoreServices/boot.efi'.

As a result the Fedora HFS+ faux EFI System partition isn't recognized by the Apple firmware as a valid boot disk.

Expected results:

/boot/efi/EFI/grub/System/Library/CoreServices/boot.efi
Should be:
/boot/efi/System/Library/CoreServices/boot.efi

Additional info:
When moved to the correct location, the Fedora HFS+ "ESP" is displayed as a bootable volume by the Apple firmware, choosing it brings up the GRUB boot manager menu as expected.

Comment 1 Chris Murphy 2014-07-01 19:52:51 UTC

*** This bug has been marked as a duplicate of bug 1114808 ***