[image|3286271]
***My iMac has been totally wiped, it has no Administrator account and I am unable to change the security settings so I can boot from an external disk.***
1. It will not boot in to single user mode using command + S
2. I can get into Disk Utility to erase the hard drive and use terminal.
3. I have tried to install from the internet using option-shift-command-R and it starts to install Catalina but fails and says it has encountered an error.
4. I took the iMac to an Apple Reseller Store as they would have better access to Apple Servers, they tried to install OS Sonoma over the internet but it came back with an error.
5. Tried deleting AppleSetupDone in Disk Utility/Terminal but it says no such file.
Any help would be greatly appreciated.