MacOS Yosemite (I know it's very ancient!), in my early 2015 Macbook Air was getting unresponsive within 10-20 seconds after every boot, so it had become literally useless. I had somehow recovered my data from macOS installed on an external USB drive.
I completely erased my early 2015 Macbook Air's internal disk, thinking of doing a fresh installation before selling off the device, just like I would on any other PC. But now the device won't even power up, so that was a mistake.
From what I understand from https://apple.stackexchange.com/a/451793/547716, disk0s1 is critical to start the MacBook.
I could have sold the MacBook to an electronics recycling company for $135 USD (equivalent in INR) had it been booting. Everything else worked flawlessly. Now I would only get $2 USD (lol!).
Is there any way I can reinstall the operating system on the internal disk?
Thank you in advance.