3 ms·
The best way to zeroize (as much as can be done closed-case without dedicated research) an M1 mac is the following, as far as I can tell: * boot external USB i
by sneak 6y ago
The best way to zeroize (as much as can be done closed-case without dedicated research) an M1 mac is the following, as far as I can tell:
* boot external USB installer media
* run `diskutil zeroDisk force /dev/disk0`
* run `nvram -c`
* power system off
* system will now fail to boot anything, including external media, because it has no firmware available
* put system in DFU mode [1]
* plug in USB-C cable to the correct port (only one usb-c port can be used for this purpose) and connect to another mac running Apple Configurator 2 (which, sadly, is only available via the App Store, so requires an Apple ID, and also requires internet access to activate the attached M1 device)
* Restore IPSW such as [2] (note that this is for 11.2.0 and is no longer current as of a week or two ago)
This is the best way to get an M1 back into as close to a "factory" state as possible. Unfortunately, it requires an Apple ID (to use the App Store), so you have to dox yourself to Apple (email and working phone number, at the minimum) to get the Apple Configurator 2 app. (If anyone knows how to copy an App Store app from one mac to another, freshly installed mac, and have it work without logging in, please email me.)
PS: If you're looking to go even deeper, following the zeroDisk you might wish to create a 100% blank/empty hfs volume on the disk0, and then "repair" it, which will TRIM the free space (99%+ of the disk) at the disk controller level as well. This may or may not have the same effect as writing all zeroes. You'll likely have to use `diskutil` to do this, as Disk Utility is mostly garbage.
[1]: https://support.apple.com/guide/apple-configurator-2/revive-or-restore-a-mac-with-apple-silicon-apdd5f3c75ad/mac https://support.apple.com/guide/apple-configurator-2/revive-...
[2]: http://updates-http.cdn-apple.com/2021WinterFCS/fullrestores/071-00846/DCCBFDF4-0B4E-4628-A843-F8755C863FB0/UniversalMac_11.2_20D64_Restore.ipsw http://updates-http.cdn-apple.com/2021WinterFCS/fullrestores...
(shasum 7315f657df2a14b838b9d51eb49cdfff5be090e7)