2017 imac 27 trying to download sonoma via opencore. Keep getting error message when i try toinstall to the usb drive.

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 114 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, Operation not permitted"}}

The bless of the installer disk failed.

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