How mac os boots

Mac startup key combinations

Learn about the Mac features and tools that you can access by holding down one or more keys during startup.

On a Mac with Apple silicon

Turn on your Mac with Apple silicon and continue to press and hold the power button until you see the startup options window. From there you can start up from a different disk, start up in safe mode, use macOS Recovery, and more. Learn more about these options, including macOS Recovery.

On an Intel-based Mac

To use any of these key combinations, press and hold the keys immediately after pressing the power button to turn on your Mac, or after your Mac begins to restart. Keep holding until the described behavior occurs.

  • Command (⌘)-R: Start up from the built-in macOS Recovery system. Or use Option-Command-R or Shift-Option-Command-R to start up from macOS Recovery over the internet. macOS Recovery installs different versions of macOS, depending on the key combination you use. If your Mac is using a firmware password, you’re prompted to enter the password.
  • Option (⌥) or Alt: Start up to Startup Manager, which allows you to choose other available startup disks or volumes. If your Mac is using a firmware password, you’re prompted to enter the password.
  • Option-Command-P-R:Reset NVRAM or PRAM. If your Mac is using a firmware password, it ignores this key combination or starts up from macOS Recovery.
  • Shift (⇧): Start up in safe mode. Disabled when using a firmware password.
  • D: Start up to the Apple Diagnostics utility. Or use Option-D to start up to this utility over the internet. Disabled when using a firmware password.
  • N: Start up from a NetBoot server, if your Mac supports network startup volumes. To use the default boot image on the server, press and hold Option-N instead. Disabled when using a firmware password.
  • Command-S: Start up in single-user mode. Disabled in macOS Mojave or later, or when using a firmware password.
  • T: Start up in target disk mode. Disabled when using a firmware password.
  • Command-V: Start up in verbose mode. Disabled when using a firmware password.
  • Eject (⏏) or F12 or mouse button or trackpad button: Eject removable media, such as an optical disc. Disabled when using a firmware password.

If a key combination doesn’t work at startup, one of these solutions might help:

  • Press and hold all keys in the combination together, not one at a time.
  • Shut down your Mac. Then press the power button to turn on your Mac. Then press and hold the keys as your Mac starts up. You might need to wait a few seconds before pressing the keys, to give your Mac more time to recognize the keyboard as it starts up. Some keyboards have a light that flashes briefly at startup, indicating that the keyboard is recognized and ready for use.
  • If you’re using a wireless keyboard, plug it into your Mac, if possible. Or use your built-in keyboard or a wired keyboard. If you’re using a keyboard made for a PC, such as a keyboard with a Windows logo, try a keyboard made for Mac.
  • If you’re using Boot Camp to start up from Microsoft Windows, set Startup Disk preferences to start up from macOS instead. Then shut down or restart and try again.

Источник

How to create a bootable installer for macOS

You can use an external drive or secondary volume as a startup disk from which to install the Mac operating system.

These advanced steps are primarily for system administrators and others who are familiar with the command line. You don’t need a bootable installer to upgrade macOS or reinstall macOS, but it can be useful when you want to install on multiple computers without downloading the installer each time.

What you need to create a bootable installer

  • A USB flash drive or other secondary volume formatted as Mac OS Extended, with at least 14GB of available storage
  • A downloaded installer for macOS Big Sur, Catalina, Mojave, High Sierra, or El Capitan
Читайте также:  Drivers amd high definition audio device windows 10

Download macOS

  • Download: macOS Big Sur, macOS Catalina, macOS Mojave, or macOS High Sierra
    These download to your Applications folder as an app named Install macOS [ version name ]. If the installer opens after downloading, quit it without continuing installation. To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.
  • Download: OS X El Capitan
    This downloads as a disk image named InstallMacOSX.dmg. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer.

Use the ‘createinstallmedia’ command in Terminal

  1. Connect the USB flash drive or other volume that you’re using for the bootable installer.
  2. Open Terminal, which is in the Utilities folder of your Applications folder.
  3. Type or paste one of the following commands in Terminal. These assume that the installer is in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you’re using. If it has a different name, replace MyVolume in these commands with the name of your volume.

Big Sur:*

Catalina:*

Mojave:*

High Sierra:*

El Capitan:

* If your Mac is using macOS Sierra or earlier, include the —applicationpath argument and installer path, similar to the way this is done in the command for El Capitan.

After typing the command:

  1. Press Return to enter the command.
  2. When prompted, type your administrator password and press Return again. Terminal doesn’t show any characters as you type your password.
  3. When prompted, type Y to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the volume is erased.
  4. After the volume is erased, you may see an alert that Terminal would like to access files on a removable volume. Click OK to allow the copy to proceed.
  5. When Terminal says that it’s done, the volume will have the same name as the installer you downloaded, such as Install macOS Big Sur. You can now quit Terminal and eject the volume.

Источник

# Understanding the macOS Boot Process

So with troubleshooting a hackintosh, it can be a bit difficult to really understand where you’re getting stuck as the exact keyword you’re trying to search for may not match anything on google. While this page won’t solve all your issues, it should at least help better understand where in the macOS boot-process you’re getting stuck and hopefully give some ideas as to why you’re stuck.

# OpenCore Booting

This section will be brief, as OpenCore boot issues are fairly rare and usually simple user error:

  • System powers on and searches for boot devices
  • System locates BOOTx64.efi on your OpenCore USB under EFI/BOOT/
  • BOOTx64.efi is loaded which then chain-loads OpenCore.efi from EFI/OC/
  • NVRAM Properties are applied
  • EFI drivers are loaded from EFI/OC/Drivers
  • Graphics Output Protocol(GOP) is installed
  • ACPI Tables are loaded from EFI/OC/ACPI
  • SMBIOS Data is applied
  • OpenCore loads and shows you all possible boot options
  • You now boot your macOS installer

If you’re having issues booting at this point, main things to check for:

For the rest of the possible issues, see here:

# boot.efi Handoff

This is where macOS’s bootloader(boot.efi) comes onto the scene, specifically what it does is prep the environment for the kernel to load and where OpenCore injects kexts. If you’re getting stuck at this point, there’s likely an issue with loading the kernel, main culprits:

For the rest of the possible issues, see here:

Note: In macOS 10.15.4, Apple changed the boot.efi debugging protocol, so things will look quite a bit different from before but all the same rules still apply

# XNU/Kernel Handoff

Now that boot.efi has setup everything for us, we now get to watch the kernel do it’s thing. This section is commonly referred as the Rooting phase

This section is where SMBIOS data is verified, ACPI tables/Kexts are loaded and macOS tries to get everything in order. Failures here are generally a result of:

  • Corrupted SSDTs
  • Corrupted kexts(or incorrectly setup under your config.plist -> Kernel -> Add)
  • Messed up memory map

See here for more troubleshooting info:

Now here we have [ PCI configurations begin ] , this section can be seen as a hardware test for our systems, kexts and SSDTs we injected, and where IOKit starts hardware probs to find devices to attach to.

The main things that are tested here:

  • Embedded Controllers
  • Storage(NVMe, SATA, etc)
  • PCI/e
  • NVRAM
  • RTC
  • PS2 and I2C

For more specific info on how to get around this area, see here:

Читайте также:  Скрытые фишки mac os

This is where the 15 port limit and USB mapping comes into play, and where the infamous «Waiting for Root Device» errors pops in, main things to check for:

This is where our FakeSMC/VirtualSMC come into the scene and do their magic, DSMOS itself is a kext that verifies if your system has an SMC and will request a key. If this key is missing, then DSMOS will not decrypt the rest of the binaries and you’ll get stuck here. You may also get stuck at AppleACPICPU which is just the same error.

Source: Dont Steal Mac OS X.kext

This is where Apple’s audio driver comes in, and where AppleALC shines. Generally rare to see issues here but if you do, try disabling AppleALC and any other audio related kexts.

And here we get to the GPU driver initialization, and where WhateverGreen also does its magic. Generally errors here are due to the GPU and not WhateverGreen itself, main culprits:

# macOS Handoff

And you’ve finally got past all that verbose! If you’re getting stuck at the Apple logo after all that verbose, then there’s a couple things to check for:

Источник

How to start up your Mac from a bootable CD/DVD, USB thumb drive or external storage device

macOS can start up your Mac in a myriad of ways. We’ve already covered some of them in detail, such as using built-in Startup Manager to pick a disk to startup your Mac from and booting into Safe, Verbose and Target Disk modes.

In this article, we get to talk about starting your Mac up from external storage like optical media or an external USB-based hard drive or flash storage. Booting from an external storage allows you to start up your Mac in another version or copy of macOS, Additionally, it can help you troubleshoot certain issues, and more.

Requirements

Starting up your Mac from an external disk requires the following:

  • Intel-based Mac
  • Bootable optical media (CD or DVD) on Macs equipped with Apple’s Super Drive or a USB thumb drive formatted with a GUID partition type and containing a macOS installer or a usable operating system.

Apple advises against booting from external storage containing a version of macOS earlier than the one your Mac shipped with.

How to start up your Mac from a bootable CD/DVD

1) Firstly, turn on your Mac, or restart it if it’s already on by choosing Restart in the Apple menu.

2) Secondly, press and hold the C key on your keyboard immediately upon hearing the startup chime. Your Mac should start up from the macOS installer CD/DVD media. You can also press the left mouse button on a wired mouse during startup to open the disc tray.

Tip: You can easily burn a bootable image of macOS to a DVD using Disk Utility.

How to start up your Mac from an external USB storage device

If your USB thumb drive, USB external disk or flash storage contains a usable operating system or a macOS installer, you can select it at boot time using macOS’ built-in feature called Startup Manager, which can be invoked via a simple keystroke.

1) Turn on or restart your Mac.

2) Press and hold the Option key immediately upon hearing the startup chime. Release the key after Startup Manager appears. Startup Manager will scan and list connected drives and volumes that can be booted from, as shown below.

3) Highlight the volume you want to use by using your mouse or trackpad, or left and right arrow keys on the keyboard.

4) Double-click or press the Return key to boot your Mac from the selected volume.

Tip: If there are several USB storage devices connected to your Mac, Startup Manager will only list the ones containing bootable volumes.

How to start up your Mac from an external volume using System Preferences

You can use System Preferences to tell your Mac to automatically use optical media or an USB-based external disk or flash storage every time it’s restarted.

1) Open the System Preferences application in the Dock.

2) Now click the Startup Disk pane. You will be presented with various disk icons.

3) Select the system you would like to use to start your computer up.

4) Now click the Restart button to start up your Mac using the chosen volume.

Tip: Your Mac will now always boot into the selected startup disk. However, you can change that in System Preferences, or temporarily override it through Startup Manager.

Troubleshooting startup issues

Should you run into problems whilst attempting to boot your Mac from an external storage device, consult our FAQ below. It will help troubleshoot any start up issues you may be plagued with.

Is the storage device to an external power supply?

Depending on its model and power requirements, it may be necessary to connect your USB storage device to an external power supply.

Is the storage device connected and turned on?

Make sure your external storage is turned on and connected to your Mac. USB-based external hard disks usually have the power on/off button at the back of the enclosure.

Читайте также:  Mac os high sierra восстановление системы

Does your disk need repair?

If your Mac doesn’t boot from an external volume or the drive doesn’t show up in Startup Manager even though it contains a bootable copy of macOS, it might need repair.

The first order of business should be attempting to repair disk permissions in Disk Utility. In the worst case scenario, you might need to reinstall macOS on the external volume.

Did you try using a different USB port?

If you own a MacBook or MacBook Pro, try using a different USB port if you cannot startup from the external USB storage device.

Has the disk been formatted with a GUID partition type?

Intel-based Macs support starting from an external USB storage device’s volume that has been formatted with a GUID partition type.

Does your Mac shut down automatically upon connecting the disk?

Apple states that a MacBook Air contains a preventive measure which prompts the computer to shut down automatically if the connected USB storage device has issue or if the USB port on the MacBook Air itself is damaged.

Are you using Boot Camp?

If you’re using Boot Camp in a dual-boot Windows/macOS environment, you may be unable to boot natively into supported versions of Microsoft Windows XP, Windows Vista or Windows 10 operating systems installed on external USB hard drive.

Are you using an external USB hub?

Using an external hub to connect several USB devices may cause your Mac to fail recognizing them at boot time. Try connecting the USB drive to another port on the hub. Should that fail, connect the disk directly into your Mac’s USB port. Keep in mind that some USB hubs and external USB storage devices need an external power supply, depending on their power requirements.

Is the disk connected to the keyboard’s USB port?

Both wired and wireless Apple Keyboard, and some other keyboards with built-in USB ports, may not supply enough power to some external USB hard drives.

Is the disk bootable?

Make sure the external drive you’re trying to start from contains a usable operating system. Volumes that aren’t bootable and don’t contain a copy of a valid operating system aren’t listed in Startup Disk or Startup Manager.

Are you using wireless keyboard?

If you use an Apple Wireless Keyboard or another Bluetooth keyboard with your Mac, keystrokes won’t be recognized during the startup process because Bluetooth isn’t initialized at boot time. Connect a wired keyboard or use the built-in keyboard if you own a Mac notebook. The same disclaimer applies to holding the left button on a wireless mouse during bootup to open the disc tray.

Other ways to start up your Mac

In addition to what we already discussed above, your Mac can start up in a number of different ways, including the following methods that our tutorials provide step-by-step instructions for:

Safe Mode

You can invoke it by pressing and holding the Shift key after hearing the startup chime. Safe Mode disables certain features of macOS and loads only essential components to make troubleshooting software issues simpler. It also includes an automatic disk check and repair which might resolve boot problems and allow you to start up your computer successfully.

Verbose Mode

Verbose Mode is a text-only environment which displays status messages as the startup process progresses. Press and hold the Command – V key combination after hearing the startup chime to enter Verbose Mode. You can use this mode to troubleshoot startup issues and resolve problems with kernel extensions and custom hardware while allowing you to see exactly what’s going on behind the scenes as macOS loads its components.

Target Disk Mode

Target Disk Mode allows a Mac to be used as an external hard disk connected to another Mac. To enter Target Disk Mode, turn on your Mac and hold down the T key immediately upon hearing the startup chime. Once the computer is in Target Disk Mode and available as an external volume to the host Mac, you can copy files to or from that volume. You can start up any Mac with a FireWire or Thunderbolt port in Target Disk Mode.

Startup Manager

macOS’ built-in Startup Manager allows you pick a volume to start your Mac up from at boot time, which temporarily overrides your startup disk defaults set in System Preferences. Just turn on your Mac, hold the Option key after the startup chime and release it after Startup Manager appears.

System Preferences

To change your default startup disk, use the Startup Disk pane in the System Preferences application. Your Mac will boot into the selected disk until you choose another one or temporarily override your selection using Startup Manager at boot time.

See also:

Please bookmark the article for later as you never know when it might come in handy.

Источник

Оцените статью