Soldato
What error(s) did it show when you attempted to erase the entire disk (using Disk Utility in Recovery)?In recovery mode I have tried erasing the disk but it doesn't work.
As said, if you can make a MacOS USB installer then do so as it's quite easy to bodge the drive.This is what diskutil shows. I just want to be able to format the drive and reinstall the OS. Any ideas ?
sudo diskutil unmountDisk force /dev/disk0
sudo diskutil erasedisk apfs "Drive Name Here" gpt /dev/disk0
sudo diskutil unmountDisk force /dev/disk0
sudo diskutil erasedisk JHFS+ "Drive Name Here" gpt /dev/disk0
What model of iMac (assuming that from pics) have you got?
And what's the current MacOS version installed? Is it 12 Monterey?
I agree, Mac's can be a royal pain especially when it's drive related as you haven't got physical access to the drive.
What error(s) did it show when you attempted to erase the entire disk (using Disk Utility in Recovery)?
As said, if you can make a MacOS USB installer then do so as it's quite easy to bodge the drive.
But assuming you're using MacOS 10.12/10.13 (Sierra or High Sierra)+ and disk0 (double check with diskutil list beforehand) is your SSD/system drive, then try -
Code:sudo diskutil unmountDisk force /dev/disk0 sudo diskutil erasedisk apfs "Drive Name Here" gpt /dev/disk0
Alternatively or MacOS is below 10.12 then -
Code:sudo diskutil unmountDisk force /dev/disk0 sudo diskutil erasedisk JHFS+ "Drive Name Here" gpt /dev/disk0
Bodged partition table, look at the gpt command, or an issue with the T1/T2 firmware, can be revived but need another Mac, are other possibilities but i haven't personally experienced those so will require a bit of Googling.
And Apple Stack Exchange and/or the Apple community forum are worth a look as someone may be able to shed some light on the 69614 error.
If you've got access to another (working) Mac then -....would you happen to know?
Try deleting the containers first (iirc you can't do the entire disk with deleteVolume so you'll have to enumerate through each container with /disk0s1, /disk0s2), eg -First command successful, second says "You cannot manually format an existing APFS Container disk"
sudo diskutil apfs deleteVolume /dev/disk0s1