Is there a way to recover the deleted APFS Container?
Hi,
I accidentally deleted the wrong container and can't boot my Mac now, wondering is it possible to recover/restore it, any suggestion is very appreciate!
So the story is I am trying to clean up the drive after removing the bootcamp, but end up typing
sudo diskutil apfs deleteContainer disk0s1 with the wrong container. I abort the command when I
notice I have done a stupid thing but I guess it is too late.
Attached is the diskutil list, I think there is a Container disk1 in my disk0 if I remember it correctly, is the a way to restore the deleted container, or like overwrite (re-install) to grab it?
This is the disk0 info
This is the disk3 info
My drive looks similiar like this before I made the command in disk utility
Also not sure if the info helps, when power on the OS cannot load and will stuck in the middle of progress bar
Thanks for taking time reading!
iMac Line (2012 and Later)