pastrychef
Moderator
- Joined
- May 29, 2013
- Messages
- 19,458
- Motherboard
- Mac Studio - Mac13,1
- CPU
- M1 Max
- Graphics
- 32 Core
- Mac
- Classic Mac
- Mobile Phone
Is this a Terminal input?
Yes.
Is this a Terminal input?
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.
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.
This code is run in Terminal, correct?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.
Yes.This code is run in Terminal, correct?
This is what I get in terminal:Yes.
This is what I get in terminal:
Can't open /Volumes/EFI/EFI/CLOVER/drivers64UEFI/apfs.efi: No such file or directory.