Power Lines Down Mac OS
Mac or MacBook stuck when shutting down or restarting? How to fix?
You might finish work on your Mac, attempt to shut it down, only to find that it is stuck on a desktop picture without any icons. Or perhaps the MacBook freezes on a black screen, but you can still hear sounds from the device (HDD, etc.) Furthermore, you might attempt to unplug the power adapter and remove the battery, but still notice that the computer has not completely shut down. If you encounter these issues when attempting to restart or shut down a Mac computer, this article may be useful.
Reinstall Mac OS X. We are back on page one as we need to heed the only call left. Shut down your Mac. Press down the Command and R Keys to power the Mac back up again. The window that pops up titled Mac OS X Utilities has got an option- Reinstall Mac OS X. That's the final call, dear user. 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.
Shut down the computer. Disconnect the MagSafe power adapter from the computer, if it's connected. Remove the battery. Press and hold the power button for 5 seconds.
Unfortunately, many people encounter these problems, which commonly arise following an operating system update. Windows users who have recently switched to a Mac computer will probably not be too surprised, since this is a common issue on Windows platforms. Fortunately, Macs have built-in tools to solve these problems. The first step when troubleshooting these issues is to force the Mac to shut down and reset System Management Controller (SMC) and Non-Volatile Random-Access Memory (NVRAM). Follow this guide to resolve Mac restart and shut down issues.
Table of Contents:
It is recommended to run a free scan with Combo Cleaner - a tool to detect malware and fix computer errors. You will need to purchase the full version to remove infections and eliminate computer errors. Free trial available.
What is SMC and what is its function?
System Management Controller (SMC) is a low-level Mac hardware component that controls computer power consumption, battery charging and functionality, thermal and fan activity, GPU and video mode functionality/video output, sleep/wake modes and led lightning management, and other hardware functionality. Resetting the SMC might solve issues related to these devices.
Reset SMC of a MacBook Air, MacBook Pro Retina, or MacBook Pro with an integrated battery
- First, shut down the device and connect the power adapter to the Mac.
- Hold down the Shift, Control and Option keys while clicking the power button.
- Finally, release all keys simultaneously - the light on the MagSafe adapter might change color to signify that SMC has been reset.
- After a successful reset, reboot the computer in the usual way.
To reset SMC on a non-portable device, follow these instructions:
- Shut down the Mac.
- Disconnect the power cord.
- Hold down the Mac power button for five seconds.
- Release the button, reattach the power cable, and boot the Mac in the usual way.
For more information and detailed instructions read this guide.
Reset NVRAM
NVRAM (non-volatile random-access memory) is small area of Mac memory that stores certain settings in a location accessible by the macOS. The memory area stores information such as speaker volume, screen resolution, startup disk selection, and any recent kernel panic reports. To reset the NVRAM, shutdown the Mac. Turn it on, and after the loading chime, hold down the Option, Command, P and R buttons together. Keep holding this combination for at least 20 seconds. The display should appear as if the computer is restarting. If you hear the start up chime again, release the buttons.
What is a kernel panic?
Sometimes shutdown problems are caused by recent 'kernel panic' events - resetting the NVRAM should solve these issues. Kernel panics often result in various system crashes involving restarts and shutdowns. A kernel panic is essentially a system error when the Mac operating system is unable to quickly or easily recover. These errors are commonly the result of actions when the Mac attempts to write or access memory incorrectly. They are often caused by corrupted software, software bugs, or malware. Sometimes, they are caused by damaged or incompatible hardware, including faulty external devices connected to the Mac.
Launch Apple Diagnostics or Apple Hardware Test
Apple Diagnostics and Apple Hardware Test are built-in tools that can help to diagnose problems related to the Mac's internal hardware, including parts such as system memory, logic board, and wireless components. Furthermore, these tools are accessible even if the MacBook (or other Apple computer) is unable to boot properly. Follow the steps below to run the diagnostic tool.
Before you start troubleshooting, bear in mind that none of these tools are able to inspect external components, such as external storage or devices, not manufactured by Apple. Also, these particular tools examine hardware only and do not check operating system status.
- For Macs released after 2013, owners should look for Apple Diagnostics, which is included in their computers.
- For computers released in 2012 or earlier and running OX X version 10.8.4 or later, use Apple Hardware Test, which is also included with the system.
- If you have a Mac that was released in 2012 or earlier and running OS X version 10.8.3 or earlier, use the system software disc or USB flash drive that came with the Mac.
How to run Apple Diagnostics
Disconnect all external devices except the keyboard, mouse or trackpad and display. When all unnecessary components are disconnected, restart the Mac, and then press and hold down the D key while the computer restarts. Apple Diagnostics launches automatically - follow the on-screen instructions to proceed and a list with the problem detected will be displayed.
How to run Apple Hardware Test
Unplug all external components except the keyboard, mouse or trackpad and display. When all external devices are disconnected, restart the Mac, press and hold down the D key while the computers restarts. When Apple Hardware Test launches, a window with a list of languages will appear. Choose your preferred language and press Return or click the right arrow. If Apple Hardware Test did not launched, try to run it from the Internet. Reconnect the Apple computer to the network through Wireless or Ethernet and then restart. After the start up chime plays, hold down the Option and D keys. When Apple Hardware Test prompts, select your preferred language and follow the on-screen instructions. If the tool detects problems, they will be displayed on screen. Take a note of these details for contacting Apple Support or a certified service provider.
Try booting in a Safe Mode
A Safe Boot deletes system caches, rebuilds the Mac boot database on the hard drive - this frequently solves various issues. Furthermore, Safe Mode is probably the best way to check if the issue is global or limited to a particular user folder. Shut down and restart issues might be related to third-party software that is loading automatically. Safe Mode checks the system for errors and attempts to solve detected errors.
To enter Safe Mode, first shut down the Mac using whichever method works in your situation. When the computer has completely shut down, wait for approximately 10 seconds and press the power button again. When you hear the start up chime, immediately press and hold the Shift key, and release it when you see the Apple logo and progress indicator.
Bear in mind that safe boot takes much longer than usual, since the computer loads and also performs a system check. If the Mac works correctly, click the Apple logo and select restart.
Use terminal to clear your Mac
Experienced users often use Terminal to solve various issues - in this case, it also contains various options to try. First, open Terminal by using spotlight - hold command and press the spacebar, and type Terminal. Alternatively, go to the utilities folder through finder. Once Terminal has launched, type the following commands one-by-one and press Return after each command.
- rm -rf ~/Library/Caches/*
- rm -rf ~/Library/Saved Application State/*
- sudo rm -rf /Library/Caches/*
- sudo rm -rf /System/Library/Caches/*
- atsutil databases -removeUser
- sudo atsutil databases -remove
- sudo atsutil server -shutdown
- sudo atsutil server -ping
- sudo rm -rf /var/folders/*
When you have tried all commands, restart the Mac.
Alternative methods to solve your shut down and restarting issues:
Power Os Download
- We recommend Combo Cleaner to clean Mac cache files and malware.
- Remove all printers by going to System Preferences and selecting Printers & Scanners, and then add the required devices again.
- Before shut down or restart, force quit any running apps by pressing Command, Option and Esc together.
- Relaunch Finder before shut down from the force quit menu.
- Ensure, the Trash is empty.
- Try to shut down the mac via Terminal, type sudo shutdown -r now and press Return.
- Enter Recovery Mode by holding Command and R while booting, go to disk Utility and run Repair disk, or First Aid to the hard drive.
Video Showing how to solve issue Mac stuck while shutting down or restarting:
Updated for Mac OS X Mountain Lion 10.8.2.
In order to get page up and page down to work properly under Mac OSX Terminal, as well as the home and end of line (EoL), you need to go to Preferences and then Keyboard and configure the right escape key sequences.
(Note for laptop users: you don't have the page up/down and home/EoL keys, but you can simulate them by holding the 'fn' key and pressing on an arrow key. So these configurations also apply to you.)
In the Terminal Preferences, go to the Keyboard pane and watch the the keys named 'page up', 'page down', 'home' and 'end'. You will see they already exist but are configured to scroll the buffer rather than sending commands to the server you're connected to.
In order to change this, double click on each of the relevant lines and select Action: 'Send string to shell:'
You then need to enter the correct string to send to the shell. This is a multiple key sequence starting with the escape character (which is represented with it's octal code 033). Here are strings you can use for each key:
As of OSX 10.6.8, the correct fix is:
Key | Recommended Escape Sequence | Other possible sequences you can try if the recommended doesn't work for you | ||
---|---|---|---|---|
Home | 033OH | 033[1~ | 033[H | 001 |
End | 033OF | 033[4~ | 033[F | 005 |
Page Up | 033[5~ | |||
Page Down | 033[6~ |
You can either type these strings on your keyboard (start by presseing Esc) or you can just copy paste the strings from above.
It is worth noting that some of these are already bound to Shift-Page Up, Shift-Page Down, Shift-Home and Shift-End (which are obtained with Shift-Fn-Up/Down/Left/Right on a laptop keyboard). So if you can change your habits slightly you don't actually need to reconfigure anything.
Power Lines Down Mac Os Catalina
Also note that some people (including Apple) recommend to use 033[H for Home but this doesn't actually work in vi or vim. This is why I recommend using 033OH which has worked in any shell or editor for me so far (Mac terminal, Debian terminal, vim, etc.)
If the recommended sequences don't work for you: please try the alternative suggested here. Also please let us know with which shell or editor you are trying to make them work and which escape sequences work best for you. This way we can order them in order of popularity and possibly give specific advice for specific environments to future visitors of this page. Thank you for your feedback.
Mac Os Line
Power Lines Down Mac OS