Cannot install Ventura during recovery on iMac M1 2021
I have erased my Mac M1 prior to selling it.
When it restarts in recovery mode, it gives the option of reinstalling Ventura and eventually fails saying that the operation cannot be completed due to an error whilst installing..
I have tried everything I can think of. First Aid on drive hasn't detected any issues, it is connected via Ethernet cable and not Wifi, etc.
I need to get this done quickly as I already have a buyer, and I've googled everything I can think of but all solutions I've read have failed to date. I have plugged the keyboard directing into one of the USB-C ports too, although I don't know if that works and if it needs Bluetooth connectivity, but I can't imagine the keyboard would be an issue due to the fact the process runs for around 20-30 minutes, gets to a certain stage and the the time remaining drops suddenly to 10 minutes and the error appears shortly after.
iMac 21.5″, macOS 10.14