Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: Help!  Can't recover!
Date: Tue, 19 Jan 1999 10:29:40 -0700 (MST)	[thread overview]
Message-ID: <199901191729.KAA19171@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <36A4AA63.3DC006EF@nist.gov> from "Adam C. Powell, IV" at Jan 19, 99 10:53:07 am

Adam C. Powell, IV wrote:
> 
....
> 
> 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?

An ommision actually.  Add a half sentence above that explains that you
need 'umount' because you really do not want to run e2fsck on a mounted
file system - in particular when it is not healthy;  and that you can
repeat this 'mount ... ; umount' stuff for all partitions which need
a check.

As an aside - if you cannot avoid a run of fsck on a mounted partition at
least remount it as "read only".  On Red Hat systems you can always force
fsck during a **normal startup** by adding a file /fsckoptions with any
options for fsck you care to add there.  See file /etc/rc.d/rs.sysinit
for details (and you can always add such mechanism if not present on
your system).

For the last week, or so, on tsx-11.mit.edu you can find version
1.14 of e2fsprogs (you likely have now 1.12 or earlier).  Source rpm
which is there recompiles on Alpha without any fuss.  The new version,
in particular, has an improved interaction with 'badblocks' program;
important if your disk is acting funny on a media level.

Last, but not least, starting X automatically in startup files of
any account, but 'root' in particular, may land you in a hot water.
Using different run level and initab is really a better idea (root can
boot in any run level s/he wants).  Red Hat supplied /etc/inittab even
has an entry for xdm on run level 5 so a simple action of changing '3'
to '5' (a default run level in /etc/inittab) and rebooting will start
X windows for you;  this will also provide a remote X-login window from
machines running 'chooser'.  Before you change defaults make sure
that X is correctly configured for your card/monitor combo.

   Michal
 


      reply	other threads:[~1999-01-19 17:54 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
1999-01-19 17:29             ` Michal Jaegermann [this message]
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