Jump to content

[GUIDE] Repair macOS Catalina EFI partition


1 post in this topic

Recommended Posts

Repair macOS Catalina EFI partition when from Disk Utility it is not possible to complete First Aid on the disk on which that partition is located with the message "The partition map needs to be repaired because there is a problem with the EFI partition's file system (-69766)".

 

Sometimes, after doing something on the EFI partition (reinstalling Clover or modifying a file in the EFI / Clover folder) when doing Firs Aid function of Disk Utility on that partition you get the error message "The partition map must be repaired because there is a problem with the file system of the EFI partition (-69766) ". 

 

efi1.png.9862dad47eb9b5441684071621692f0a.png

 

Apparently the system works fine like this but, if you want to correct this error, there is a drastic option (reinstall macOS) and another simple and fast one: repair the EFI partition from Terminal.

The commands to use are:

 

sudo diskutil list> to find out the disk on which the EFI partition to be repaired is [example: / disk3].

diskutil unmountDisk / dev / disk3> to unmount the EFI partition.

sudo gpt remove -i 1 disk3> to delete the partition.

sudo gpt add -b 40 -i 1 -s 409600 -t C12A7328-F81F-11D2-BA4B-00A0C93EC93B disk3> to recreate the partition.

diskutil unmountDisk / dev / disk3> to unmount the EFI partition again if it appears mounted on the Desktop.

diskutil repairVolume disk3s1> to repair the EFI partition.

sudo diskutil mountDisk / dev / disk3s1> to mount the partition and review its contents.

 

I've tried it several times and every time the First Aid error has disappeared and surprisingly the contents of the Clover EFI folder are still there.

 

efi2.png.79c98f24b3b42643957e84b140a213b8.png

Edited by miliuco
×
×
  • Create New...