corpnewt/MountEFI

There is no EFI partition associated with disk

Opened this issue · 1 comments

I successfully installation mac os Ventura and booted. Now I'm trying to copy the EFI folder, I can mount the USB but not the disk on witch I installed mac, I go this error.

I have this problem also. MountEFI does not detect an EFI partition on the installed system volume because ... it isn't there. I can see this by comparing diskutil list:

From a real mac:
Screenshot 2023-11-05 at 01 35 29

From a hackintosh:
Screenshot 2023-11-05 at 01 35 04

I had a quick look and found other posts about this problem when the user partitioned the disk from the MacOS Installer environment's Disk Utility. The dortiana guide implied pre-partitioning your disk with Disk Utility [on a real mac] - which wasn't possible for me as I didn't have a USB-C nvme enclosure with which to mount the boot drive, and so I partitioned in the installer. Which is reasonable, but I did wonder if I'd have a problem like this and it looks like I do.

This may be a bug/feature of newer MacOS installers than existed when the guide was written.

The free space on my drive is suspiciously EFI-sized, so I might try and create an EFI partition with newfs_hfs -v EFI /dev/diskXXXX, though I do not yet know if an EFI partition must exist before other partitions, if so I suspect a more serious disk operation would be needed. I will figure it out and report my findings (or give up and permanently use a USB to boot).

UPDATE: This didn't work, and I opted to just copy my EFI partition I'd built to boot MacOS onto a smaller USB stick that is permanently connected to the computer. To avoid this in future it is best to format the drive beforehand in MacOS' version of Disk Utility and avoid the installer Disk Utility which for myself and a number of other people does not seem to create the EFI partition for whatever reason.