Accidentally erased startup disk (Macbook Air 2015) while trying to erase free space
I was following instructions from a post on this forum and really messed up. I know my data and files are all gone and I'm pretty devastated about that but mostly I need to get the thing usable again. It worked perfectly before the snafu.
Here is the situation: I cannot reinstall the OS (Yosemite is what it brings up when trying to reinstall, but I think I was actually running Big Sur before the wipe... not 100% sure though) because the servers no longer run for these older OS/older Macs. So I have to use a bootable disk (I think is the right term).
I have tried some things, but pretty sure I did not get the correct download yet and have no idea what to do with it even if I get the correct one. I tried following procedures to partition, set up a disk as GUID, etc. But I really don't know if I even had the correct thing.
So, if someone knows and could explain to me as simply as possible how to get any operating system going on this Mac, that would be really helpful. It is my primary computer right now unfortunately, just can't buy a new one at the moment.
MacBook Air 13″, macOS 12.7