Create bootable installer for High Sierra from M2 Macbook running Sonoma
I have an old 2009 iMac that I erased and intended to restore. When I reboot in recovery mode to reinstall High Sierra, I get the dreaded "cannot contact servers" message. I have tried various fixes, such as formatting the drive differently and resetting the clock to UTC, with no luck. I am unable to reboot in internet recovery mode - I have tried multiple times. So on to creating a bootable installer of High Sierra using my 2023 M2 macbook. I have followed the instrutions found here: Create a bootable installer - Apple Support only to have the terminal code error out. It seems I cannot make a bootable installer of an OS that my macbook cannot run even though I have no intension to using it on this macbook.
Are there any other suggestions as to how I can get the 2009 iMac up and running again?
TYIA
Earlier Mac models