From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19615 invoked from network); 12 Jan 1999 18:24:21 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 12 Jan 1999 18:24:21 -0000 Received: from earth.terran.org (bryan@earth.terran.org [208.152.24.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA03534 for ; Tue, 12 Jan 1999 13:02:24 -0500 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.9) with ESMTP id KAA12780 for ; Tue, 12 Jan 1999 10:02:22 -0800 Date: Tue, 12 Jan 1999 10:02:22 -0800 (PST) From: "B. James Phillippe" To: Cool Cats Subject: Re: Help! Can't recover! In-Reply-To: <369B89C0.E92B31DC@nist.gov> Message-ID: Organization: terran.org/darkforest.org X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 12 Jan 1999, Adam C. Powell, IV wrote: > "warp@xs4all.nl" wrote: > > > In your ARC, AlphaBIOS or SRM add -s, -S or -SINGLE > > after "vmlinux.gz" then boot. > > > > This should get you in init 1 with root access and > > without a password prompt... > > Cool! I'm using MILO, but tried it anyway. But the behavior Then you should be booting from ARC, right? Unless you burned MILO into your flash(?) > continues: even with -S, when I get to "Enter root password for maintenance > or hit Ctrl-D to continue startup", if I hit ^D it just plain shuts down > and reboots (strating from "Unmounting file systems"); if I type the root > password it gives: > > -tcsh: error in loading shared libraries > libcurses.so.4: cannot open shared object file: No such file or > directory Ouch... your filesystem is really tanked. Your libraries sound corrupted, which means you probably will not be able to boot from this partition at all. :( > [Yes, root uses tcsh- it makes things easier. Is this a Bad Idea?] If No, it should be fine. > Here's some new info: I type root at the username prompt, and it gives > back: > > pam[88]: unable to dlopen(/lib/security/pam_cracklib.so) > pam[88]: [dlerror: libcrack.so.2: cannot open shared object > file: No such file or directory] > pam[88]: adding faulty module: /lib/security/pam_cracklib.so > Password: This is really bad news. Your shared libraries provide vital functionality to nearly all your applications and programs. There are only a few programs on the disk that are statically linked (don't use the libraries) for emergency usage. Your C library (the main library) must be intact for anything to work. But you have several other libraries which appear broken. > And then after the password, the flash of "do_ypcall" errors and back to > the login screen. So you are using NIS on your system? That is what the do_ypcall comes from. > In other words, -S doesn't seem to change anything. :-( Is this expected > for MILO? I don't think I have ARC or SRM on this 164LX. How do I start > single-user from AlphaBIOS? If you can add the single letter "S" to your boot flags, it will get you into single user mode. For me (I use SRM) it looks like this: -flags "root-/dev/sda2 S" BUT... I don't think that's going to help you. If your shell is missing a library, you won't be able to log in anyway. What you need to do is boot a rescue floppy disk (the ones from the RedHat disk should work) and then mount your toasted partition read-only. Then you can e2fsck it and hopefully recover to a usable state. When you get back on your feet enough to log in, use the rpm -Va option to check for packages that are still corrupted. Good luck, -bp -- B. James Phillippe . bryan@terran.org Linux Engineer/Admin . http://www.terran.org/~bryan Member since 1.1.59 . finger:bryan@earth.terran.org