Re: init bug / crash recovery

Larry 'Daffy' Daffner (ldaffner@muirwood.convex.com)
Sat, 16 Mar 96 01:53:02 CST


Albert Cahalan writes:
-> >> Well, as it turns out no e2fsck (or any other fsck) exists on the root
-> >> floppy. I mounted root partition on /mnt and tried '/mnt/sbin/e2fsck'.
-> >> The system answered "/mnt/sbin/e2fsck not found". 'ls -l
-> >> /mnt/sbin/e2fsck' produced:
-> >> -rwxr-x--- 1 root bin 69252 Aug 8 1995 e2fsck*
-> >>
-> > It's looking for a shared libary, and can't find it.
->
-> Then there is a bug somewhere, because something (the shell?)
-> told the user "/mnt/sbin/e2fsck not found" instead of
-> "libsomething version x.y.z not found" or "foo() not found in libsomething".
->

Actually, there is no problem/bug here, and e2fsck may very well be
statically linked. The issue here is that even though Slackware
itself is an ELF distribution, I believe that all the boot/root disks
are a.out only, with no ELF support. (I suspect this because I noticed
that libc is libc.so.4.6.something :). At any rate, like was
suggested, there's a rescue.gz image which has all the tools you
should need for an emergency repair, and in the future, if you want an
ELF rescue disk, make your own, and complain to Patrick. :)

-Larry

----
Larry Daffner - Software Engineer | email: ldaffner@rsn.hp.com |
HP Convex Technology Center | tel: (214)497-4274 / home: (214)380-4382 |
It's better to be silent and be thought a fool than to speak and remove all
doubt. --Abraham Lincoln