Help reinstalling macOS
Hi everyone,
I tried to format my old MacBook air (later 2013) by rebooting into recovery mode > disk utility
I erased the main MacOS partition and I think where I made a mistake is that I also erase the MacOS recovery partition
So my Macbook won't boot up and the internet recovery gives me a -2001f error message.
So I figured the only way to fix this would be to create a bootable flash drive with a MacOS installer.
To make things a little bit more complicated, since my Macbook Air is not working I'm using a PC to create the bootable flash drive.
With a PC I can't just download MacOS High Sierra from the appstore so I had to find it online.
I managed to download MacOS High Sierra but for some reason in an .iso file and not a .dmg.
I used TransMAC to create a MacOS bootable USB installer then installed (following these steps https://www.winytips.com/mac-os-usb-bootable-installer-windows-pc/)
The USB installer was successfully created, I connect it to my mac and hold down the key OPTION to boot on the USB drive. Install MacOS Sierra appears on the screen, but when I click on reinstall MacOS High Sierra in the MacOS Utilities to said that the installation file was damaged?
Then I proceeded to go to diskpart, highlighted the SSD and clicked on restore which seemed to work as now under my SSD I can a partition called OS X Base System
I reboot my laptop, this time normally, not booting on the USB installer and yeah I get the Apple logo (before I would get the folder icon with a question mark).
However, MacOS doesn't boot. It's taking me to MacOS utilisies.
I thought I just needed to reinstall MacOS, so I click on reinstall Mac OS, but when I'm asked to select the disk where I want to install MacOS, my disk is greyed out and when I click on my disk it says "This disk is locked"
So yeah I'm stuck there. Cannot reinstall MacOS. Online I see people saying to go to Diskpart and erase the partition but erase is greyed out for me
I ran out of ideas at this point.
Would someone know how to unlock my disk so I could reinstall MacOS?
Many thanks
MacBook Air