One way to fix a Mac that won't login
We tried rebooting, we tried zapping the PRAM, and we both booted into single user mode and booted the computer in target disk mode, attached to my laptop, and performed a disk check on the computer. No problems with the disk. The machine just wasn't booting.
After throwing up my hands and proclaiming there to be some odd hardware failure, it suddenly hit me: maybe the login window preferences were borked. We booted into single user mode again (reboot and hold down the command s button). I ran all the commands that you have to run in order to write to the disk (
/sbin/fsck
-y followed by /sbin/mount -wu /). Then I ran:cd Library
cd Preferences
mv com.apple.loginwindow.plist BACKUPcomappleloginwindowplistThis makes a backup copy of the preference file associated with the login window and erases the original file in the process. After I was done, I typed
reboot at the prompt and hit the return key. OS X rebooted and was forced to create a new preference file
for the login window, thus fixing the problem. Huzzah!
Share
Categories
So the other night, while covering Sundance Film Festival for Blogging Sundance and Cinematical, we had a problem with Jason Calacanis's...
Add a Comment
thank you for this article. you are my hero of the day. whithout your hint, i would have re-instaled os x. ;-)
February 17 2006 at 4:29 AM Report abuse Permalink rate up rate down ReplyI agree with Michael. Applejack should be installed on every new computer by default. It works.
January 26 2006 at 11:29 AM Report abuse Permalink rate up rate down Replyby any chance... do you have a dual monitor setup?
January 26 2006 at 3:45 AM Report abuse Permalink rate up rate down Replyhttp://applejack.sourceforge.net/
AppleJack does it magic in single user mode.
It combines several troubleshooting things that you can access in single user mode by hitting a few keys instead of typing endlessly[...]
It is meant as "get back on your feet" - not general maintenance - if your mac can not start up normally.
I have it on my mac as a first line of defense.
So, what you did was item #5:
http://docs.info.apple.com/article.html?artnum=106464
Once, back in the 10.1 or Jag eras, my iBook made it to the login screen, but wouldn't log in. I went in in single-user, and deleted /Library/Caches, and it worked
January 26 2006 at 2:21 AM Report abuse Permalink rate up rate down ReplySpeaking of tips, where do i submit mine?
January 26 2006 at 1:50 AM Report abuse Permalink rate up rate down Reply
Quote #2:
"You know, if you just hold the shift button down until your desktop comes up, and then restart normally, it will accomplish the same thing.
Safe mode will check your hard drive and remove said preference file for you, among other things."
Posted at 11:36PM on Jan 25th 2006 by Adam Fukushima
-----------------------------------------------------
Safe boot does not do this for you. Here is the Apple document describing just what it does:
http://docs.info.apple.com/article.html?artnum=107392
As for this troubleshooting tip, this is a great one! I wish Apple Tech Training would get more detailed with command line troubleshooting tips. Maybe next time I need to certify, they will have added more of this stuff...
I've got an iBook G3 800 that simply will not boot. It started exhibiting these odd shut downs from running in OSX. The machine would operate normally for 8-20 minutes w/o issue and would simply shut down. At this point it simply will not boot, on AC power, battery, after reseting the PRAM, target disk mode, and every other possible trick you can imagine. The machine has been gone over end to end and for the life of me I cannot figure out why it kept shitting down or why it will not boot at all now.
Any ideas? I've hit the support.apple forums, other apple support site and even taken the book into the apple store. The geniuses tell me it's out of warranty, apple care and all and that it'll cost at least $100 to diagnose. At this point I'm thinking, wait for the new Intel MacBooks, but this machine used to work great....
This seems to be a somewhat common problem. I had a discussion about this with a few others here:
http://blog.globalreset.org/articles/2005/11/04/mini-crash
I'd like for someone to explain what the problem is exactly. As in, what is causing the .plist to become 'borked'?
Hot Apps on TUAW
Deals of the Day
more deals- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



14 Comments