|MacBook Pro stuck at loading screen|
Now, I'm going to list down how I found the problem and what I have done to fix it.
First, I found some Mac Startup key which are very useful to debug a mac.
Below are quick overview of those keys:
To boot your Intel-based Mac into any of OS X’s built-in startup modes, you must press and hold one or more keys detailed below after turning on the computer. Press the keys immediately after hearing the startup sound, unless otherwise specified.
I have tried to Reset PRAM/NVRAM and Reset SMC, but that doesn't solve the problem, so it probably is not a hardware problem.
So, I boot the mac with Verbose Mode, verbose mode means it will list everything going on behind the scenes. You'll watch as item and extensions being loaded during the booting process.
The loading process was smooth at the beginning, until after a few second it stuck at:
SmartBattery: finished polling type 4 (as shown below)
I have no idea what any of those means. After some web research, found out the actual error might be the: " busy timeout, (60s), kextd wait(0): 'AppleACPICPU', 'PNLF', ...... ", a few lines above the "polling type 4". which cause by some extension or driver problem of the MacOS Sierra.
To solve this problem I'll need to re-install the macOS, but too bad I don't have the Sierra installation disc, I only have the very old macOS X disc which comes with the MacBook, and apple just won't let you re-install the old MacOS over the newer Sierra. (If you have the Sierra installation disc or thumb drive, You can just boot the mac to recovery mode and re-install MacOS Sierra from there.)
Since I don't have the Sierra installation disc and I don't want to lose all the information in my hard drive. So what I can do, is to swap a new hard drive into the MacBook pro, and start a new installation. Also, it is about time to upgrade my storage space. As for the old hard drive I will get a hard drive enclosure and make it a external hard drive.
About swapping out the hard drive in a MacBook pro, it is easier then you thought, just refer to the link here: https://www.extremetech.com/computing/58220-upgrade-your-macbook-pros-hard-drive-2
They will teach you how to change the hard drive for every model of MacBook.
After install the new hard drive, I boot the mac from the MacOS X installation disc, by hold down the C key. The installation run smoothly, and my MacBook boot up perfectly like new.
After that I have to do a few MacOS upgrade, until it gets to MacOS Sierra. It is time consuming but that's the way to go and I don't have to buy a new notebook.
Now everything has back to normal, just need to reinstall all the application I used to have.
What a bad experience, :-(
Hope that will help, if you have the same problems.