Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* rescue root floppy
@ 1998-05-08  4:01 Jack Wathey
  0 siblings, 0 replies; 10+ messages in thread
From: Jack Wathey @ 1998-05-08  4:01 UTC (permalink / raw)
  To: axp-list

Dear Alpha Linux folks,

I've been struggling in vain to make a set of rescue floppies for my
alpha linux machines, following the instructions in the
Bootdisk.HOWTO.  Of course, that was written by someone running
Slackware on an Intel system, so I can't follow it to the letter.  I'm
using SRM firmware and aboot.  The boot floppy works fine, and the
compressed root floppy appears to load into the ramdisk and mount
successfully, up to the point where it gives me a login prompt.  When I
type in the user name (root), however, it immediately dies, writing
"Login incorrect" for a barely visible instant at the bottom of the
screen, then something respawns and I get another login prompt, and the
same thing happens.  It never asks for a password.

My best guess is that I've left out some critical executable or .so file,
or that I have something wrong in the scripts under rc.d.

My question is: do you know from this description what's wrong?  If
not, does anyone have a working rescue root floppy image that I can use as a
starting point?  Even an intel root floppy would help, if it's for a
redhat system.  I looked on the CD's and the RedHat ftp site, but all I
could find were boot and install images.  The install image appears
much too incomplete to support login and all the other things one needs
to do with a rescue disk.

TIA,
Jack Wathey

PS: Here's the info on my system:

OS: RedHat 4.2
CPU: DEC Alpha 21164 533 MHz LX motherboard
RAM: 128 Mb
SCSI controller: Intraserver ITI-3140U UltraWide
Hard drives: two Quantum Atlas UW SCSI drives, 2Gb each; 1 Seagate Hawk 4 Gb
CDROM: Toshiba 12X, SCSI-2
Ethernet card: D-Link DFE-500TX ProFAST 10/100 adapter
Video card: Matrox millenium II


^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: rescue root floppy
@ 1998-05-08  8:29 Alan Wood
  1998-05-08 11:11 ` Steven N. Hirsch
  1998-05-08 14:30 ` Jeff Sturm
  0 siblings, 2 replies; 10+ messages in thread
From: Alan Wood @ 1998-05-08  8:29 UTC (permalink / raw)
  To: axp-list@redhat.com, 'Jack Wathey'

Jack Wrote :
>Dear Alpha Linux folks,
>
>I've been struggling in vain to make a set of rescue floppies for my
>alpha linux machines, following the instructions in the
>Bootdisk.HOWTO.  Of course, that was written by someone running
>Slackware on an Intel system, so I can't follow it to the letter.  I'm
>using SRM firmware and aboot.  The boot floppy works fine, and the
>compressed root floppy appears to load into the ramdisk and mount
>successfully, up to the point where it gives me a login prompt.  When I
>type in the user name (root), however, it immediately dies, writing
>"Login incorrect" for a barely visible instant at the bottom of the
>screen, then something respawns and I get another login prompt, and the
>same thing happens.  It never asks for a password.
>
>My best guess is that I've left out some critical executable or .so file,
>or that I have something wrong in the scripts under rc.d.
>
[snip]

My reckoning is that you are missing /bin/login or one of it's .so files.

$ ldd /bin/login
        libdl.so.2 => /lib/libdl.so.2 (0x0000015555558000)
        libpam.so.0 => /lib/libpam.so.0.57 (0x000001555565c000)
        libpam_misc.so.0 => /lib/libpam_misc.so.0.57 (0x0000015555764000)
        libc.so.6 => /lib/libc.so.6 (0x0000015555868000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x0000000000000000)

As this uses PAM, it may need the /etc/pam.* files, and if these reference 
any of the PAM modules, then these will need to be in /lib/security. 


Alan Wood


^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: rescue root floppy
@ 1998-05-08 13:42 Alan Wood
  0 siblings, 0 replies; 10+ messages in thread
From: Alan Wood @ 1998-05-08 13:42 UTC (permalink / raw)
  To: axp-list@redhat.com

Steve Replied with:
>
>
>On Fri, 8 May 1998, Alan Wood wrote:
>
>> Jack Wrote :
>> >Dear Alpha Linux folks,
>> >
>> >I've been struggling in vain to make a set of rescue floppies for my
>> >alpha linux machines, following the instructions in the
>
[snipped again]
>> 
>> As this uses PAM, it may need the /etc/pam.* files, and if these reference 
>> any of the PAM modules, then these will need to be in /lib/security. 
>
>Yes, and by that time you are out of room on a floppy.  I've been through
>this exact exercise...
>
>In order to pull it off, you'd need to build a non-Pamified login (and
>perhaps other things as well).
>
>Steve

That is true, [so get a bigger floppy. I am sure I have a 5.25" one here
somewhere ;-)]

This would also mean that you will need to rebuilt anything else that you
have on the floppy that uses PAM. Probably worth checking with ldd on the
major items. The other option is, what would be the effect of a blank
/etc/pam.conf and empty /etc/pam.d/ directory? Would that remove the 
need for /lib/security, or would it just stop PAM letting anything in?

Alan


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: rescue root floppy
@ 1998-05-08 21:41 Greg Lindahl
  1998-05-10  4:02 ` Jack Wathey
  0 siblings, 1 reply; 10+ messages in thread
From: Greg Lindahl @ 1998-05-08 21:41 UTC (permalink / raw)
  To: axp-list

> I've been struggling in vain to make a set of rescue floppies for my
> alpha linux machines, following the instructions in the
> Bootdisk.HOWTO.

You might find "YARD" interesting reading as well.

I made an alternate install floppy. I don't think a rescue floppy
would fit.

If you have a cd-rom, of course, you can just start the install
process and go until you have a shell. Once the cd is mounted I think
you may have enough stuff to rescue, if you can set your path
correctly.

-- g


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1998-05-10  4:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-08  4:01 rescue root floppy Jack Wathey
  -- strict thread matches above, loose matches on Subject: below --
1998-05-08  8:29 Alan Wood
1998-05-08 11:11 ` Steven N. Hirsch
1998-05-08 16:27   ` Maciej W. Rozycki
1998-05-08 18:19   ` H. Peter Anvin
1998-05-08 14:30 ` Jeff Sturm
1998-05-08 17:36   ` Cornelius Creedon
1998-05-08 13:42 Alan Wood
1998-05-08 21:41 Greg Lindahl
1998-05-10  4:02 ` Jack Wathey

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