Chapter 13

Troubleshooting Your MacBook

image

To keep your MacBook running well, you need to perform basic maintenance, such as emptying the Trash, updating macOS and your apps with the latest fixes, and backing up your files. You may also need to troubleshoot your MacBook, solving problems such as corrupt preferences files, disk permission errors, or drive failure.

Using the macOS Help System

Reclaim Space by Emptying the Trash

Keep Your MacBook Current with Updates

Control Checking for Software Updates

Back Up Your Files

Recover Files from Backup

Recover When macOS Crashes

Troubleshoot Corrupt Preference Files

Run First Aid from Within macOS

Run First Aid from macOS Utilities

Reinstall macOS to Solve Severe Problems

Using the macOS Help System

macOS has a built-in help system that enables you to solve problems that you encounter when using your MacBook and its software. You can launch the help system from the menu bar of the Finder. You can then either browse or search to find the information you need.

Most apps that run on macOS include help files. In such apps, you can use the Help menu at the right end of the menu bar to browse or search the help files.

Using the macOS Help System

image

001.eps Click anywhere on the desktop.

The Finder becomes active.

002.eps Click Help.

The Help menu opens.

003.eps Click Mac Help.

image

The Mac Help window opens.

dga.eps You can click Browse topics to display a sidebar on the left of the window containing a navigable hierarchy of help topics.

004.eps Click the Search box.

005.eps Start typing a question or some keywords.

dgb.eps Search results appear in the Suggestions list as you type.

006.eps Click the appropriate search result.

image

The Mac Help window shows a list of topics related to your search terms.

007.eps Click the topic you want to view.

image

Mac Help displays the topic.

dgc.eps Click a link to open another topic, an app or utility, or a web page.

dgd.eps Click Back (image) to return to the previous screen you viewed.

008.eps When you finish using Help, click Close (image).

The Mac Help window closes.

Reclaim Space by Emptying the Trash

In macOS, the Trash is a receptacle for files you delete from your MacBook’s drives. Any file you place in the Trash remains there until you empty the Trash, or until the Trash runs out of space for files and automatically deletes the earliest files it contains; until then, you can recover the file from the Trash. You can reclaim drive space by emptying the Trash manually.

Reclaim Space by Emptying the Trash

image

Empty the Trash

001.eps Click Trash (image) on the Dock.

Note: If the Trash icon on the Dock is the empty Trash can (image), the Trash is already empty.

image

002.eps Look through the files and folders in the Trash to make sure it contains nothing you want to keep.

To quickly view the contents of a file, use Quick Look. Click the file, and then press image.

Note: You cannot open a file while it is in the Trash. If you want to open a file, you must remove it from the Trash.

003.eps Click Empty.

image

A dialog opens to confirm that you want to permanently erase the items in the Trash.

Note: You can turn off the confirmation of deleting files. Click Finder and then click Preferences. Click Advanced and then click Show warning before emptying the Trash (image changes to image).

004.eps Click Empty Trash.

macOS empties the Trash and then closes the Finder window.

image

Restore a File or Folder to Its Previous Location

001.eps In the Trash folder, click the file or folder.

002.eps Click Action (image).

003.eps Click Put Back.

Note: You can also press image + click an item and click Put Back on the contextual menu.

macOS restores the file or folder to its previous location.

Note: To move a file from the Trash to another folder, drag the file to that folder. For example, you can drag a file to the desktop.

Keep Your MacBook Current with Updates

You can use the App Store app built into macOS to check for updates to your MacBook, its operating system, and your App Store apps. When the App Store app finds updates, you can choose which to install.

Your MacBook must be connected to the Internet when you check for updates and download them. You can install most updates when your MacBook is either online or offline. Some updates require restarting your MacBook.

Keep Your MacBook Current with Updates

image

dga.eps macOS may display an Updates Available dialog prompting you to install updates. You can click Updates Available to go to the Updates tab in the App Store app, click Install to install the updates immediately, or click Later to install the updates later.

dgb.eps A badge on the App Store icon indicates the number of updates available.

001.eps Click App Store (image) on the Dock.

Note: You can also open the App Store app by clicking Apple (image) and then clicking App Store.

image

The App Store app opens.

002.eps Click Updates.

The Updates pane appears.

App Store automatically checks for updates.

If updates are available, the Updates Available list shows the details.

Note: If the message No Updates Available appears, go to step 5.

dgc.eps You can install an individual update by clicking Update. If the update requires a restart, click Restart.

dgd.eps You can click More to display full details of an update.

003.eps To install all the updates, click Update All.

image

Note: You can set the App Store app to install updates or remind you later. Click image next to Update All and then click Try in an Hour, Try Tonight, or Remind Me Tomorrow, as needed.

Note: If installing the updates requires a restart, App Store displays a dialog. Click Restart to restart now. Alternatively, click Later and then click Install in an Hour, Install Tonight, or Remind Me Tomorrow.

dge.eps macOS installs the updates, restarting your MacBook if necessary.

image

dgf.eps The App Store app checks for updates and displays the result of the check.

Note: If App Store finds further updates, click Update All to install them.

004.eps Click Close (image).

The App Store app closes.

Control Checking for Software Updates

The App Store app enables you to easily check for software updates available through the App Store. These include updates for macOS itself, the apps that Apple releases, and third-party apps sold through the App Store. To keep your MacBook running smoothly and protect it from both online and offline threats, you should apply software updates when they become available.

You can configure the App Store app to check automatically for updates on a schedule. You can also check for updates manually.

Control Checking for Software Updates

image

001.eps Click System Preferences (image) on the Dock.

Note: You can also open System Preferences by clicking Apple (image) on the menu bar and then clicking System Preferences.

The System Preferences window opens.

002.eps Click App Store (image).

image

The App Store preferences pane appears.

003.eps Click Automatically check for updates (image changes to image).

004.eps Click Download newly available updates in the background (image changes to image) if you want to download updates.

Note: Downloading updates in the background is usually helpful, because you can then install the updates quickly.

005.eps Click Install app updates (image changes to image) if you want to install app updates automatically.

image

006.eps Click Install macOS updates (image changes to image) if you want to install operating system updates automatically.

007.eps Click Install system data files and security updates (image changes to image).

008.eps Click Automatically download apps purchased on other Macs (image changes to image) if you want to automatically add apps you buy on other Macs using the same Apple ID to your MacBook.

image

dga.eps You can click Check Now to check for updates.

009.eps Click Purchases and In-app Purchases (image) and then click Always Require or Require After 15 Minutes, as needed.

Note: For security, choose Always Require for both Purchases and In-app Purchases and Free Downloads.

010.eps Click Free Downloads (image) and then click Require Password or Save Password, as needed.

011.eps Click Close (image).

System Preferences closes.

Back Up Your Files

To enable you to keep your valuable files safe, macOS includes an automatic backup application called Time Machine. Time Machine automatically saves copies of your files to an external drive or an AirPort Time Capsule. You can choose what drive to use, how frequently to back up your files, and what folders to include.

To protect your data, you must back up your files. Time Machine is the most convenient choice because it takes only a few minutes to set up and thereafter runs automatically.

Back Up Your Files

image

001.eps If you will use an external drive for Time Machine, connect the drive to your MacBook.

002.eps Press image + click System Preferences (image) on the Dock.

The contextual menu appears.

003.eps Click Time Machine.

The System Preferences window opens, showing the Time Machine preferences pane.

004.eps Click Back Up Automatically (image changes to image).

image

The Select Disk dialog opens.

005.eps Click the drive or AirPort Time Capsule you want to use for backup.

dga.eps You can click Encrypt backups (image changes to image) to encrypt your backups.

006.eps Click Use Disk.

The Select Disk dialog closes.

dgb.eps You can click Show Time Machine in menu bar (image changes to image) to give yourself easy access to Time Machine.

007.eps Click Options.

image

The Options dialog opens.

008.eps Click Back up while on battery power (image changes to image) if you want your MacBook to perform backups even when it is running on battery power.

009.eps Click Notify after old backups are deleted (image changes to image) if you want notifications of deletions.

010.eps Click Add (image).

image

A dialog opens.

011.eps Select each drive or folder you want to exclude from backup.

012.eps Click Exclude.

The dialog closes, and Time Machine adds the items to the Exclude These Items from Backups dialog.

013.eps Click Save.

The Options dialog closes.

014.eps Click Close (image).

The System Preferences window closes.

Recover Files from Backup

The Time Machine feature enables you to easily recover files from your backups. So when you delete a file by accident, or discover that a file has become corrupted, you can recover the file from backup by opening Time Machine. You can recover either the latest copy of the file or an earlier copy.

If you still have the current copy of the file that you recover, you can choose whether to overwrite that copy or keep it. Time Machine refers to this copy as the “original” file.

Recover Files from Backup

image

Note: This section shows you how to recover files using the Finder. To recover old data within Contacts, Calendar, or Mail, open the appropriate app and make it active before giving the Enter Time Machine command.

001.eps Click Time Machine (image) on the menu bar.

The Time Machine menu opens.

002.eps Click Enter Time Machine.

Note: If the Time Machine status icon does not appear on the menu bar, click Launchpad (image) on the Dock, and then click Time Machine (image) on the Launchpad screen.

image

Time Machine opens.

dga.eps The front window shows your MacBook’s drive or drives in their current state.

dgb.eps Backups of the selected drive or folder appear in the windows behind it, newest at the front.

dgc.eps The timeline on the right shows how far back in time the available backups go.

003.eps Click the date or time from which you want to recover the files or folders.

image

Time Machine brings the backup you chose to the front.

004.eps Select the item or items you want to restore.

005.eps Click Restore.

image

Time Machine disappears.

If restoring a file will overwrite the current version, the Copy dialog opens.

006.eps Choose how to handle the file conflict:

dgd.eps Click Replace to replace the current file with the older file.

dge.eps Click Keep Original to keep the current file.

dgf.eps Click Keep Both to keep both versions of the file. Time Machine adds “(Original)” to the name of the current version.

Recover When macOS Crashes

Normally, macOS runs stably and smoothly, but sometimes the operating system may suffer a crash. Crashes can occur for various reasons, including power fluctuations, bad memory modules, an app that has been corrupted, or problems with disk permissions.

Your MacBook may detect that the crash has occurred and display an informational message, but in other cases the MacBook’s screen may simply freeze and continue displaying the same information. Normally, you can recover from a crash by turning off your MacBook’s power and then turning it on again.

Recover When macOS Crashes

image

Recover from the Screen Freezing

001.eps If the pointer shows the “wait” cursor that looks like a spinning beach ball, wait a couple of minutes to see if macOS can recover from the problem. If the pointer has disappeared, go straight to step 2.

002.eps To verify that your MacBook is not responding, press keys on the keyboard or move your fingers on the trackpad.

image

003.eps Press and hold image + image and press the MacBook’s power button.

004.eps If the MacBook does not respond to that key combination, press and hold the MacBook’s power button for about 4 seconds.

The MacBook turns off.

005.eps Wait at least 8 seconds, and then press the power button once to restart the MacBook.

image

Recover from a Detected Crash

When your MacBook detects a macOS crash, it dims the screen and displays a message in the center.

001.eps Read the message for information.

002.eps Press and hold the MacBook’s power button for about 4 seconds.

The MacBook turns off.

003.eps Wait at least 8 seconds, and then press the power button once to restart the MacBook.

image

Note: Depending on how your MacBook is configured, macOS may log you in automatically or display the Login dialog.

The login screen appears.

004.eps Click your username, and then log in to your account as normal.

Troubleshoot Corrupt Preference Files

macOS and many apps enable you to set preferences to customize the way they run. Each app stores its configuration in a special file called a preference file. Sometimes a preference file becomes corrupted, which may prevent the app from running properly or cause it to crash.

To fix the problem, you delete the preference file. This forces the app to create a new preference file from scratch with default settings. When the app is running properly again, you can choose your custom settings again.

Troubleshoot Corrupt Preference Files

image

001.eps Quit the problem app if it is running. Click the app’s menu, such as the Contacts menu for the Contacts app, and then click the Quit command, such as Quit Contacts.

Note: If you cannot quit the app by using its Quit command, force quit it. Press image + click the app’s Dock icon and click Force Quit on the contextual menu.

002.eps Click an open space on the desktop.

image

The Finder becomes active.

003.eps Click Go.

The Go menu opens.

004.eps Press and hold image.

The Library item appears on the Go menu.

Note: macOS hides the Library item on the Go menu until you press image.

005.eps Click Library.

image

The contents of the Library folder appear.

006.eps Click Preferences.

The contents of the Preferences folder appear.

007.eps Click the preference file for the problem application. See the tip for help on identifying the file.

Note: If the application has two or more preference files, move them all to the Trash.

008.eps Click Action (image).

The Action menu opens.

009.eps Click Move to Trash.

macOS moves the file to the Trash.

010.eps Click Close (image).

image

The Finder window closes.

011.eps Start the application. Continuing the example, click Contacts (image) on the Dock.

The application creates a new preference file containing default settings.

012.eps Set preferences in the application. In most applications, click the application’s menu and click Preferences to open the Preferences window.

The application saves your preferences in the new preference file.

Run First Aid from Within macOS

macOS includes automatic tools for fixing minor problems that may occur as your MacBook runs. Normally, the operating system resolves these problems in the background without your involvement.

However, sometimes your MacBook may exhibit disk problems that these automatic tools cannot fix. In such cases, you can run the First Aid tool from within macOS to try to resolve the issue.

Run First Aid from Within macOS

image

001.eps Click Launchpad (image) on the Dock.

The Launchpad screen appears.

002.eps Press image.

Launchpad displays only those items that include a word starting with D.

003.eps Click Disk Utility.

image

Disk Utility opens.

004.eps Click your MacBook’s drive.

The controls for manipulating the drive appear.

005.eps Click First Aid.

The Would You Like to Run First Aid? dialog opens.

006.eps Click Run.

Note: If the First Aid Needs to Temporarily Lock the Boot Volume dialog opens, click Continue. Locking the boot volume may prevent apps from responding normally during the First Aid operation.

image

dga.eps Disk Utility searches for problems and resolves any that it can resolve. The process may take several minutes. If possible, avoid using your MacBook during the scan.

007.eps Click Show Details if you want to see details of the repairs.

image

Disk Utility informs you when the First Aid process is complete.

008.eps Click Done.

The dialog closes.

009.eps Click Close (image).

Disk Utility closes.

Run First Aid from macOS Utilities

If your MacBook will not start, you may be able to fix the problem by running First Aid. To do so, you start your MacBook from the recovery partition, which contains tools called macOS Utilities for recovering from problems. macOS Utilities enables you to launch the Disk Utility tool from outside macOS when the operating system is not working.

Run First Aid from macOS Utilities

image

001.eps Start your MacBook by pressing the power button.

Note: If your MacBook is running, restart it by clicking Apple (image) and then pressing image + clicking Restart.

002.eps At the startup chime, press and hold image + image until the Apple logo appears.

Your MacBook starts from the recovery partition.

The macOS Utilities screen appears.

003.eps Click Disk Utility.

004.eps Click Continue.

image

The Disk Utility window opens.

005.eps Click your MacBook’s internal drive.

The controls for manipulating the drive appear.

006.eps Click First Aid.

The Would You Like to Run First Aid? dialog opens.

007.eps Click Run.

image

Disk Utility analyzes the drive and repairs problems, displaying its progress as it does so.

Disk Utility informs you when the First Aid process is complete.

008.eps Click Done.

image

The dialog closes.

009.eps Click Disk Utility.

The Disk Utility menu opens.

010.eps Click Quit Disk Utility.

Disk Utility closes, and the Install macOS dialog opens.

011.eps Click macOS Utilities.

The macOS Utilities menu opens.

012.eps Click Quit macOS Utilities.

A confirmation dialog opens.

013.eps Click Restart.

Your MacBook restarts into macOS from the internal drive.

Reinstall macOS to Solve Severe Problems

If your MacBook suffers severe software damage, macOS may not be able to run. When this happens, you can fix the problem by reinstalling macOS. You may also need to reinstall macOS if your MacBook runs but crashes frequently and you are not able to restore stability by repairing the permissions or repairing the disk.

macOS normally includes a recovery partition that enables you to begin reinstalling the operating system. Once connected to the Internet, your MacBook can then download the files it needs from Apple’s servers and complete the reinstallation.

Reinstall macOS to Solve Severe Problems

image

001.eps Press the power button.

002.eps At the startup chime, press and hold image + image until the Apple logo appears.

Your MacBook starts from the recovery partition.

Note: If your MacBook does not have a recovery partition, you may be able to use the Internet Recovery feature to download the files required for starting recovery. Follow the prompts to connect to a Wi-Fi network and download the files.

The macOS Utilities screen appears.

003.eps Click Reinstall macOS.

004.eps Click Continue.

image

The Install macOS screen appears.

005.eps Click Continue.

The Software License Agreement screen appears.

006.eps Click Agree.

A confirmation dialog opens.

007.eps Click Agree.

image

The screen for selecting the installation disk appears.

dga.eps If a disk is grayed out, you cannot select it.

008.eps Click the disk.

009.eps Click Install.

Note: If the Sign In to Download from the App Store dialog opens, type your Apple ID and your password, and then click Sign In.

image

Install macOS begins downloading the components it needs to install macOS.

010.eps After the reinstallation finishes and your MacBook restarts, log in. You can then access your files as before.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.180.111