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

ProQuiz

macrumors 6502
Original poster
Jul 15, 2009
283
117
If I exclude the clean install method using a USB drive, what other (easier) ways are there to clean install (leaving no data behind) macOS? If I am not mistaken, you can use macOS Recovery to wipe and clean install macOS?
 

chabig

macrumors G4
Sep 6, 2002
11,449
9,319
Assuming your Mac is an Apple Silicon machine or an Intel machine with a T2 chip, the easiest way in Sonoma is to open System Settings > General > Transfer or Reset (2nd from the bottom) > Erase All Content and Settings.

That's it. Nothing more is required. When this is complete you will be left with a factory fresh machine with no leftover user data.



If you have an older Intel Mac, then you should use Recovery. Here are those instructions:

 
Last edited:

ProQuiz

macrumors 6502
Original poster
Jul 15, 2009
283
117
Thanks.

So there is no difference between manually wiping the drive (or even deleting the volume) and reinstalling macOS vs. using the Erase All Content and Settings feature?
 

chabig

macrumors G4
Sep 6, 2002
11,449
9,319
So there is no difference between manually wiping the drive (or even deleting the volume) and reinstalling macOS vs. using the Erase All Content and Settings feature?
None at all. The end result is the same. That's because the operating system is on a separate volume than user data, and that system volume is read-only. In fact, every Mac running the same operating system has the same system volume, bit for bit. The Mac evaluates system integrity at boot time and if even a single bit doesn't match, it won't boot.

When you Erase all content and settings, you're just wiping the user data (really it's just deleting the encryption keys, which renders the user data unreadable). The system doesn't need to change at all.
 
  • Like
Reactions: Ben J. and IngoX

ProQuiz

macrumors 6502
Original poster
Jul 15, 2009
283
117
I thought it was possible to delete and mess with OS files/data through Terminal commands. Is this true? If so, is it easy to do (meaning all you have to do is enter a command)?
 

Nermal

Moderator
Staff member
Dec 7, 2002
21,007
4,587
New Zealand
I thought it was possible to delete and mess with OS files/data through Terminal commands. Is this true? If so, is it easy to do (meaning all you have to do is enter a command)?
I believe if you change a file in the system volume, it'll actually make a copy of it with the same name on the data volume. The original system file is left untouched, and Erase All Content and Settings will revert back to it.
 
  • Like
Reactions: chabig

chabig

macrumors G4
Sep 6, 2002
11,449
9,319
I thought it was possible to delete and mess with OS files/data through Terminal commands. Is this true? If so, is it easy to do (meaning all you have to do is enter a command)?
I don't believe you can change anything on the system volume, or else the machine will fail to boot. But Nermal may be correct. Though if you change something it should fail signature verification.

 

bogdanw

macrumors 603
Mar 10, 2009
6,117
3,028

ProQuiz

macrumors 6502
Original poster
Jul 15, 2009
283
117
In one of the links you provided above, you stated in the thread that "Erase All Content and Settings" doesn't make a Mac like new as it doesn't delete other partitions you might have. But what if you don't have other partitions other than what the Mac came with or has by default? In this case, would "Erase All Content and Settings" be like starting new?

Also, what method do you recommend to wipe everything and start new (just in case I want to do that)? Can I boot into macOS Recovery, delete the macOS volume (and another other volumes if there are any), redownload the latest version of macOS using the built-in feature in macOS Recovery, and install macOS again?
 
Last edited:

Mike Boreham

macrumors 68040
Aug 10, 2006
3,913
1,896
UK
In one of the links you provided above, you stated in the thread that "Erase All Content and Settings" doesn't make a Mac like new as it doesn't delete other partitions you might have.
My experience of Erase all Content and settings was when I had dual booting set up and launched Erase all Content and Settings from one, expecting it to leave the other in tact but it didn't.:(

However my dual boot were onto separate volumes in the same container as recommended by Apple. Maybe separate containers (= partitions) are preserved
 

ProQuiz

macrumors 6502
Original poster
Jul 15, 2009
283
117
Just got done wiping/erasing the whole drive and reinstalling macOS using macOS Recovery. Everything went fine. However, I noticed GarageBand, iMovie, Pages, Numbers, and Keynote are no longer installed. Guess they are not included in the default apps in macOS.
 

Nermal

Moderator
Staff member
Dec 7, 2002
21,007
4,587
New Zealand
However, I noticed GarageBand, iMovie, Pages, Numbers, and Keynote are no longer installed. Guess they are not included in the default apps in macOS.
Correct. I'm not sure why (historically you had to pay for them, so they were "included with purchase of a new Mac" only, but now that they're free I don't know why there's still a separation).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.