I can't boot up my MacBook Air M1. When I check in Recovery Mode, it doesn't show any drive. When I hold Option, I don't see any volume in the Apple SSD.
In Disk Utility I can't erase it nor do anything else. When I try installing macOS again it doesn't show any drive to install it to. When I use diskutil list
command my whole SSD is shown as “free space” with no identification.
How can I fix this problem?
diskutil partitionDisk /dev/disk0 1 GPT APFS "Macintosh HD" R
. That should create a brand new APFS container on your boot disk assuming it's/dev/disk0
. Make sure you get the correct identifier by usingdiskutil list
and looking for your physical disk.