I have a early 2015 Retina MacBook Pro that was dual-booting Big Sur on its first 50GB partition and Monterey on its 2nd 200GB partition
A concern started when Disk Utility wouldn’t let me delete my 50GB partition and I read a workaround was to use diskutil
on the command line so I did that and sure enough it allowed me to both delete the partition and reformat it to exFAT. Everything seemed fine for a few days and then one morning, I got the dreaded icon on startup that it couldn’t find the system partition.
The Recovery partition is lost and Internet Recovery booted and threw an error -1007F after entering my WiFi password. I found a suggestion to reset the PRAM and Internet Recovery connected over WiFi and the progress bar just gets stuck at around 40% and the ETA keeps going up and up.
So I gave up on that and went ahead and booted macOS off an external and installed Monterey to the 50GB partition and used Time Machine to restore enough to get by (partition is 25% the size so I was only able to restore so much!)
Here's what I see in diskutil right now:
% diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 50.2 GB disk0s2
(free space) 785.0 MB -
3: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF 199.8 GB disk0s3
I can't dump the GPT for some reason (or do anything with /dev/disk0 as an admin user which seems suspect):
% sudo gpt -r show disk0
gpt show: unable to open device 'disk0': Operation not permitted
What’s interesting is when I run EaseUS Data Recovery - it can see the individual partitions (macOS and macOS Data in particular) so it doesn't seem like a 100% lost cause:
Haven't purchased a license as I'm hoping rebuilding the partition table to point back to the containers might help.
Can anyone please advise how to boot back into my 200GB APFS container?
The plan is to recover data excluded from my Time Machine backup (lesson learned), nuke it, and extend the 50GB partition and call it a day!
gpt
command because System Integrity Protection (SIP) is enabled. SIP has existed since the release of OS X 10.11 (El Capitan) in 2015. You can use thegpt
command on a drive by first disabling SIP, by booting from a different drive or by booting from Internet Recovery. Another option would be to boot from Windows or Linux, then use other tools to edit the GPT.