iMac18,3: iMac (Retina 5K, 27-inch, 2017) - OCLP fails on creating boot flash drive

Using Kingston DataTraveler Max 256GB Flash Drive (900MB/s read/Write verified)

Legacy patcher 1.5.0

Try to create installer with Sonoma

The installer is stuck at 308.47MB and eventually fails with the following message: <How do I fix this?>

Failed to create macOS installer

Output: Started erase on disk3

Unmounting disk

Creating the partition map

Waiting for partitions to activate

Formatting disk3s2 as Mac OS Extended with name OCLP-Installer

Initialized /dev/rdisk3s2 as a 238 GB case-insensitive HFS Plus volume

Mounting disk

Finished erase on disk3

Copying essential files...

Error: Erasing disk: 0%... 10%... 20%... 30%... 100%

Failed to write .IAPhysicalMedia cookie to disk. Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “.IAPhysicalMedia” in the folder “Install macOS Sonoma”." UserInfo={NSFilePath=/Volumes/Install macOS Sonoma/.IAPhysicalMedia, NSUserStringVariant=Folder, NSUnderlyingError=0x6000011b9680 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}

The bless of the installer disk failed.

submitted by /u/IllCartoonist7836
[link] [comments]