Imran's personal blog

September 19, 2012

Fix OSx boot hang

Filed under: Uncategorized — ipeerbhai @ 5:45 pm

Hi All,

This is under the category of, “Things you do rarely, and will forget”.  How to fix OSX if it does a “blue screen” hang.  This is different than Windows — The Blue screen says nothing, and is during the boot process.  Remember, OSX is really a Unix, based off of NeXT’s Mach( which is based off BSD).  You can repair it like any Unix/Linux box.

Step 1:

Boot to single user mode by pressing Command-S during the boot process, after the start-up gong.

Step 2:

check the disk.

/sbin/fsck -fy

Step 3:

Mount the main disk and delete/move the old preference files. Move them if you want to later restore them ( in case there was something in them you needed )

to mount the disk, run “mount -uw”.

These files to delete or rename(your choice ) are: /Library/Preferences/com.apple.loginwindow.plist and /Library/Preferences/com.apple.windowserver.plist

Note — Deleting those files will force the Login process in OSX to rebuild them — it treats them missing as a “First run” when you next reboot.

Step 4:

Reboot.

I gleaned this information from Apple support and other docs on the web.  Use them at your own risk.  Usually, if your Mac got to the point where it blue screened, chances are good that you have a hardware problem, most likely a failing disk.  There’s a good chance that any reboot will be the last one…

Thanks,

Imran

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: