Accidentally wiped internal ssd error 69877

I’ve managed to erase my internal ssd on my imac21 m1 ! It became very blotted after the last update, so much so that my 4TB Timemachine suddenly had no room left and erased 4 months of data.


I followed the instructions to the letter it’s not the first time I have had a refresh, went into recovery>diskutility>show all volumes>erase. Error 69877


Go to reinstall Sonoma, cannot find target disk ?

Back to diskutil, will not allow erase. Only Ssd showing no Macintosh HD.


Diskutil list from terminal attached.


System diagnostics cmd d, came back with NO hardware errors.


I called Apple support they are non the wiser, told me to leave it in for repair but I’m out of warranty.


This is my last Hail Mary, this iMac has given me problems from the very outset.


Has anyone come across this?


Thanks


Posted on Aug 24, 2024 5:30 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 24, 2024 8:45 PM

The old macOS partition seems to have been completely deleted since it is only showing up as "(free space)". The "(free space)" means there is no partition there for that 245.1GB. You will likely need to click on the Partition tab to add a new partition. Disk Utility is not a very good app, so I'm not sure whether it will be able to recreate the missing partition. If Disk Utility cannot do it, then let us know since we can probably give you an option using the command line, but you will need to repost the photo so it is properly rotated for easier viewing (I would have provide those instructions here if the photo had been oriented correctly).


FYI, you can easily rotate pictures on an iPhone/iPad by using the instructions in the following Apple article (I'm sure Android devices have something similar):

Edit photos and videos on iPhone - Apple Support


Whatever you do, do not touch those other two partitions/Containers because they are required for accessing the Startup Options menu. If anything happens to those two partitions/Containers, then you will need to perform a DFU firmware Restore which requires access to another Mac.


Similar questions

11 replies
Question marked as Top-ranking reply

Aug 24, 2024 8:45 PM in response to Dr_William

The old macOS partition seems to have been completely deleted since it is only showing up as "(free space)". The "(free space)" means there is no partition there for that 245.1GB. You will likely need to click on the Partition tab to add a new partition. Disk Utility is not a very good app, so I'm not sure whether it will be able to recreate the missing partition. If Disk Utility cannot do it, then let us know since we can probably give you an option using the command line, but you will need to repost the photo so it is properly rotated for easier viewing (I would have provide those instructions here if the photo had been oriented correctly).


FYI, you can easily rotate pictures on an iPhone/iPad by using the instructions in the following Apple article (I'm sure Android devices have something similar):

Edit photos and videos on iPhone - Apple Support


Whatever you do, do not touch those other two partitions/Containers because they are required for accessing the Startup Options menu. If anything happens to those two partitions/Containers, then you will need to perform a DFU firmware Restore which requires access to another Mac.


Aug 25, 2024 6:37 AM in response to Dr_William

Hi,

Your internal drive is used by process 0, init, so you can't unmount the internal drive.

If you have external drive, install macOS on it , then select it's as startup drive with Recovery mode.

Startup from external drive then reformat internal drive with DiskUtility.

Then install macOS on internal drive and select internal drive as startup drive.

It could work, good luck.


Aug 25, 2024 4:58 PM in response to Dr_William

So you tried using the Partition tab of the Disk Utility GUI and were not able to add a new partition to the empty area shown as "(free space)" in your photo?


If so, then use the following command to create a new partition/APFS Container using the Terminal command line (just make sure the device identifiers are still shown exactly the same when you go to perform this command since they can change everytime you boot). This is a three step process where you must first add a new partition with a MacOS Extended (Journaled) file system after the "disk0s1", then convert it to an APFS file system. I have tried this on a DMG. In between the two major steps you must list the drive layout again in order to get the new device identifier for the newly created HFS+ "Macintosh HD" volume.....replace "diskXsY" with the correct device identifier for "Macintosh HD" (most likely will be disk0s3).


diskutil  addPartition disk0s1  jhfs+  "Macintosh HD"  0

diskutil  list  internal

diskutil  ap  convert  diskXsY


You should now see "Macintosh HD" showing as an APFS volume with an APFS Container at diskXsY (most likely disk0s3).


Aug 25, 2024 4:48 AM in response to HWTech


Thanks for coming back to me stop.


I have retaken the photos above. As you suggested it. I thought that I lost the partition on the disk as I came across a similar problem last year on an external backup disk. If we can get the partition back or get the drive erased, I can work on getting another Mac and getting the system refreshed in DFU.


I have since come across two bootable usb thumb drives with Ventura and Sonoma.


Thanks once again.

Aug 25, 2024 8:34 AM in response to kaz-k

It should work and what has happened should not have been able to happen. What I have is that disk 0 has been formatted into two containers 1 & 2 as shown below.



It will not allow an erase as shown in the other photo giving an error of 69877.


When I boot into recovery there is only a gear wheel NO Macintosh HD. When trying to reinstall via boot media either with Ventura which was the initial install or Sonoma, it cannot find the startup disk.


As another user has suggested as shown, there appears to be a blank partition shown on the terminal screen, if we can work through terminal to get rid of that; I will work on getting another machine to do a dfu refresh.


My heart really is token with this iMac my last Mac lasted for years never a hiccup but this, Is it any wonder I’m loosing my hair?


Aug 25, 2024 10:05 AM in response to D.I. Johnson

The diskutil gui will let me do nothing. I can’t format, erase, add a volume, remove, increase or decrease sizes.

The disk isn’t locked as there are no volumes on it - according to terminal, so I cannot reset the password.


If the chip has failed at just over a year the computer wasn’t fit for purpose. The EU introduced a law that forces manufacturers to repair, replace or refund for an additional 2 years on top of the 1 year from the manufacture. To cut down on waste. I only found out this morning, but if it’s my fault I’m stuck.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Accidentally wiped internal ssd error 69877

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.