687
edits
Changes
→Create the image
hdiutil attach /tmp/macOS-12.0.1.dmg -nobrowse -noverify -mountpoint /Volumes/macOS-12.0.1
Then figure out the device (<code>diskutil list</code>) and format it again, yes, this seems to be required:
diskutil eraseDisk JHFS+ macOS-12.0.1 disk2