fixed : MacBook Pro hangs during final stage of macOS startup

Question :

I have macOS 10.14 Mojave installed on my MacBook Pro ‘Mid 2012’, but every time I try to start up my Mac, it hangs when the progress bar (on the white startup screen with the Apple logo) is at 99%…

On the TechRadar-website I found some startup key-combos to try : https://www.techradar.com/how-to/computing/apple/how-to-use-os-x-boot-options-to-troubleshoot-your-mac-1305645

I have tried the following, but it didn’t help :

  • restarting my MacBook
  • zapping the PRAM / NVRAM
  • running Disk First Aid in Recovery Mode
  • running Disk First Aid from another Mac while in Target Mode
  • reinstalling macOS Mojave from Recovery Mode
  • reinstalling macOS Mojave from a USB installer

So far, no problems where found, but the exact same problem keeps occuring :

When I startup my MacBook Pro, the progress bar goes quickly to 50%, then slows down but still keeps progressing up to 99% or even 100% and then hangs…

What can I do to solve this ?

 

Answer :

You have already tried most of the options that usually give success when you encounter these types of problems, so you have little options left to choose from.

The first thing to try would be ‘Verbose Mode’ so you will be able to figure out what problems are encountered during startup :

  • shut down you Mac using the power button
  • startup your Mac in Verbose Mode by pressing the [CMD]+[V] keycombo on your keyboard during startup
  • now, your Mac starts up without a GUI (Graphic User Interface) but just displays lines of code (like in the Terminal.app and Console.app)
  • note that you might see a screen of code flashing by and than face your regular inlog screen… if so, just login and you will get to the Console-like black screen with white lines of code…
  • wait for the lines of code to halt and see what error messages are displayed in the final lines of code
  • if the error is “too many corpses being created”, use the solution outlined below (additional error terms are “Process”, “crashed:” and “opendirectoryd.”)
  • if you get any different error message : lookup the error message and the solution on the internet

The solution to the “too many corpses being created” startup-error :

  • shut down your Mac using the power button
  • startup your Mac in Recovery Mode by pressing the [CMD]+[R] key combo on your keyboard during startup
  • if FireVault is on, mount the HardDisk by clicking Disk Utility.app and then typing your password
  • then, go to Utilities in the top menu bar and click Terminal in the pulldown menu
  • in Terminal.app type this line of code (in which “Macintosh\ HD” is replaced by the name your have given your HardDisk ; the default name is “Macintosh HD”, and note that all spaces in the name of your HardDisk should be replaced by “\ ” (a backslash + a space) when typing these lines of code) :

cd /Volumes/Macintosh\ HD/var/db/caches/opendirectory

  • then press the [Enter]-key to run the code
  • when the cursor returns on the very next line you’re good, if you get an extra line in between, you’ve run into an error (e.g. “command not found” usually means you mistyped something, so you should just try again ; if you forgot to replace the space in your HardDisk’s name by “\ “ you’ll also get an error and you should just try again)
  • on the next line, type this :

mv ./mbr_cache ./mbr_cache-old

  • then press the [Enter]-key
  • when the cursor returns on the very next line you’re good
  • again, if you get an extra line in response, you’ve made an error and trying again with greater accuracy will probably solve it…
  • then, exit Terminal.app by pressing the [cmd]+[Q] key-combo
  • then restart your Mac by clicking on the Apple-icon top left in the top menu bar and clicking “Restart” from the pull down menu
  • now your Mac should startup without problems
  • note that the first startup will take a little longer, as all system settings need to be rebuilt

That’s it !

enjoy 😉

Advertisements

fixed : close that one window that blocks off the rest of Safari

Question :

While browsing the internet using Safari, I suddenly got a popup window which I can’t close. I expect it to be a scam, as there is only one button ; an OK-button.

As I don’t agree with the text I am supposed to agree on, and I don’t trust the sender either, I just want to close this popup-window. But the red ‘Close Window’-button is not responding, and I can’t switch to any other open browser windows either. Safari seems to hang.

I could of course restart Safari, but I have several windows open I haven’t saved yet and it would be a real hassle to loose them…

Isn’t there any way to shut this popup down without loosing any other open windows ?

 

Answer :

The popup you have encountered is most definitely a scam-popup, as there is no option to ‘not agree’.

It’s rather simple to get out of this awkward situation :

  1. shut down your WiFi-connection : goto the ‘piece-of-pie’ icon in the top menu bar of the Finder –> then select “Turn Wi-Fi Off” from the pulldown menu that appears
  2. pull the ethernet-cable from your Mac
  3. now you’re disconnected from the Internet, you can safely click on the OK-button in the popup-window
  4. the popup-window will now close, and you will now be able to normally use Safari again
  5. now close all other windows you don’t need to have open
  6. even though you could now reconnect to WiFi- or Ethernet-internet, it’s recommended to do the following first
  7. still without internet-connection, open a new browser window : File –> New Window (or just press the CMD + N key-combo)
  8. then open the Reading List sidebar in that fresh window : View –> Show Reading List Sidebar (or just press the SHIFT + CMD + 2 key-combo)
  9. now drag all open browser windows you want to keep to the reading list
  10. when done, clear Safari’s history and website data : Safari –> Clear History…
  11. in the popup window that opens asking you to “Clear history will delete related cookies and other website data.” click on the “Clear History”-button
  12. then close Safari
  13. then reconnect to the Internet (either via WiFi or Ethernet-cable)
  14. and reopen Safari

…you can now find all previously open windows in the Reading List

 

enjoy !

Donate Button (MacManusNL)