Reinstall MacOs Yosemite (or higher) on Imac 2011
I want to set my Imac back to factory settings. So I erased the harddrive and wanted to reinstall MacOs via the helpprogram. However this fails:
Via Cmd + R and via internet Cmd + option+R. both give an error. So alternative option would be to create a bootable usb device with Mac Os. So I used a newer Macbook to download the Yosemite Os (.dmg). However I cannot execute this on the (newer) macbook on the usb drive, as it thinks I want to install the Yosemite Os on the newer macbook lol. So I tried to download the MacOs High Sierra from the appstore. But also this is not allowed on the macbook I use to make a bootable usb stick.
Do you guys have any idea what I can do to make a bootable USB with Yosemite OS (or High Sierra) for my Imac 2011?
Thanks in advance
iMac 27″, OS X 10.10