Lesson 28: Troubleshoot Startup and System Issues Flashcards

• Describe the macOS startup process. • Examine the essential files and processes that are required to successfully start up. • Learn about macOS startup modes. • Troubleshoot startup and login processes.

1
Q

How does a Mac with Apple silicon or an Intel-based Mac with the T2 chip ensure security during macOS Big Sur startup?

A

A Mac with Apple silicon or an Intel-based Mac with the T2 chip verifies every step of the startup process to ensure that the hardware and software haven’t been tampered with.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the primary system initialization stages in macOS Big Sur?

What visual and audible cues do these stages provide?

A

Each primary stage of system startup can be indicated by the following cues:

  • Firmware: Power-on. POST. Startup chime (depending on model).
  • Booter: The booter process starts. The Apple logo appears in the center of the main display. (If the firmware can’t locate a booter file, your Mac displays a flashing folder icon with a question mark.)
  • Kernel: Kernel startup. The progress bar appears.
    • A spinning globe appears when your Intel-based Mac starts up from macOS Recovery over the Internet. The globe icon is replaced by the standard progress bar after the kernel is loaded.
    • If your Intel-based Mac is unsuccessful in an attempt to start up from macOS Recovery over the Internet, it displays a globe with an alert symbol.
    • If the booter can’t load the kernel, a prohibitory icon replaces the Apple icon
  • System launchd: Starting other items. The Apple logo is replaced with the login window.

See: If your Mac doesn’t start up all the way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does the firmware do?

What’s the Power-On Self-Test (POST)?

A

The firmware initializes the Mac computer’s hardware and locates the startup file on a system volume.

The POST checks for basic hardware functionality when a Mac powers on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What role does launchd serve during Mac startup?

A

launchd starts macOS Big Sur processes, manages macOS Big Sur initialization and starts the loginwindow process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are two locations for launchd to find preference files that control how various processes are configured?

A

During macOS Big Sur startup, launchd uses preference files for LaunchDaemons in the following locations:

  1. /System/Library/LaunchDaemons
  2. /Library/LaunchDaemons
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the primary user session stages in macOS Big Sur?

What visual and audible cues do these stages provide?

A

Each primary stage of a user session can be indicated by the following signs:

  • The login screen appears
  • launchd loads apps such as the Finder after user authentication
  • The user environment is active any time a user logs in to macOS Big Sur
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the differences between launch daemons, startup items, launch agents, and login items?

A

The launchd process (with the process identification number of 1) launches all other system processes, including launch daemons and startup items, during Mac startup.

When a user logs in, the launchd process running on behalf of the user account processes launch agents and login items.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are Safe Sleep, Standby, and Power Nap?

A

Safe Sleep and Standby are modes used by Mac that use very little or no power to safeguard data.

When a Mac goes to sleep, it copies the entire contents of system memory to an image file on the system volume.

This way, if your Mac stays in sleep mode long enough to completely drain the battery, no data is lost when your Mac has to turn off.

  • Safe Sleep: Your Mac enters this mode if the battery becomes completely drained or if you leave your Mac idle for a long time. To wake your computer, restart your Mac just like it was shut down. All Mac notebook models that are compatible with macOS Big Sur support this mode.
  • Standby: Your Intel-based Mac enters this mode as a power-saving standby when it’s in sleep mode and completely idle for more than three hours. To wake your Mac, interact with the keyboard, trackpad, or mouse. You don’t need to restart your computer.
  • Power Nap: Power Nap is a state that periodically runs updates while your Intel-based Mac is in sleep mode. The type of updated information varies depending on whether your Intel-based Mac is running on battery power or plugged into a power adapter.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What happens during user logout?

A

During user logout, the user’s loginwindow process performs these actions:

  • Requests that user apps quit
  • Automatically quits user background processes
  • Runs logout scripts
  • Records the logout to the main system.log file
  • Quits the user’s loginwindow and launchd processes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What happens during Mac shutdown?

A

When a Mac shuts down, loginwindow logs users out and then tells the kernel to quit the remaining macOS Big Sur processes.

Then the Mac shuts down.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you start up a Mac with Apple silicon in safe mode?

A

To start up a Mac with Apple silicon in safe mode, turn the Mac off.

Then press and hold the power button until startup disks and Options appear.

Press and hold the <kbd>Shift</kbd> key, then click Continue in Safe Mode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you start up an Intel-based Mac in safe mode?

A

To start up an Intel-based Mac in safe mode, press and hold down the <kbd>Shift</kbd> key during startup to initiate safe mode.

Release the <kbd>Shift</kbd> key when you see the login window.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

For a Mac with Apple silicon, which keyboard shortcut can you use to temporarily choose another startup disk?

A

For a Mac with Apple silicon, turn the Mac off.

Then press and hold the power button until startup disks and Options appear.

Select your startup disk (with your pointer or with the Left arrow and Right arrow keys), then click Continue or press Return.

See: HT211873

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

For an Intel-based Mac, which keyboard shortcut can you use to temporarily choose another startup disk?

A

For an Intel-based Mac, press and hold the <kbd>Option</kbd> key during startup to open Startup Manager.

Then you can temporarily choose another startup disk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What changes are made when macOS Big Sur starts up in safe mode?

A

Startup in safe mode performs the following permanent actions:

  • Verifies your startup disk and if there are issues, attempts to repair the system volume structure
  • Deletes kernel cache and other system cache files
  • Deletes font caches
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which items aren’t loaded when macOS Big Sur starts up in safe mode?

A

When macOS Big Sur performs a startup in safe mode, it doesn’t load:

  • Kernel extensions
  • Third-party launch agents
  • Third-party launch daemons
  • Third-party startup items
  • Third-party fonts
  • Any user login items
  • Any user-specific launch agents
17
Q

What happens if your macOS with a T2 Security Chip identifies errors and experiences failures during the secure startup process?

A

If your macOS with a T2 chip identifies errors and experiences failures during the secure startup, then your Mac will enter macOS Recovery, Apple T2 Security Chip recovery mode, or Apple T2 Security Chip Device Firmware Upgrade mode (T2 DFU mode).

18
Q

How do you select an Alternate System for Mac Computers with Apple Silicon?

A

For Mac computers with Apple silicon, you can change the startup system for one time, or change the startup system until you change it again.

To change the startup disk for a Mac with Apple silicon one time:

  1. Shut down your Mac.
  2. Press and hold the power button.
  3. When your Mac displays the startup options window, release the power button.
  4. Select your startup disk (with your pointer or with the Left Arrow and Right Arrow keys).
  5. Click Continue or press Return.

To change the startup disk for a Mac with Apple silicon until you change the setting again:

  1. Shut down your Mac.
  2. Press and hold the power button.
  3. When your Mac displays the startup options window, release the power button.
  4. Select your startup disk (with your pointer or with the Left Arrow and Right Arrow keys).
  5. Press and hold the Option key.
  6. Click Always Use or press Return.

Excerpt From: Arek Dreyer and Adam Karneboge. “macOS Support Essentials 11: Supporting and Troubleshooting macOS Big Sur”