I'm glad it's working.
I had some kind of drive failure (seems like a persistent read error, but the CRC isn't correcting it?!) which resulted in a directory with an invalid entry in it. My machine wouldn't boot because the entry was in
/usr/lib! No attempt to read the directory would progress beyond the "broken" entry.
I was able to boot in single-user mode without GUI. So I created a new directory,
/usr/lib.new and copied as many individual files over from the old location as I could. Then I renamed the old directory to
/usr/lib.old and created a symbolic link from
/usr/lib to
/usr/lib.new at the same time. (I couldn't use standard commands like
mv and
ln -s because they might require libraries that were under
/usr/lib so once the move command executed, the symlink command might not finish. I had to use a Perl script instead.)
The end result is that I
still have that
/usr/lib.old directory on my machine because I can't delete it.
But I'm not worrying about it until I need to upgrade (probably to Snow Leopard or Linux; looking more like Linux).