Try to create a bootable USB
I try to create a bootle USB for my older iMac. I erased the HDD of that iMac and it was on EL capitain OSX. I downloaded the OSX from apple and found a lot of useful tutorials to do it. But the problem is that all tutorials explain that i have to find the osx app after opening the install file (and stop the installation). But my current macbook is on Catalina so I don't get that far.
Using the InstallESD.dmg doesn't work for me because I can't restore it thru disk utility, I get a "Could not validate sizes – Operation not permitted. The operation couldn’t be completed. (OSStatus error 1.)" tried some tutorials to bypass this but with no succes. ;-( I just need a bootable USB. Can Anyone help me in the right direction or has a bootable image I can download?
iMac 27″, macOS 10.14