Skip to main content

Tips: Mac OS X: Troubleshooting a Boot Failure

I had a major trouble after installing a system extension on my Mac OS X 10.4.7 installation last night. After configuring and installing the extension called Callisto Build 008, the Mac OS X failed to boot on restart.

The usual Apple screen showed up but after a while a nice error screen was presented demanding me to press the Power Button to shutdown the computer.


I was so frustrated fearing that I need to format and reinstall the OS from scratch without having backed up my work data.

I believe there must be a solution to this...that doesn't require me to reformat the hard drive. In Windows case, I can use the installation CD to access the hard drive and manually fix the problem. I'm expecting the same thing on Mac OS X -- to enter a command-line text interface and manually remove the offending system extension.

I went ahead browsing my favorite Insanely Mac forum and found an interesting thread as a starting point. Here's my actual procedure to fix the problem:


  1. Use F8 and enter boot option -v -s

  2. Text-mode command prompt will show up

  3. At root# prompt, enter /sbin/fsck -fy

  4. OS will check the boot disk, to make sure we're not working on a screwed up hard drive

  5. At root# prompt, enter /sbin/mount -uw / to mount the hard drive in read+write mode

  6. Then, cd /System/Library/Extensions
  7. The system extensions I just installed were Callisto.kext and CallistoHAL.kext, so I removed them by

    rm -rf Callisto.kext and
    rm -rf CallistoHAL.kext

  8. At the root# prompt, enter the command exit

  9. OSX will continue to boot and successfully enter the GUI mode



Keywords: ,

Comments

Popular posts from this blog

iTunes: Error 261 while Burning Data CDs/DVDs

Apple Discussions: 261 error while burning MP3 CD. I usually put an aphostrophe (') in the name of playlists and was having error 261 burning CD/DVD data discs since iTunes 5.1. Upgrading to iTunes 6.0 for Windows doesn't help. I was burning a music DVD this morning and had Error 261 again. So I went to Apple iTunes Discussions site and look for a thread on this. Viola! There are many people having the same problem as mine. The thread ends at a point where someone removing ampersands, the '&' symbols, from their playlists and could avoid this error. I tried removing aphostrophes from the name of my playlist because aphostrophe falls into the kind of non-alphabet characters that needs escaping in some programming languages. It works!! Keywords: itunes , windows

Tips: Mac OS X: Full ANSI Color Support in Terminal.app

I'm trying to switch my Java development platform from Windows XP to Mac OS X Tiger. Wondering how to colorize the Terminal screen, I spent some time googling. From the discussions at the end of this page: macosxhints.com - Add full ANSI color support to Terminal.app Here's a summary of how to enable it: With bash shell as default, simply add export TERM=xterm-color [I prefer this for Linux compatibility] or export TERM=dtterm in the ~/.profile (single-user) or /etc/profile (system-wide) Color terminal is enabled. Use ' ls -G ' (the -G enables color output) to test. Add alias ls='ls -G' in the profile file for convenience. Keywords: mac-os-x , unix , terminal , shell , tips

Tip: Converting a CSV File into XML by Excel

I came across a problem to convert a historical data in comma-separated format (CSV) into a modern & more useful XML format. There are many ways to do such conversion. The most obvious one is to do it programmatically by writing a program to read CSV data and exporting it to an XML file by means of the Simple API for XML (SAX) or the Document Object Model (DOM) libraries. But I was too lazy to do it. I knew that Microsoft Excel 2003 supports exporting worksheets into XML data. I tried it out but found that it is not that simple -- we have to define an XML schema and bind each element to each column of the worksheet. So I went on researching. Finally, I found a very useful tool on MSDN: Excel 2003 XML Tools Add-in Version 1.1 ( download ). The Excel Add-in's "XML Tools -> Convert a Range to an XML List" menu command allows us to simply select a range in a worksheet (with or without first row as column names) -- with the advanced options to specify the XML root ...