Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "B. James Phillippe" <bryan@terran.org>
To: Cool Cats <axp-list@redhat.com>
Subject: Re: Help!  Can't recover!
Date: Tue, 12 Jan 1999 10:02:22 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.04.9901120945350.12576-100000@earth.terran.org> (raw)
In-Reply-To: <369B89C0.E92B31DC@nist.gov>

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


  parent reply	other threads:[~1999-01-12 18:24 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-12 16:56 Help! Can't recover! Adam C. Powell, IV
1999-01-12 17:06 ` warp
1999-01-12 17:13   ` warp
1999-01-12 17:43   ` Adam C. Powell, IV
1999-01-12 17:49     ` Greg Lindahl
1999-01-12 18:15       ` B. James Phillippe
1999-01-12 18:31         ` Greg Lindahl
1999-01-12 18:32       ` Adam C. Powell, IV
1999-01-12 18:02     ` B. James Phillippe [this message]
1999-01-12 18:29     ` Michal Jaegermann
1999-01-12 20:11       ` Adam C. Powell, IV
1999-01-12 20:50         ` Paul Tomblin
1999-01-13  9:03           ` Martin Ostermann
1999-01-12 20:52         ` Michal Jaegermann
1999-01-12 21:53           ` Adam C. Powell, IV
1999-01-12 22:49             ` Michal Jaegermann
1999-01-12 19:04     ` Bob Taylor
1999-01-12 18:04 ` Michal Jaegermann
1999-01-12 18:48   ` Adam C. Powell, IV
1999-01-12 20:33     ` Michal Jaegermann
1999-01-14  5:40       ` Jonathan Vafai
1999-01-16 20:58         ` geerten kuiper
1999-01-19 15:53           ` Adam C. Powell, IV
1999-01-19 17:29             ` Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox