Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
list (Show status of all current APFS Containers)


listUsers (List cryptographic users/keys of an APFS Volume)


listSnapshots (List APFS Snapshots in a mounted APFS Volume)


listVolumeGroups (List all current APFS Volume Group relationships)


convert (Nondestructively convert from HFS to APFS)


create (Create a new APFS Container with one APFS Volume)


createContainer (Create a new empty APFS Container)


deleteContainer (Delete an APFS Container and reformat disks to HFS)


resizeContainer (Resize an APFS Container and its disk space usage)


addVolume (Export a new APFS Volume from an APFS Container)


deleteVolume (Remove an APFS Volume from its APFS Container)


eraseVolume (Erase contents of, but keep, an APFS Volume)


changeVolumeRole (Change the Role metadata flags of an APFS Volume)


unlockVolume (Unlock an encrypted APFS Volume which is locked)


lockVolume (Lock an encrypted APFS Volume (diskutil unmount))


changePassphrase (Change the passphrase of a cryptographic user)


setPassphraseHint (Set or clear passphrase hint of a cryptographic user)


encryptVolume (Enable FileVault security in background or instantly)


decryptVolume (Disable FileVault security in background or instantly)


deleteSnapshot (Remove an APFS Snapshot from an APFS Volume)


defragment (Arm or check status or begin APFS defragmentation)


updatePreboot (Update a macOS Volume's related APFS Preboot Volume)


syncPatchUsers (Copy Volume Group crypto users System-to-Data role)





diskutil apfs <verb> with no options will provide help on that verb





stevenrandolph@Stevens-Air ~ % diskutil apfs deletevolume


Usage: diskutil apfs deleteVolume <apfsVolumeDisk>


where <apfsVolumeDisk> = APFS Volume DiskIdentifier


Remove the given APFS Volume from its APFS Container, losing all of its data.


Ownership of the affected disks is required.


Example: diskutil apfs deleteVolume disk5s1


stevenrandolph@Stevens-Air ~ % diskutil apfs erasevolume


Usage: diskutil apfs eraseVolume <apfsVolumeDisk> -name <newName>


[-passprompt | -passphrase <passphrase> | -stdinpassphrase]


[-passphraseHint <passHint>]


[-role <roles>]


[-group[With] | -sibling <apfsVolumeDisk>]


where <apfsVolumeDisk> = APFS Volume DiskIdentifier


<newName> = Required replacement volume name


<passphrase> = Passphrase if encryption desired


<passHint> = some string that can be shown even while locked


<roles> = "0" or one or more of B|R|V|I|T|S|D|U|N|E|X|H|L|C|Y|G


<apfsVolumeDisk> = another APFS Volume in the same Container


Erase the contents of the given APFS Volume, losing all of its data. Unlike


deleteVolume, the APFS Volume is not removed from its APFS Container. The "new"


APFS Volume will inherit case-sensitivity or not status, but not any other


attributes. If you supply a passphrase, it will (re)appear as encrypted, with


an initial user of the "Disk" user; otherwise, it will not be encrypted.


Ownership of the affected disks is required.


Example: diskutil apfs eraseVolume disk5s1 -name Bar


stevenrandolph@Stevens-Air ~ %
 

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
diskutil apfs deletecontainer disk0


You must specify either an APFS Container Reference or Physical Store


stevenrandolph@Stevens-Air ~ %
[automerge]1590195795[/automerge]
 

Attachments

  • Screen Shot 2020-05-22 at 8.54.36 PM.png
    Screen Shot 2020-05-22 at 8.54.36 PM.png
    359.6 KB · Views: 128

Taz Mangus

macrumors 604
Mar 10, 2011
7,815
3,504
What happens if you select APPLE SSD device and then press on Erase button?

EDIT: Try Erasing Container disk1.
 

allan.nyholm

macrumors 68020
Nov 22, 2007
2,317
2,574
Aalborg, Denmark
Screen Shot 2020-05-23 at 03.06.08.png

this is what you have to look for - this is my Internal HDD - could just be an SSD - so take a look at the disk identifiers there. Try using disk1 or disk0s2 instead.
 

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
it doesn't let you erase it stays unlighted where you can't use it
[automerge]1590196391[/automerge]
What happens if you select APPLE SSD device and then press on Erase button?

EDIT: Try Erasing Container disk1.
That's what it does
[automerge]1590196713[/automerge]
View attachment 917835

this is what you have to look for - this is my Internal HDD - could just be an SSD - so take a look at the disk identifiers there. Try using disk1 or disk0s2 instead.
it doesn't let you erase it stays unlighted where you can't use it
[automerge]1590196391[/automerge]

That's what it does
[automerge]1590196886[/automerge]
What happens if you select APPLE SSD device and then press on Erase button?

EDIT: Try Erasing Container disk1.
it doesn't let me erase container 1
it trys to erase APPLE SSD but comes up with the red error
 

Attachments

  • Screen Shot 2020-05-22 at 9.12.06 PM.png
    Screen Shot 2020-05-22 at 9.12.06 PM.png
    76.7 KB · Views: 79
  • Screen Shot 2020-05-22 at 9.14.20 PM.png
    Screen Shot 2020-05-22 at 9.14.20 PM.png
    46.7 KB · Views: 88
  • Screen Shot 2020-05-22 at 9.17.41 PM.png
    Screen Shot 2020-05-22 at 9.17.41 PM.png
    46 KB · Views: 87
Last edited:

DeltaMac

macrumors G5
Jul 30, 2003
13,756
4,580
Delaware
The Apple support doc for erasing a disk was posted already in Post #5. OP said it did not help.

I don't see anywhere that you tried this while booted to Internet recovery - different from the recovery system.
Reboot, with Option-Command-R. You will see a spinning globe, not an Apple icon during boot. Try the HD erase when booted to that internet recovery. Remember to choose "Show all devices", so you can pick the Apple SSD from the Erase tab.
 
Last edited:

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
The Apple support doc for erasing a disk was posted already in Post #5. OP said it did not help.

I don't see anywhere that you tried this while booted to Internet recovery - different from the recovery system.
Reboot, with Option-Command-R. You will see a spinning globe, not an Apple icon during boot. Try the HD erase when booted to that internet recovery. Remember to choose "Show all devices", so you can pick the Apple SSD from the Erase tab.
I think that worked it let me erase the Apple ssd now I’m installing on the untitled
 

Taz Mangus

macrumors 604
Mar 10, 2011
7,815
3,504
Still surprised not able to erase in recovery mode. Unless the beta created a recovery partition that acts differently then the normal recovery partition.
 

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
Still surprised not able to erase in recovery mode. Unless the beta created a recovery partition that acts differently then the normal recovery partition.
There were a lot of issues with the beta a couple of times a few things wouldn’t work and took them two weeks to send out a fix
 

vivo

macrumors 6502
Jun 18, 2015
370
107
Maybe you can try erasing it MBR + HFS+ first, then erase it again with GUID + APFS ?
 

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
There's definitely some hardware issue with this mac air it doesn't completely erase the HD it can't find my iphone in itunes all my screen icons that I downloaded still show up after an erase, I even erased all settings on my iphone to see if this mac would recognize it it doesn't anymore, As soon as apple opens up it's stores i'll bring it in and have them look at it
So thanks for all the help !
I'll report back and let you know what they say is the problem
 

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
So this is a known issue it seems, found this tutorial on youtube

one person said this >
I had to take mine into a shop. They told me there is a problem with some mac hardrives that lock you out when you try to reset it. He had to take my hard drive out and manually reset it. Hope any of this makes sense, I don’t know much about computers
 

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
I just bought a 16" macbook and it comes up with the same erase process fail
 

Attachments

  • Screen Shot 2020-05-26 at 1.48.48 PM.png
    Screen Shot 2020-05-26 at 1.48.48 PM.png
    957.6 KB · Views: 87
  • Screen Shot 2020-05-26 at 1.53.02 PM.png
    Screen Shot 2020-05-26 at 1.53.02 PM.png
    171 KB · Views: 81

Taz Mangus

macrumors 604
Mar 10, 2011
7,815
3,504
That does not seem good. I had to reinstall my computer with 10.15.4. I did a clean install and erased the drive using Disk Utility. No issues with erasing and I did it multiple times without a single error.

I would give Apple support a call and arrange to have the computer returned.

EDIT: I am wondering if what you are seeing is related to the T2 chip security. Maybe you need to disable SIP before you will be able to erase the drive. Just a thought and I could be off base here.
 

justabrake

macrumors regular
Original poster
Jun 23, 2010
176
14
I bought a new SSD yesterday(AURA SSD 240GB) and removed my macbook air SSD and replaced it came up with the same issue
what is SIP ?
 

hutzi20

macrumors member
Sep 3, 2014
97
119
I just bought a 16" macbook and it comes up with the same erase process fail
Sorry, but there is no problem and there is no fail.
You try to erase your system which you are currently running and booted in. How should it work? You need to boot into the recovery partition or the internet restore.

but it’s not possible that you delete the system which you are currently running.
 
  • Like
Reactions: LuisN
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.