Problems installing F27 on a Macbook (installs okay, won't boot)

asked 2017-11-06 08:56:36 -0500

larsks gravatar image

updated 2017-11-26 18:08:41 -0500

Update 2017-11-26 Now for Fedora 27!

I have a Macbook Pro on which I am trying to install Fedora 26. The install boots and runs without a problem, but once installed the system won't boot: the Mac simply doesn't recognize the hard drive as a bootable device.

The installer creates what looks like an appropriate EFI + HFS partition.

I am trying to install only Fedora (that is, no MacOS; this is a new hard drive replacing one that had failed) from USB media, created by downloading the install image and writing it to the flash drive with dd. I am letting Fedora create the partitions, and I get an HFS+EFI mounted at /boot/efi, an ext4 partition mounted at /boot, and an LVM VG with everything else. When the system boots, it simply doesn't recognize the hard drive (I get the flashing folder with question mark).

There are some suggestions here and there about creating an MBR-style partition table instead of GPT, but (a) these are for older versions of Fedora and (b) they seem to require passing 'nogpt' on the kernel command line, which is problematic because while I can access and interact with the grub menu, the "control" key doesn't work so I can't actually execute anything after making changes to the kernel command line.

In response to @cmurf:

efibootmgr -v says:

BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0000,0080
Boot0000* Fedora    HD(1,GPT,2c1c938c-9fd7-48a4-b0c7-f73a2f2fdc5a,0x800,0x64000)/File(\EFI\fedora\shimx64.efi)
Boot0080* Mac OS X  PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(3,GPT,1aa1e829-13b7-4c37-b4be-b798f75dad4d,0x3a2500e8,0x135f20)
Boot0081* Mac OS X  PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(3,GPT,1aa1e829-13b7-4c37-b4be-b798f75dad4d,0x3a2500e8,0x135f20)
Boot0082*   PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(3,GPT,1aa1e829-13b7-4c37-b4be-b798f75dad4d,0x3a2500e8,0x135f20)
BootFFFF*   PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,00003353-0ee0-0000-5767-0000ca480000,0x64028,0x3a1ec0c0)/File(\System\Library\CoreServices\boot.efi)

The contents of /var/log/anaconda are available here.

The contents of /boot/efi/EFI/fedora/grub.cfg are here.

edit retag flag offensive close merge delete

Comments

Need more information. Are you trying to install only Fedora 26 or along with macOS? How did you resize the macOS volume to make room for Fedora? What kind of install media (usb or dvd)? How was it created? Did you use automatic or manual partitioning? What partitions did you create? When you boot, what does happen? (Rather than stating what doesn't happen.)

cmurf gravatar imagecmurf ( 2017-11-06 09:48:44 -0500 )edit

I am trying to install only Fedora from USB media, created by downloading the install image and writing it to the flash drive with dd. The original hard drive died, so this is a replacement drive with no previous OS. I am letting Fedora create the partitions, and I get an HFS+EFI mounted at /boot/efi, an ext4 partition mounted at /boot, and an LVM VG with everything else. When the system boots, it simply doesn't recognize the hard drive (I get the flashing folder with question mark).

larsks gravatar imagelarsks ( 2017-11-06 21:40:33 -0500 )edit

Boot the install media and get to a shell. Post output of efibootmgr -v. Then mount the root volume and locate /var/logs/anaconda and post the *.log files somewhere as well. Both NVRAM and the HFS+ EFI volume have a hint for the firmware to find the bootloader. Yet this isn't working.

cmurf gravatar imagecmurf ( 2017-11-07 08:36:14 -0500 )edit

@cmurf updated with the information you requested.

larsks gravatar imagelarsks ( 2017-11-26 18:09:07 -0500 )edit

@cmurf any additional thoughts?

larsks gravatar imagelarsks ( 2018-02-04 12:30:24 -0500 )edit