World Library  
Flag as Inappropriate
Email this Article

BootX (Apple)

Article Id: WHEBN0021744029
Reproduction Date:

Title: BootX (Apple)  
Author: World Heritage Encyclopedia
Language: English
Subject: OS X, List of OS X technologies, Comparison of boot loaders, Good articles/Engineering and technology, Blued (Mac OS X)
Collection: Boot Loaders, Os X
Publisher: World Heritage Encyclopedia
Publication
Date:
 

BootX (Apple)

BootX
The BootX booting screen used on Macintoshes with Mac OS X 10.2 or later
Developer(s) Apple Inc.
Initial release August 24, 2002 (with Mac OS X 10.2)[1][2]
Development status Active
Operating system Darwin & Mac OS X[3]
Platform PowerPC[4]
Type Boot loader
License Apple Public Source License[5]

BootX is a software-based bootloader designed and developed by Apple Inc. for use on the company's Macintosh computer range. BootX is used to prepare the computer for use by loading all required device drivers and then starting-up Mac OS X by booting the kernel on all PowerPC Macintoshes running the Mac OS X 10.2 operating system or later versions.[2][6] Using BootROM, a read-only memory (ROM) computer chip containing OpenFirmware, a graphical bootsplash is shown briefly on all compatible Macintosh computers as a grey Apple logo with a spinning cursor that appears during the startup sequence.[7] The program is freely available as part of the Darwin operating system under the open source Apple Public Source License.[5] BootX was superseded by another nearly identical bootloader named boot.efi and an Extensible Firmware Interface ROM on the release of the Intel-based Mac.[4]

Contents

  • History 1
  • Features 2
  • Boot process 3
  • References 4
  • External links 5

History

Old World boot icon
New World boot icon

Older Macintoshes dating from 1983 until 1998 utilized a basic bootloader; the bootloader was solely a ROM chip varying in sizes up to 4 megabytes (MB), which contained both the computer code to boot the computer and to run the Mac OS operating system.[8] This was known as the Macintosh Toolbox, or the Old World ROM, and differs greatly from design the modern Macintosh which generally use a hard drive of large capacity to store the operating system. This bootloader was used in all Macintosh computers until mid-1998.[9]

With the advent of the iMac series of Macintoshes, the firmware was updated.[10] The ROM was reduced in size to 1 MB, called BootROM, and the remainder of the ROM was moved to the file Mac OS ROM in the Mac OS System Folder; stored on the hard drive.[9] This ROM used a full implementation of the OpenFirmware standard (contained in BootROM) and was named the New World ROM.[11]

In 2001, with the release of Mac OS X, the Mac OS ROM file was replaced with the BootX bootloader file,.[9] In 2002, with the release of Mac OS X 10.2, the historical "Happy Mac" start-up picture was replaced with a grey apple logo.[12] By introducing the Intel Mac in 2006, BootROM was replaced by the near identical Extensible Firmware Interface ROM (although Apple still calls it BootROM) and the boot.efi file.[4][13]

Features

To make the boot loader appealing to other operating system developers, Apple added features to allow flexibility in the booting process such as network boot using TFTP and load Mach-O and ELF formatted kernels. BootX can also boot from HFS, HFS+, UFS and ext2 formatted volumes.[14] The boot loader can be manipulated at startup by holding down various key combinations to alter the booting process. Such functions include Verbose Mode, achieved by holding down the Command and V key at startup, which replaces the default Apple logo with text-based information on the boot process and Single User Mode, achieved by holding down the Command and S, which, depending on the operating system, may boot into a more basic command-line or text-based version of the operating system, to facilitate maintenance and recovery action.[15] The ROM can also be set to require a password to access these technical functions using the OpenFirmware interface.[16]

Boot process

Mac OS X booting up in single-user mode

In PowerPC-based Macintoshes, the boot process starts with the activation of BootROM, the basic Macintosh ROM, which performs a Power On Self Test to test hardware essential to startup.[4] On the passing of this test, the startup chime is played and control of the computer is passed to OpenFirmware. OpenFirmware initializes the Random Access Memory, Memory Management Unit and hardware necessary for the ROM's operation. The OpenFirmware then checks settings, stored in NVRAM, and builds a list of all devices on a device tree by gathering their stored FCode information.[6]

On the completion of this task, BootX takes over the startup process configuring the keyboard and display, claiming and reserving memory for various purposes and checking to see if various key combinations are being pressed.[7] After this process has been completed BootX displays the grey Apple logo, spins the spinning wait cursor, and proceeds to load the kernel and some kernel extensions and start the kernel.[17]

References

  1. ^ "Jaguar "Unleashed" at 10:20 p.m. Tonight".  
  2. ^ a b Siracusa, John (September 5, 2002). "Mac OS X 10.2 Jaguar".  
  3. ^ "Darwin 9.2 Source Code".  
  4. ^ a b c d "System Startup Programming Topics: The Boot Process".  
  5. ^ a b "Apple Public Source License".  
  6. ^ a b Singh, Amit (2007) [2006]. "The Firmware and the Bootloader". Mac OS X Internals: A Systems Approach. Addison-Wesley. pp. 324–325.  
  7. ^ a b Singh, Amit. "Booting Mac OS X". kernelthread.com. Retrieved May 1, 2008. 
  8. ^ "Macintosh: ROM Size for Various Models".  
  9. ^ a b c Singh, Amit (2007) [2006]. "The Firmware and the Bootloader". Mac OS X Internals: A Systems Approach. Addison-Wesley. pp. 267–268.  
  10. ^ "Apple Announces Mac OS 9: The Best Internet OS Ever".  
  11. ^ "The Macintosh ROM and The NewWorld Architecture".  
  12. ^  
  13. ^ "Apple Unveils New iMac with Intel Core Duo Processor".  
  14. ^ Gerbarg, Louis. "BootX: The Mac OS X Bootloader" (PDF). Rensselaer Polytechnic Institute - Computer Science Department. pp. 7–8. Archived from the original on March 9, 2007. Retrieved May 1, 2008. 
  15. ^ "Mac OS X keyboard shortcuts".  
  16. ^ "Setting up firmware password protection in Mac OS X".  
  17. ^ Singh, Amit. "Mac OS X System Startup". kernelthread.com. Retrieved May 15, 2008. 

External links

  • Mac OS X at osxbook.com
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.