Contribute
Register

[APFS] High Sierra 10.13.1 - No early logging

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,247
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Jul 25, 2016
Messages
4
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. Classic
  2. iMac
  3. LC
  4. Performa
  5. Power Mac
  6. PowerBook
  7. SE
Mobile Phone
  1. Android
  2. iOS
Yes, copy and then patch the apfs.efi file to your EFI partition with the code below:

Code:
cp /usr/standalone/i386/apfs.efi /Volumes/EFI/EFI/CLOVER/drivers64UEFI

perl -i -pe 's|\x00\x74\x07\xb8\xff\xff|\x00\x90\x90\xb8\xff\xff|sg' /Volumes/EFI/EFI/CLOVER/drivers64UEFI/apfs.efi

You could use it in a script as it seems it should work with future apfs versions.

Thank you, still working fine on apfs.efi from macOS High Sierra 10.13.4
 
Joined
Oct 1, 2012
Messages
135
Motherboard
Gigabyte Z270XP-SLI-F9d
CPU
i7-7700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
Patch per post #11 still works with 10.13.4 Supplemental Update.
 

Attachments

  • apfs.efi.zip
    270.5 KB · Views: 104

elfcake

Banned
Joined
Nov 26, 2012
Messages
1,744
Motherboard
Gigabyte Z490 D
CPU
i7-10700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Yes, copy and then patch the apfs.efi file to your EFI partition with the code below:

Code:
cp /usr/standalone/i386/apfs.efi /Volumes/EFI/EFI/CLOVER/drivers64UEFI

perl -i -pe 's|\x00\x74\x07\xb8\xff\xff|\x00\x90\x90\xb8\xff\xff|sg' /Volumes/EFI/EFI/CLOVER/drivers64UEFI/apfs.efi

You could use it in a script as it seems it should work with future apfs versions.

EDIT:

I've attached a script below that can be run after an update. It will mount the EFI partition at disk0s1 if necessary then copy and patch the local apfs.efi file to drivers64UEFI if it's timestamp is more recent. It will indicate success or otherwise then unmount the EFI partition. It's quick and easy to do this if you also need to open the Terminal and rebuild your kext cache after an update.
This code is run in Terminal, correct?
 

elfcake

Banned
Joined
Nov 26, 2012
Messages
1,744
Motherboard
Gigabyte Z490 D
CPU
i7-10700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,247
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS

elfcake

Banned
Joined
Nov 26, 2012
Messages
1,744
Motherboard
Gigabyte Z490 D
CPU
i7-10700K
Graphics
RX 580
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,247
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Yes, indeed. I did forget. And for some reason, the EFI is on disk 6s1! Very confusing

With multiple drives, BSD names assigned to such devices are non-deterministic, and in fact may vary from one boot to the next.
So having your boot/EFI/Clover drive at disk6 is not surprising at all.
 
Top