Michael Vallance wrote:
Thank you. Yes, erasing the HDD was necessary, then i could choose install OS X. Success.
The iMac is painfully slow, with spinning beachball on every action. I cannot upgrade RAM on the 2015 model so decided to install its original OS X.
Glad you can now install OS X El Capitan!
However, have you considered using an external SSD as your startup disk? While the hard disk found in your Mac is perfectly suited to light tasks, such as email and web browsing, but for more advanced tasks, and for users who want the maximum performance from their Mac, this hard drive does have its limitations. However, using the external SSD as your startup disk to run macOS and access your data will make your Mac 10 to 40 times faster for storage, and in turn, make your entire Mac much faster and even better. Plus, you could upgrade to macOS Monterey, the latest version of macOS, and have excellent performance.
To learn more, see: Use an external SSD as your startup disk … - Apple Community.
Jack