Reinstall macOS to Mac without existing macOS, admin account & startup disk
Hi,
I'm trying to reinstall macOS to a seriously messed up MacBook Pro 13" 2018 model. Apparently, problems with the computer started initially when update from Catalina to Big Sur failed. After the update the computer would not start and recovery attempts failed. The computer's disk has since been erased and all user accounts have been lost. The computer shows question mark folder when it's started.
Here's what I've tried so far:
- Started Mac to startup manager (press ⌥ in startup). No disks are showing, only option is internet recovery, which fails.
- Started Mac in recovery mode and ran First Aid on the disk, which says that the volume appears to be OK. In addition to internal Apple SSD, there is a macOS Base System Disk Image.
- In recovery mode terminal, I've ran following commands
$ bless --info
$ bless --getBoot
which both return
Can't access "efi-boot-device" NVRAM variable.
- Reset NVRAM and SMC, which had no effect.
- Tried to install macOS from bootable USB memory (created following these instructions https://support.apple.com/en-us/HT201372), which fails because external boot is disallowed in Startup Security Utility. I cannot change the setting because the computer has no administrator account.
- Tried to start into single user mode (⌘-S), to delete /var/db/.AppleSetupDone file in order to run Mac setup again and get new admin account. However, logging into single user mode fails, apparently because there is no startup disk (based on this: https://discussions.apple.com/thread/8448671). It just shows question mark folder even if I press the ⌘-S key combination in startup.
- Tried to set startup volume in recovery mode terminal by running command
$ bless -mount /Volumes/Macintosh\ HD/ -setBoot
which returns the following:
Can't load /Volumes/Machintosh HD/usr/standalone/i386/apfs.efi
Could not load apfs.efi data from /Volumes/Machintosh HD/usr/standalone/i386/apfs.efi
Any ideas what I should do? I'm starting to be out of ideas. I'm guessing that the first thing I need is to get startup disk working and create an administrator account. However, that seems to be easier said than done
MacBook Pro with Touch Bar