News for hackers. Stuff that matters.
Re:Don’t format a drive of M1 Macs from recovery mode by digi59404 on Thursday February 18, 2021 @04:19AM (#26177699)
This is because the author didn't delete the entire volume group. You have to delete the whole volume group, i.e. erase the entire drive and it's partitions to reinstall OSX.

This isn't new with the M1 Macs. This has been a thing since they introduced APFS. When they went into disk utility after the cli - Then they could delete everything and kick off the OSX Install.

If the APFS Volume Group still exists the installer will try to unencrypt and work with it. So.. In short, just make sure you delete the volume group. There's a specific button for it. I just did this yesterday on a T2 Mac.

Re:Don’t format a drive of M1 Macs from recovery mode by PurpleFoxy on Thursday February 18, 2021 @04:52AM (#26177934)
I was kind of shocked at how hard it is to factory reset a MacBook. I had one at work and I had to pass it on and the guide is a multi step process which I messed up the first time and ended up reinstalling with my user account still there. Had to start again which takes hours.

Why does the recovery not just have a button called factory reset which unlinks your apple account, deletes the volume and then sets it all up like new.

Re:Don’t format a drive of M1 Macs from recovery mode by tinyhitman on Thursday February 18, 2021 @05:07AM (#26178058)
While I'm not disagreeing that this should be possible to (easily) factory reset a device, it also shouldn't be possible for just _anyone_ with physical access to completely reset the device either. Easy resets also mean more interesting to steal
Re:Don’t format a drive of M1 Macs from recovery mode by PurpleFoxy on Thursday February 18, 2021 @07:29AM (#26179040)
It should just ask for your Apple ID password when you do the reset. It’s not that hard. Honestly it should even be an option within the main OS
Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @07:33AM (#26179075)
Why, though? Physical access to the hardware should prevent you from accessing existing files (encryption at rest) but should not prevent you from resetting/reusing the device.

Does your fridge come with FridgeID? Or a book? Introducing such mechanisms is really hostile to users, especially poorer users of second-hand hardware who have to go through extra (shady) hoops to get a device running just because some rich Silicon Valley start-uppers thought locking hardware down was a feature.

Re:Don’t format a drive of M1 Macs from recovery mode by blacksmith_tb on Thursday February 18, 2021 @11:51AM (#26182184)
I think the argument that locking down hardware is unfair to thieves is not likely to garner a lot of support. But the larger argument that it's unfair to users should. The majority of whom didn't know they were signing up for a machine that is so theft-proof they can't give it to a grandparent or donate it to a school. I don't think it's unreasonable to say that easily-bricked hardware leads to more sales for Apple (and I hope I don't need to wipe my Mini any time soon...)
Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @02:07PM (#26184090)
> I think the argument that locking down hardware is unfair to thieves

That was not my point. Most times, users of a stolen device are unaware and not complicit in the fact it was stolen in the first place. They usually have acquired it from legitimate second-hand markets.

Re:Don’t format a drive of M1 Macs from recovery mode by blacksmith_tb on Thursday February 18, 2021 @03:17PM (#26184890)
That's a good point, thanks for clarifying it.
Re:Don’t format a drive of M1 Macs from recovery mode by lupire on Thursday February 18, 2021 @08:27AM (#26179530)
Who is going to walk a away with my fridge? How about my car? Many users appreciate having anti-theft protections on their easy to physically-access devices, and very few need to wipe of the owner's account.

It's great that you have a niche use case, but that doesn't make your case the priority over the main use cases.

Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @08:43AM (#26179682)
> Who is going to walk a away with my fridge?

People would steal your wallet, your jewelry... There's a lot more value to be extracted from a stolen credit card than from a "smart" phone.

> It's great that you have a niche use case, but that doesn't make your case the priority over the main use cases.

You're taking it the other way around. The common use case for first-world software developers is the niche use case for the rest of the world. In the rest of the world (i.e. the vast majority), who can't afford buying new luxury devices, people are more concerned with getting locked out after forgetting their password (or after their kids changed it) or about acquiring a second-hand device, than about "protecting" their device from thieves.

Because this "protection" doesn't protect anything. Once your iPhone is stolen, it's gone. No iCloud lock is going to bring it back, so why prevent other, less-privileged folks from using it when you can't use it? That type of "mine or noone else's" capitalist mentality is actively harming users and destroying the environment

https://www.ifixit.com/News/34072/apples-activation-lock-wil...

Re:Don’t format a drive of M1 Macs from recovery mode by crististm on Thursday February 18, 2021 @09:34AM (#26180181)
Think of it as a 'fuck you' to the thief and whoever might get the brick. Maybe you get that, otherwise you can be bitter all you want about the inequality and how stealing will resolve that.
Re:Don’t format a drive of M1 Macs from recovery mode by kstrauser on Thursday February 18, 2021 @01:33PM (#26183641)
More practically, I want to remove the financial incentive from stealing my phone. I want a thief to see it and think "why bother, I can't get anything for it".
Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @02:28PM (#26184329)
From what i can see, it does not seem to work. Here in western Europe in the big cities many people buy locked phones second hand and the vendor explicitly says you have to get it unlocked, which is a service provided by many phone shops (somewhat under the table).

These locked iPhones sold for 50-200€ are acquired by users who will turn to their tech friends/neighbors to get it unlocked. When these tell them they can't help with that (no package in Debian for that yet), they end up spending 20-50€ in a shop to get it unlocked anyway, financing a very shady market.

Previous discussion on HN: https://news.ycombinator.com/item?id=19845934

Quote from the article that sparked the discussion:

> To do this, they phish the phone’s original owners, or scam employees at Apple Stores, which have the ability to override iCloud locks. Thieves, coders, and hackers participate in an underground industry designed to remove a user’s iCloud account from a phone so that they can then be resold.

At the end of the day, if the thief doesn't get the phone unlocked themselves, they will sell the phone for half (or less) the price they would have sold it unlocked, but they're still making a buck.

Re:Don’t format a drive of M1 Macs from recovery mode by crististm on Friday February 19, 2021 @05:26AM (#26191503)
You make the argument against locking devices (which I agree with) for reasons related to that not deterring theft - which has a point.

Thieves will not profile a person using a premium locked phone against stealing it because it might not be worth it. They don't care about that. They will take whatever they can if only for practicing their skills.

Locking phones does not deter theft but unlocking them will offset the price of unlocking from the phone-shop to the thief increasing the profitability of theft.

I personally don't care about Apple, their phones, their M1's and their ecosystem. But acting out your premise leads to a place I don't like. And others as well. And if you think you can buy a cheaper premium phone if it is unlocked, ask yourself why thieves would continue to sell you cheaper if they know they give you a usable device?

Re:Don’t format a drive of M1 Macs from recovery mode by 1996 on Thursday February 18, 2021 @11:13AM (#26181635)
> Once your iPhone is stolen, it's gone. No iCloud lock is going to bring it back, so why prevent other, less-privileged folks from using it when you can't use it?

Because I would like to inflict damage back. Stealing from me cause damage. I do not believe thieves should get a free pass on causing me damages just because they are less privileged.

Ideally, a small amount of C4 and a "remote explode" taking a few fingers off the thief would be a proper deterrent, as well as a good use of Sharia law.

Re:Don’t format a drive of M1 Macs from recovery mode by crististm on Thursday February 18, 2021 @09:28AM (#26180119)
Yes. In a PC ecosystem this is true - physical access renders the machine in your control (modulo Intel Management System and other backdoor schemes).

For Apple, there is a different set of axioms and some people seem to agree with them.

Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @02:57PM (#26184644)
> For Apple, there is a different set of axioms and some people seem to agree with them.

I don't think this is true for all Apple products though, or at least that was not the case in the past. To my knowledge, setting up a free OS on a second-hand Macbook has never been a problem.

However, you are correct Apple is trying to impose new axioms with the iPhones: unique app market (taking controversial posture, such as forbidding alternative browser engines), iCloud lock, non-interoperable hardware (eg. power socket)...

Re:Don’t format a drive of M1 Macs from recovery mode by aulin on Thursday February 18, 2021 @05:50AM (#26178341)
we used to say there's no security if you have physical access... any measure to protect physical access vulnerabilities is bound to cause annoyances and limit freedom of what you can do with your own devices sooner or later
Re:Don’t format a drive of M1 Macs from recovery mode by elcomet on Thursday February 18, 2021 @06:25AM (#26178576)
Why though ? If someone wants to harm you, they can damage the hard drive enough so that the data is unreadable if they have physical access.
Re:Don’t format a drive of M1 Macs from recovery mode by superhuzza on Thursday February 18, 2021 @06:35AM (#26178645)
So that they can use/sell the stolen Macbook, which is much more common than stealing a Macbook to delete the data.
Re:Don’t format a drive of M1 Macs from recovery mode by user-the-name on Thursday February 18, 2021 @06:58AM (#26178816)
Erasing the drive doesn't let you do this, the Apple ID of the owner is stored elsewhere and you have to log in to restore the machine.
Re:Don’t format a drive of M1 Macs from recovery mode by superhuzza on Thursday February 18, 2021 @07:06AM (#26178882)
This was a response to a comment about a potential feature as described:

"Why does the recovery not just have a button called factory reset which unlinks your apple account, deletes the volume and then sets it all up like new."

So yes, it currently does not work like that. But such a feature would allow Macbooks to be easily stolen and reused by others.

Re:Don’t format a drive of M1 Macs from recovery mode by PurpleFoxy on Thursday February 18, 2021 @07:30AM (#26179043)
The unlink stage would require your password. The recovery partition requires internet to reinstall already.
Re:Don’t format a drive of M1 Macs from recovery mode by josephg on Thursday February 18, 2021 @12:39PM (#26182910)
Yep, just like it does on iPhones - where Apple has a button for this and it’s really easy. I’m sure a lot more iPhones get stolen than laptops every year, and I doubt the factory reset button behind its password prompt makes that any worse.
Re:Don’t format a drive of M1 Macs from recovery mode by acomjean on Thursday February 18, 2021 @08:45AM (#26179696)
The weird thing is that when my partner turned in an old Mac mini to Apple for recycling they wouldn’t do it because her account was still on there and there was a system password.

But we couldn’t figure out what they were talking about, we had reinstalled the OS. It’s embeded in there somewhere deep.

Re:Don’t format a drive of M1 Macs from recovery mode by willstrafach on Thursday February 18, 2021 @08:39PM (#26188432)
If it had a T2, that will store the Apple ID.
Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @07:39AM (#26179114)
What's wrong with using stolen hardware? I mean we could argue stealing is wrong, in which case we'd have to take a look at why people are stealing and from whom (partitioning of wealth) so we can find solutions.

If we're not looking at the root of the problem, then we're just complicating legitimate use cases. Preventing theft is only the official argument, but it doesn't stand any form of scrutiny: as long as there's inequality (i.e. incentives to expropriate people who have too much, to serve people who have too little) there will be theft.

The truth behind iCloud lock is Apple has been involved in mafia-style dealings with national mobile phone operators (which involved promises/contracts to sell millions of units), inundating the market with operator-sponsored iPhones, and they really don't want a second-hand market at all because they are a luxury brand.

Re:Don’t format a drive of M1 Macs from recovery mode by simonh on Thursday February 18, 2021 @12:03PM (#26182393)
Most victims of crime are also socially disadvantaged, so enough with the Robin Hood crap. Theft is also strongly associated with violence, intimidation and mental stress on the victims. Promoting or justifying crimes in your comments here is reckless and irresponsible.

If someone wants to sell a device second hand it's pretty easy to voluntarily wipe your device. Apple devices have very long lives, receive software updates for much longer than competing devices and keep their second hand value very well and so make excellent and very economical second hand devices. Contrary to your claims of Apple not wanting a second hand market, they support the device wiping process and even have a trade in program that channels refurbished iPhones to 3rd world countries.

If you really do care about the environment and supply chain ethics, you'll also be happy to know Apple get the highest score of any of the big tech companies from Greenpeace. In fact the only tech company at all that beats them is Fairphone, but since they get only 2 years of updates I think Greenpeace doesn't sufficiently take into account device longevity.

Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @01:40PM (#26183733)
> Most victims of crime are also socially disadvantaged

True in most cases, but not when it comes to owning a recent iPhone. Millions of people struggle for eating decently, and most of these folks are certainly not spending >500€ on a phone.

What may not have been clear in my original comment is most users who have a stolen device don't have knowledge of it, and are not complicit in it. So why do they have to be the ones paying the price?

> If someone wants to sell a device second hand it's pretty easy to voluntarily wipe your device.

In my experience, it's not uncommon that neighbors seek support because a relative offered them their old phone willingly but are far away and unable to remember their password over the phone. Sometimes, it's a phone/account they had not used in years. I've encountered this situation at least twice in the past year, and i'm not even working in a computer/phone shop.

> Fairphone, but since they get only 2 years of updates I think Greenpeace doesn't sufficiently take into account device longevity

Fairphone only supports updates for 2 years, but there's a growing ecosystems of distros targeting the Fairphones (LineageOS, /e/, PostmarketOS), while Apple have been condemned for pushing updates that made iPhones slower (to encourage them buying new ones).

https://www.bbc.com/news/technology-51413724

Re:Don’t format a drive of M1 Macs from recovery mode by Toutouxc on Thursday February 18, 2021 @02:23PM (#26184271)
> So why do they have to be the ones paying the price?

What price?

The original price of the device? Because we all do.

Or the price of having to buy a different machine than the $200 MacBook from the shady person online which came without the original box, warranty or charger? For the same reason, and also because they're stupid.

Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @03:05PM (#26184728)
> What price?

The price of having to pay a shady black market of "icloud unlocker" (usually through legit phone stores) to unlock of phone they have already paid for in good faith.

> the $200 MacBook from the shady person online

It's not just an online thing, and the person doesn't have to be shady (they're usually just a middleperson who have little clue). You can find questionable hardware in most open markets and second-hand shops.

> without the original box, warranty or charger?

Most second-hand hardware i purchase from legit sources comes with at least two of those missing (when not three) out of three.

> also because they're stupid.

I agree it's stupid to purchase a device you have no idea how to access/use/unlock. But i strongly disagree that good-faith people, who genuinely paid for an Apple device (after being advertised into thinking they need one), should suffer because of a lack of judgement on their part.

Re:Don’t format a drive of M1 Macs from recovery mode by simonh on Thursday February 18, 2021 @05:45PM (#26186879)
There’s no way to slice out crime against owners of a ‘recent iPhone’ as being acceptable, crime doesn’t work like that. There’s no way you can know when buying a stolen phone who it was taken from but disproportionately they come form people who can least afford to lose them.

There are over a billion iOS devices active right now, are all of those people rich exploiters who deserve to have their phones stolen? What your saying isn’t anti-capitalist, it’s advocating disproportionate oppression of the most vulnerable in society and you should be thoroughly ashamed of yourself.

How dare you come here, advocate crime and criticise owners of devices with the highest recyclability, lowest ecological impact and longest device lifetimes in the industry on moral grounds.

I’m sure your perfectly aware of what the purpose of those software updates were, to extend device lifetimes when batteries start to fail, but you’re perfectly prepared to betray your ecological ideals which should be in favour of this in order to score points. It’s absolutely disgraceful. These arguments might work against people unaware of the facts, but you’re not going to get away with this disingenuous claptrap here.

Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @08:47AM (#26179724)
Why downvote? Please argue with facts. Although i understand defending vendor lock-in, ecological damage, and forced sales is a hard sell... All the more when trying to protect from criticism a corporation making billions on the backs of exploited children in mines & factories.
Re:Don’t format a drive of M1 Macs from recovery mode by jaywalk on Thursday February 18, 2021 @08:55AM (#26179805)
Your arguments are 100% nonsense and 0% facts, so most people will see it as a waste of time to try and have a discussion with you.
Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @02:04PM (#26184053)
> The truth behind iCloud lock is Apple has been involved in mafia-style dealings with national mobile phone operators (which involved promises/contracts to sell millions of units), inundating the market with operator-sponsored iPhones, and they really don't want a second-hand market at all because they are a luxury brand.

Apple investigated for "planned" obsolescence by the French government: https://www.bbc.com/news/world-europe-42615378 (they have also settled for 500M$ in a previous case)

Apple was condemned and fined for illegal clauses in France in contracts with national cellphone operators (i believe the 4 of them):

https://www.universfreebox.com/article/34513/Apple-accuse-d-...

Specifically, they were condemned for:

- forcing the operator to buy a minimum amount of devices over 3 years - preventing the operator from defining target prices - forcing the operator to give funds to a marketing agency affiliated to Apple - forcing the operator to finance the marketing of iPhones in store, mandating a minimal marketing budget - enabling Apple to use the trademarks of the operator, but not the other way around - imposes strict conditions for device orders, but lifts any responsibility on Apple's side - forces the operator to financially support device repairs - gives Apple the right to break said contract, without respecting legal delays - enables Apple to use patents from the operator

Some of this was covered on public television by "Cash Investigation", so that was quite a public outcry. But this is only for France, and i'm assuming such mafia-like practices are common in other countries, as they are common in different branches of industry (not just IT, where well-known example include Microsoft and Intel).

About the consequences for the environment and (lack of) recycling of electronic waste:

https://www.cnet.com/news/the-environmental-pitfalls-at-the-... https://techhq.com/2020/12/right-to-repair-combating-techs-d... https://www.vox.com/2017/11/8/16621512/where-does-my-smartph...

About Apple not wanting a second hand market, i obviously meant a second hand market they do not control. They do have certified programs for second hard hardware. Sorry if that was not clear.

I hope i've provided enough evidence of the facts i was presenting. Please let me know if that's not the case.

Re:Don’t format a drive of M1 Macs from recovery mode by jaywalk on Thursday February 18, 2021 @04:05PM (#26185528)
See, you keep saying "second-hand market" when you're really referring to stolen devices.

For legitimate second-hand sales, Apple even has a page on their website to explain how to check for activation lock before buying a phone, and how to disable it before it's sold or given away: https://support.apple.com/en-us/HT201365

So just stop with your crap. You believe you're some kind of Robinhood or whatever, and want to be able to steal shit without consequence. Guess what, the vast majority of people don't want their shit stolen and are happy that Apple makes your "job" harder.

Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @08:24PM (#26188313)
> See, you keep saying "second-hand market" when you're really referring to stolen devices.

No, i'm refering to the actual second-hand market, eg. second-hand stores and open markets, where a lot of less-privileged folks do their shopping anyway. In there, stolen hardware represents a tiny minority of the tons of devices, but it's still a reality.

Even hardware donated in good faith is sometimes locked. Sometimes, it's possible to find the original owner and have them unlock their device. Sometimes, this person who gave away an old phone to a local association, a "ressourcerie" or sold it for a very low price to a second-hand shop cannot be found again.

Sometimes, you find them but they have forgotten the code to a device they haven't used in years. When it's not an iPhone (think laptop), we just setup a new OS and the device is good to go for another few years. When it's an iPhone, we're left with a brick.

> So just stop with your crap. (...) Apple makes your "job" harder.

This kind of personal attack is not okay. You are assuming things that are entirely untrue based on my political opinions ("property is theft"). I do not sell anything, and i certainly do not steal iPhones, whether for money or for fun. i am a free-software person and i have avoided apple for years because of the reasons we are discussing in this thread. No economic incentives in it for me, i'm just criticizing Apple for being user-hostile, in a way that particularly affect the poorest people who rely on second-hand devices because they can't afford brand new ones.

Re:Don’t format a drive of M1 Macs from recovery mode by ciupicri on Thursday February 18, 2021 @05:41AM (#26178280)
Is it that hard to just corrupt the file system?
Re:Don’t format a drive of M1 Macs from recovery mode by tinus_hn on Thursday February 18, 2021 @06:24AM (#26178566)
Like iPhones, new Macs are linked to an account and you can’t activate a new installation without access to the account. This is a pretty strong theft deterrent.

Of course this only works if you need access to the account to break this link.

Re:Don’t format a drive of M1 Macs from recovery mode by southerntofu on Thursday February 18, 2021 @07:29AM (#26179042)
I strongly disagree with your opinion. For economic reason, i'm using (and supporting many users from my neighborhood of) second-hand hardware. Some systems like Apple's make our life incredibly difficult and most times people will just have to pay a shady phone store to have the device they purchased unlocked, adding 20-30€ to the bill.

It's important to note that most people are incredibly gullible when it comes to technology, and they won't hesitate to buy a second-hand iPhone (whether stolen or not) for a few bucks assuming they'll be able to use it, because that's what a phone does, only to find themselves trapped in iCloud lock.

Locking devices does not protect users (contrary to encrypting the local storage), and does not deter anyone from stealing. It simply adds one layer of mafia to deal with (iCloud unlock shady companies) when you're just trying to find a second-hand phone.

Re:Don’t format a drive of M1 Macs from recovery mode by matthias509 on Thursday February 18, 2021 @12:14PM (#26182542)
Your statement regarding the lack of deterrence does not match reality. See https://transition.fcc.gov/bureaus/oet/tac/tacdocs/meeting12...

"Similar to New York City, San Francisco also provides evidence that mobile device theft prevention technologies work. In 2009, Apple smartphones constituted the vast majority (69%) of smartphones stolen in San Francisco robberies; in the six months after Apple made Activation Lock available, iPhone robberies in San Francisco declined 38%."

Re:Don’t format a drive of M1 Macs from recovery mode by ska on Thursday February 18, 2021 @12:54PM (#26183115)
> and does not deter anyone from stealing.

This statement appears to be false, which I guess is the entire point.

People absolutely should be able to sell a device second hand, so perhaps re-authentication should be easier and more obvious, but making stolen equipment harder to sell is a net win.

Re:Don’t format a drive of M1 Macs from recovery mode by dsabanin on Thursday February 18, 2021 @12:47PM (#26183018)
You are not making any sense by saying it does not deter anyone from stealing. Sooner or later everyone will know that buying stolen Apple hardware is meaningless, and without a market to sell into, thiefs will be less interested in stealing it.
Re:Don’t format a drive of M1 Macs from recovery mode by liminalsunset on Thursday February 18, 2021 @12:56PM (#26183153)
There actually is a way to do this easily, and it only seems to work if you have FileVault enabled.

Boot into recovery, when it asks for a password say youve forgotten it, you don't have a key, and click the resulting "Erase Mac" button. This will erase the drive properly removing the partitions, iirc.

Re:Don’t format a drive of M1 Macs from recovery mode by m1mac on Thursday February 18, 2021 @01:39PM (#26183720)
Yeah, that's the right way to do it. You can do it without FileVault enabled, too. Enter `resetpassword` in Terminal, and the Erase Mac option is in the menu bar.

I'll grant that this is poorly documented and not intuitive in the least. A secure erase and reinstall is a common task. It shouldn't require an obscure menu bar option or the use of Terminal.

Re:Don’t format a drive of M1 Macs from recovery mode by Solid_Applaud on Thursday February 18, 2021 @10:56AM (#26181328)
If you are reading this and you want to truly restore the internal drive to factory original state minus wear and you have a Macbook that is able to boot a Linux from USB:

If you have nvme storage use blkdiscard to wipe it:

https://man7.org/linux/man-pages/man8/blkdiscard.8.html

Or

nvme format <device> with the --ses option, see available ses options here:

https://www.mankier.com/1/nvme-format

Otherwise use ATA Secure Erase with the suspend trick to unfreeze the drive:

https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase

Re:Don’t format a drive of M1 Macs from recovery mode by wtallis on Thursday February 18, 2021 @11:09AM (#26181575)
Adding on to this: blkdiscard should work fine for SATA or NVMe drives, if you just want to make the drive blank. SATA drives technically have the option of ignoring TRIM commands, but I'm not sure it was ever actually common for them to do so.

Suspending and waking a PC to unlock a drive can be necessary for SATA or NVMe drives. SATA drives also give you the alternative of hot-swapping the drive, but that's not practical for consumer NVMe drives or consumer host systems.

Re:Don’t format a drive of M1 Macs from recovery mode by matwood on Thursday February 18, 2021 @07:45AM (#26179163)
Because of the anti-theft feature of Find My, there are steps but they are pretty straight forward.

https://support.apple.com/en-us/HT201065

I've found the process is fast if you have a good internet connection to download macOS again. Otherwise, that's where it seems a lot of the time goes.

Re:Don’t format a drive of M1 Macs from recovery mode by andrewmcwatters on Thursday February 18, 2021 @09:08AM (#26179948)
I recall the exact same scenario you're describing, and I'm usually meticulous when I use Disk Utility.
Re:Don’t format a drive of M1 Macs from recovery mode by varispeed on Thursday February 18, 2021 @07:08AM (#26178904)
They obviously want people to buy a new one (and disposing of their current one) instead of doing a factory reset. If it is increasingly harder to do, this means that eventually factory reset will not be possible and you won't even be allowed to sell "your" mac when you want to switch or upgrade.
Re:Don’t format a drive of M1 Macs from recovery mode by tehwebguy on Thursday February 18, 2021 @01:16PM (#26183391)
Finally sold our old 12" MacBooks on eBay earlier this year and had to format them all. Made the same mistake with the first one, total nightmare. Once I realized the issue the other 2 were a breeze. Seems like a super obvious place to have a big warning message!
Re:Don’t format a drive of M1 Macs from recovery mode by tinus_hn on Saturday February 20, 2021 @05:52AM (#26203222)
They have documentation for this:

https://support.apple.com/en-us/HT201065

To be honest I’m not 100% sure if the ‘sign out of iCloud’ also removes activation lock, but I do think so. They also refer to the steps in the Activation Lock article:

https://support.apple.com/en-us/HT208987

Re:Don’t format a drive of M1 Macs from recovery mode by giuliomagnifico on Thursday February 18, 2021 @04:45AM (#26177886)
I deleted the entire volume if I remember correctly. But even I made a mistake, there should be a warning. I used to HFS FS were there aren’t the volumes so it could have been my error but Apple should put a warning!
Re:Don’t format a drive of M1 Macs from recovery mode by marcan_42 on Thursday February 18, 2021 @06:22AM (#26178547)
Not the entire drive, just the entire OS volume group (containing multiple volumes), which is one GPT partition. There are 3 volume groups (partitions), two of them are hidden by the main listings in diskutil (but still exist). If you mess those up, the only way to recover is Apple Configurator 2.
Re:Don’t format a drive of M1 Macs from recovery mode by fossuser on Thursday February 18, 2021 @12:21PM (#26182633)
I hit an issue when I first got my M1: https://www.reddit.com/r/applehelp/comments/jy3o5c/m1_macos_...

I’m not sure if it’s fixed now, but I don’t think it was related to the volume group.

Re:Don’t format a drive of M1 Macs from recovery mode by tinus_hn on Saturday February 20, 2021 @05:47AM (#26203206)
> This is because the author didn't delete the entire volume group.

Similarly you can get your disks in a state where the Windows installer can’t make heads or tails of it, so you need to just write zeros over the boot sector before Windows can install.

Re:Don’t format a drive of M1 Macs from recovery mode by j-pb on Friday February 19, 2021 @02:12AM (#26190531)
I had to send a M1 back to apple, because even wiping the whole drive left it as a paperweight.

Even spend hours with apple support and nothing worked, there is more to it than just that.

Re:Don’t format a drive of M1 Macs from recovery mode by swiley on Thursday February 18, 2021 @12:11PM (#26182485)
Removing all the state from a machine and starting over should never be hard or complicated!

State is evil!

Re:Don’t format a drive of M1 Macs from recovery mode by wwweston on Thursday February 18, 2021 @04:32AM (#26177780)
Delete the entire drive including the recovery partition?

> There's a specific button for it.

Does the button say "hi, you should pick this unless you're an expert with a really good reason not to?"

Re:Don’t format a drive of M1 Macs from recovery mode by garmaine on Thursday February 18, 2021 @05:01AM (#26178019)
I bricked my first TouchBar MacBook the day I received it, trying to do a factory reset as my company's security policies demanded. Not sure exactly how I triggered that state. Thankfully Apple took it back as a return.

It should not be possible to brick a device by pushing the wrong button. I was shocked that this wasn't caught by anyone at Apple before release.

Re:Don’t format a drive of M1 Macs from recovery mode by hnarn on Thursday February 18, 2021 @09:08AM (#26179947)
> It should not be possible to brick a device by pushing the wrong button

So you think all Apple devices should be shipped without root? Or that anything disk-related should only be allowed through CLI as root?

Re:Don’t format a drive of M1 Macs from recovery mode by garmaine on Thursday February 18, 2021 @11:42PM (#26189844)
Adding another comment since the edit window on my sibling reply has elapsed. To be clear, I'm an IT professional who knows how to restore a device from boot media. I once managed a university computer lab, and wrote the linux-based image management software for 2000+ campus computers. I've written my own hobby operating, including the boot an initialization process.

I thought any problem encountered reinstalling an OS is something I could handle. But that was not the case. Near as I could tell when I followed up with Apple after the incident, the boot process involved the security chip reading some data off the drive and validating it before handing off control. If that data (which is on the Apple reserved partition) was wiped, the firmware would not boot. And since the security chip was configured to not boot from media (the default state, IIRC), it was effectively bricked.

So the very first generation of TouchBar MacBooks would not boot into recovery mode if you wipe the drive, nor would they boot any kind of recovery media. It's a state that required shipping to Apple for refurbishment to fix. It's my understanding that this was fixed in later models, perhaps even as a result of my incident.

Re:Don’t format a drive of M1 Macs from recovery mode by garmaine on Thursday February 18, 2021 @05:57PM (#26187014)
No that’s not what I mean. I bricked the device. I’m not saying I wiped the hard disk and just can’t boot. I’m saying I put the machine in a state where it would NEVER AGAIN boot. Completely unrecoverable.