Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Adam C. Powell, IV" <adam.powell@nist.gov>
To: axp-list@redhat.com
Subject: Re: Help!  Can't recover!
Date: Tue, 19 Jan 1999 10:53:07 -0500	[thread overview]
Message-ID: <36A4AA63.3DC006EF@nist.gov> (raw)
In-Reply-To: 3.0.1.32.19990116215824.0116a070@pop.bart.nl

geerten kuiper wrote:

> At 00:40 14/01/99 -0500, Jonathan Vafai wrote:
> >Is someone adding this to the FAQ?
> >
> I would, but I'm not quite sure what to add regarding this thread. There's
> a number of ways to boot a machine after a file system is broken. None of
> them is specific to Alpha.

To summarize this thread, I sent the following to xeno@clark.net:

1) My disk has crashed, and there are errors somewhere outside the root
partition that are preventing me from logging in as superuser to service the
disk.  How can I just get a shell?

Solution: boot from ARC/SRM/AlphaBIOS with the final option
init=/bin/bash e.g.
boot hda2:vmlinux.gz root=/dev/hda2 init=/bin/bash

Real solution: Avoid this by keeping root login from depending on files
outside the root partition!  (E.g. don't use tcsh, don't start X in .login,
etc.)

However, see problem 2...

2) The boot variable init doesn't seem to work properly with recent 2.1 or
2.2-pre kernels.  The kernel freezes after "Freeing unused kernel memory...
48k freed"

Solution: Indeed, with development kernels, my MILO/kernel combination does
not seem to work with this option.  However, the 2.0 kernels still work, so
if you still have one in your root directory, boot with that and with
init=/bin/bash (or whatever).

3) My disk has crashed, and the root partition has damage.  How can I do disk
maintenance?

Solution for RedHat users: start the installer from the boot disk and
ramdisk.  Proceed until it asks whether you want to install or upgrade, and
answer upgrade.  After that, hit 'Alt-F2' and you will be at the ash shell
prompt.  A few tools will be present, including mount and e2fsck, however
mount only accepts the -t option.  To use e2fsck, therefore, you have to do
"mount -t ext2 hda2 /mnt ; umount /mnt".  This action will create /tmp/hda2
which you use with e2fsck.

Any errors?

Zeen,

-Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____
USDoC, National Institute of Standards & Technology (NIST)  |\ ||<  |
Center for Theoretical and Computational Materials Science  | \||_> |




  reply	other threads:[~1999-01-19 16:18 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
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 [this message]
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