14 ms·
M1 Macs have another hidden boot mode
- meibo 6y agoSo this means modern macs essentially have 4 copies of OS X installed? One regular, 2 recoveries, and whatever runs on their management controller(Bridge OS? Does that still exist on M1 macs?) and the touch bar. Seems to work out fine for them if it creates resilience and makes code-sharing/interoperability easy.
- choeger 6y agoMaybe they had to make up for the Minix running on the Intel processors...
- giuliomagnifico 6y ago>have 4 copies of OS X Probably 2, the official boot and the recovery are macOS: the other 2 are iOS kernel for touchbar and controller. But I haven't digged into it.
- messe 6y ago> the other 2 are iOS kernel for touchbar and controller On Intel yes, as it's managed by the T2 chip which runs bridgeOS (which IIRC is based on watchOS rather than iOS, but it's XNU all the way down regardless). On M1 chips the controller functions have been integrated into the M1 chip, and I was under the impression that the touchbar was too; i.e. it's now controlled directly by macOS.
- adolph 6y agoWithin the M1 is a “Secure Enclave” for the stuff that was formerly in T1. Does that mean that there is an iOS running inside the macOS? https://support.apple.com/guide/security/secure-enclave-sec59b0b31ff/web https://support.apple.com/guide/security/secure-enclave-sec5...
- SllX 6y agoNo. From the document you cited: “ The Secure Enclave Processor runs an Apple-customized version of the L4 microkernel. It’s designed to operate efficiently at a lower clock speed that helps to protect it against clock and power attacks. The Secure Enclave Processor, starting with the A11 and S4, includes a memory-protected engine and encrypted memory with anti-replay capabilities, secure boot, a dedicated random number generator, and its own AES engine.” iOS still has an XNU kernel. L4 is a different beast entirely and being used for a different role here.
- xenadu02 6y agoM1 Macs do not have a T2 coprocessor like Intel Macs. The Touch Bar on M1 systems is run by macOS directly. macOS also handles talking to the Secure Enclave.
- KirillPanov 6y agoAlso known as "NSA mode"
- atoav 6y agoOr a "Patriot Act"-Mode? Edit: It seems downvoters know something about the patriot act that I don't, because last time I checked it still forced US companies to comply with requests from US secret services. If you know more please explain rather than downvote.
- bloqs 6y agoYou can downvote on HN?
- VistaBrokeMyPC 6y agoAfter you meet the karma threshold, yes.
- deleted 6y ago[deleted]
- meowster 6y agoItem #5 in the FAQ: https://news.ycombinator.com/newsfaq.html https://news.ycombinator.com/newsfaq.html
- mhh__ 6y agoI think if the NSA want in they don't need to bother with stuff like this, and if Apple were forced to compel they wouldn't be documenting anything related to it
- hackerbrother 6y agoIf we're spitballing tinfoil type stuff, I'd guess it's in the NSA's interest to have American OS's like MacOS be as secure as possible. I'm sure they have access to any of Apple's certificate chains, cloud data, and could decrypt a Macbook as well as Apple could, but I don't see known software backdoors being desirable.
- lovelyviking 6y agoI would prefer one that works! How on earth they have managed to make this thing with 'recovery partition' to become 'not bootable'??? They officially say it can become 'not bootable' if the interrupt occurs during system update. BUT I've got it 'not bootable' without any power interrupts during the very first day. After simple reinstall attempt without any power interrupts this sh..t didn't boot at all !!! It showed black screen with big exclamation mark and url to support which basically says ... go find another Mac to boot this one ... (https://support.apple.com/en-us/HT211868 https://support.apple.com/en-us/HT211868). Thanks Apple! Very nice advice with COVID situation The irony is I bought this one as 'another Mac' to fix the previous one that have fallen apart. You can dig in my comments how. https://news.ycombinator.com/item?id=25809097 https://news.ycombinator.com/item?id=25809097 I would really prefer simple booting from external drive at this point. This is the buggiest thing I EVER had. Even the screenshot doesn't work properly. It reacts to(CmdShift-4) after ~2!!! second delay while on previous Mac it was instant. "Very fast" some say? I still wish to see it, because so far it feels just like the one I had before or slower! I am not talking about benchmarks, I am talking about day to day experience. And there are bugs bugs and bugs. I have stopped counting honestly. Just another one as example: Playing something in Garage Band and going to settings gives dialog saying sound engine was not able to process ... I never saw something like that before. And of course enormous amount of useless dialogs with especially jumpy animation just to annoy you enough. It reminds micros..t more and more. I believe this particular 'dialogs feature' have been introduced in Vista? But Vista had another beautiful feature - erasing it and install something that works. Unfortunately here we do not have even this, because it simply would not boot ! Goodness, my feeling is: Can Apple make at least something these days that 'just works' ?
- randallsquared 6y agoI expect there is a hardware failure on your M1.
- lovelyviking 6y agoWhy you expect it ? I ran apple diagnostics. No issues found. The bugs I have described have other reasonable explanations.
- Meleagris 6y agoGreat info, thank you! I returned my first M1 Mac Mini to Apple because it would not boot into recovery mode. I suspect even Apple's Technical Support agents don't know this second recovery mode exists; they didn't attempt it at the time. Has anyone else had issues booting into recovery mode?
- wil421 6y agoNo issues booting into recovery with my M1 Air. Time machine kept failing and I had to boot into recovery and wipe my hard drive a few times.
- lovelyviking 6y agoYes, during the very first day! Without any power interrupts during OS reinstall.( see here https://news.ycombinator.com/item?id=26203799 https://news.ycombinator.com/item?id=26203799) I think Disk Utility in recovery partition has some serious bugs and it can make it 'not bootable'
- shawnz 6y agoI believe you could intentionally make it not bootable using Disk Utility if you delete the firmware partition (thus requiring a DFU mode recovery) but that is an expected behavior
- lovelyviking 6y agoYou could also delete firmware partition without such intent because Disk Utility will hang and do it for you, which is less expected I believe.
- shawnz 6y agoPresumably there is a remote chance of the firmware being unintentionally destroyed by crashing software on any computer system.
- LockAndLol 6y ago> What you then get is every bit as good as regular 1TR, with one significant exception: you can’t set the system security state using the Startup Security Utility. Apple explains that this is because “LLB [Low-Level Bootloader] doesn’t lock an indication into the Boot Progress Register saying it is going into recoveryOS”. But for all other purposes, this is just as good as 1TR, and is identical. What does this mean? Do you have more rights than you usually would, less rights, or the same?
- saagarjha 6y agoLess, you cannot alter security policies.
- lovelyviking 6y agoMacbook Air M1 doesn't have sd card reader. To 'save space' and for better comfort I believe. After a deep research I have found that Raspberry Pi manages to boot from such device. If Apple engineers only knew about such amazing feature of micro sd card reader. If they could just figure out how booting from micro-sd cards works they could do amazing things like booting Mac without a need for 'Another Mac' when recovery partition doesn't work!. Somebody, please tell Apple about this possibility. It's amazing technology !
- beervirus 6y agoYou can boot from USB.
- lovelyviking 6y agoNo you can't, when Apple silicon Mac with M1 cannot load Recovery options. It shows exclamation mark and url to go for support, where you learn that it would boot only with the help of 'another Mac' https://support.apple.com/en-us/HT211868 https://support.apple.com/en-us/HT211868
- beervirus 6y agoThe comment I was replying to was about booting from an SD card. There’s no reason to think that would work differently from the USB booting option that already exists.
- lovelyviking 6y ago>here’s no reason to think that would work differently from the USB booting Inability to boot my previous Mac from sd-card could be that reason? Or am I missing something? Because it was not possible to boot from sd-card last time I've tried.
- beervirus 6y agoWhat I’m saying is that there’s already the ability to boot from removable media (USB). If your problem with the existing solution is that it has some limitations, then it doesn’t make sense to demand SD boot, because it would probably have exactly the same limitations.
- lwhi 6y agoI don't understand why this should be hidden. Obfuscation leads to compromised security. If we don't know about this mode, how can we be sure it's not being used as an attack vector?
- deleted 6y ago[deleted]
- tonyedgecombe 6y agoIt's not hidden, the author of the post found out about it from Apple documentation.
- lwhi 6y agoAhh .. thx, in that case, the title is a bit misleading.
- lovelyviking 6y agoSure, it's just when I've got exclamation mark screen, apple didn't tell me that I have another boot option. Instead it told me to get access to another Mac with possible 'healthy' supply of COVID. If that is not 'hidden' then what it is? How would you describe it?
- spacedcowboy 6y agoA mistake ? I don’t see how something in the documentation for the platform is “hidden”. It’s sort of the definition of “not hidden”.
- lovelyviking 6y ago>A mistake ? Absolutely. This is why we will see very soon detailed instruction about second boot option instead of a black screen with exclamation mark. But if not, perhaps it wasn't a mistake. One could only hope.
- lovelyviking 6y ago
- titzer 6y agoAnd yet, when I had to return my M1 Macbook Pro 3 weeks back because of dead pixels, the dude at Best Buy told me that in order to wipe it, they had to update the OS because the version of the OS that came installed had a bug that would make the machine unbootable if they tried to do a factory reset from that version. So it had to download ~3gb to update the OS, just to wipe itself. That's just bonkers.
- crazygringo 6y agoI mean, bugs are most likely to be found in rarely used scenarios (like wiping) and also in the version of software that actually gets shipped with hardware, because it's got a non-negotiable tight release deadline. (Which is why many devices force an OS update from the internet before you can even use it for the first time.) Of all the places for a crazy bug like this to be found, this seems like one of the least bonkers. :) And the excellent thing about Apple is that if you did brick it, Apple would just exchange it for you for free since it's their own defect.
- lukeschlather 6y agoIt sounds like the M1 literally cannot be re-imaged from external media though, because the internal copy of the OS is so locked-down. Which fundamentally seems like a very Apple sort of disregard for providing tools for people to deal with failure modes. It also ensures the people actually solving the problem and the people who have the problem are never in the same room and never talk about what's going on.
- ThePowerOfFuet 6y agoThis is incorrect; you can do so with another Mac and Apple Configurator, just like it was an iOS device.
- 1over137 6y agoThese days a Mac basically is an iOS device.
- specialist 6y agoWow. Far cry from the POST stuff I once kinda knew. (Power-on self test.) I like this presentation of the Windows system. Maybe Eclectic or someone can write a Mac version. "In-depth dive into the security features of the Intel/Windows platform secure boot process" https://igor-blue.github.io/2021/02/04/secure-boot.html https://igor-blue.github.io/2021/02/04/secure-boot.html
- candycorn 6y agoApple wrote one: https://manuals.info.apple.com/MANUALS/1000/MA1902/en_US/apple-platform-security-guide.pdf https://manuals.info.apple.com/MANUALS/1000/MA1902/en_US/app...
- gist 6y agoWhat was the rational for Apple making the M1 Macs so difficult (for lack of a better way to say it) than the older macs. Example is currently you can't easily boot from an external drive [1] a feature that many people found very useful. [2] The answer to the question is not 'oh sure for security reasons'. I am wondering how making it so difficult for what I would call the majority of power or experienced or even regular users to do certain things on an M1 Mac. That is what is gained (so what is it?) vs. what is lost. Who threat is the audience protected against by doing it this way? Or is this just an artifact of the M1 Chip in some way and not something added after the fact? [1] https://www.shirt-pocket.com/blog/ https://www.shirt-pocket.com/blog/ [2] You could travel with an external drive and boot from another mac in a pinch.
- sys_64738 6y agoHardware Root of Trust means you have to assume an external boot device is compromised. Apple have their mechanisms for securing each step in the chain which is they enforce it out of the box. For 95% of users this is fine as it's only advanced experts who would need to use other booting technology after disabling HRoT chain. Apple makes it clear in big bold letters that you're compromising security by using alternative booting technology.
- gist 6y ago> Apple makes it clear in big bold letters that you're compromising security by using alternative booting technology. Can you give an example(s) of how you are compromising security? If I make my own boot drive and boot from it how am I compromising security? I can think of scenarios like the following but the way I see it this would be a corner case: "I somehow social engineer making a clone of a person's (say my wife/coworker (not computer literate)) hard/ssd drive. I then figure out a way to make their machine only boot from that drive by simply choosing that as the startup disk. I have installed some malware on that external drive that grabs or does something nefarious". In that case though with that kind of access I could have done similar on their internal drive since I have access to it already." My point is why do we assume that the external boot drive is compromised if it is being created by the person who owns the hardware? This seems like some kind of government or large company protection applied to the entire apple customer base. Why couldn't the device ship with the ability to turn off this protection?
- terry_y_comb 6y ago"requires you to press the Power button twice in rapid succession" Reminds me of video game cheat code
- kergonath 6y agoMacs have always had tons of these (such as the command-option-p-r to reset the NVRAM, option to show the list of bootable drives, I can’t remember which one to invoke OpenFirmware, etc).
- lovelyviking 6y agoFor those who is struggling with booting and putting M1 Mac even in DFU mode, this explanation works: https://www.youtube.com/watch?v=i5xmA3lDz3g https://www.youtube.com/watch?v=i5xmA3lDz3g Well almost. To make it really work in my case I had to restart Apple Configurator, because otherwise it would not see the other Mac. You can imagine how many boots and attempts you need to discover this. When I think about it now it could be I accidentally have entered to the second boot option and only this way it managed to put it in DFU. Hard to say now.
- swiley 6y agoAlmost every time I hear something new about the boot loader on these M1 Macs it's always something that on it's own would be a huge deal breaker. It's not even the weird ISA that causes this, Apple's PowerPC macs used standardized firmware with documentation. All of the crap they do to prevent their users from tampering with their own machines just makes them unusable.
- akie 6y ago> makes them unusable Such hyperbole.
- swiley 6y agoNot being able to quickly and easily whipe the machine when something goes wrong means it's practically unusable: There will always be accumulated state and it's much harder to safely get rid of.
- EricE 6y agoYou can quickly wipe the machine - it just works in a different way. Stating that the machine is practically unusable is indeed hyperbole since that statement is patently false.
- tomjen3 6y agoIf you deem Big Sur entirely unusable, I guess so. It has a few quirks that I don't like (mostly related to retarded fullscreen handling), but it has a bash terminal, can run Goland and is the only computer I have had any luck using my in ear sony head phones on.
- swiley 6y agoAt this point windows has a "bash terminal" and also comes with openssh preinstalled (which is all most people I know use their macs for anyway.) Furthermore, Apple stopped updating the bash in OSX and at this point it's crazy out of date. They even changed the default shell to zsh because of this.