iBoot

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Rodw (talk | contribs) at 18:14, 18 February 2018 (Disambiguated: kernelkernel (operating system)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

iBoot
Developer(s)Apple Inc.
Operating systemDarwin, macOS,[1] and iOS[2]
Platformx86, ARM
TypeBoot loader
LicenseProprietary software

iBoot is the stage 2 bootloader for all Apple products.[3] It replaces the old bootloader, BootX. Compared with its predecessor, iBoot improves authentication performed in the boot chain.[2]

For macOS, the boot process starts by running code stored in secured UEFI Boot ROM (first stage). Boot ROM has two primary responsibilities: to initialize system hardware (the POST component) and to select an operating system to run (the UEFI component).

For iOS, the boot process starts by running the device's Boot ROM code. In systems with S1 processors or A9 or earlier A-series processors, the Boot ROM loads the Low-Level Bootloader (LLB), which loads iBoot. In systems with newer processors, the Boot ROM loads iBoot itself. If all goes well, iBoot will then proceed to load the iOS kernel as well as the rest of the operating system.[4] If the LLB or iBoot fails to load iOS, or fails to verify iOS, the bootloader jumps to "Recovery mode"; otherwise it loads the remaining kernel modules.[2]

On macOS, iBoot is located in /System/Library/CoreServices/boot.efi.[5] Once the kernel and all drivers necessary for booting are loaded, the boot loader starts the kernel’s initialization procedure. At this point, enough drivers are loaded for the kernel to find the root device.[6]

References

  1. ^ "Darwin 9.2 Source Code". Apple Inc. Retrieved May 17, 2008.
  2. ^ a b c Ryan, Peter Y. A.; Naccache, David; Quisquater, Jean-Jacques (2016-03-17). The New Codebreakers: Essays Dedicated to David Kahn on the Occasion of His 85th Birthday. Springer. ISBN 9783662493014.
  3. ^ Hayes, Darren R. (2014-12-17). A Practical Guide to Computer Forensics Investigations. Pearson IT Certification. ISBN 9780132756150.
  4. ^ Apple Inc. (May 2016). "iOS Security Guide" (PDF). apple.com. Archived from the original (PDF) on February 27, 2016. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
  5. ^ "rEFIt - The Intel Mac boot process". refit.sourceforge.net. Retrieved 2017-08-26.
  6. ^ "The Early Boot Process". developer.apple.com. Retrieved 2017-08-26.

External links