Re: Recovering from a Crash



On Fri, 31 Mar 2006 12:13:57 +0000, W. Watson wrote:

My machine hung, and powered it down. When I rebooted, it complained and
then went about a typical root recovery. However, it failed and I did a
fsck. All came up fine, or so I thought. Upon trying vi and a cp, I got some
really screw characters on the screen. I do have a boot disk. I'd rather not
start from scratch. Is it possible to go through the CD install as an update?

Sounds as if, while fsck was deleting corrupted files and info, some
of your useful files got deleted/corrupted too.

I'd pop install CD #1 into the drive, reset, and the type "linux
rescue" to boot into rescue mode. Let it install your current
filesystems under "/sysimage" when it asks. Assuming that goes OK,
when you get a shell prompt:

# rpm --root=/sysimage -Va

This will run a known good program, from the CD install media,
against the database and filesystem content from your local system.

If you get any output lines *without* a "C" as the second field then
you have a corrupt package and you'll need to reboot and re-install
it.

HTH
.



Relevant Pages

  • GRUB inst under rescue mode
    ... I try to install grub into MBR after booting in rescue mode from SuSE 9.0 ... Filesystems are installed. ...
    (comp.os.linux.setup)
  • Re: Need help with my "boot proccess"(FC5), AcerTravelMate4602WLMifreezes
    ... My FC5 boot perfectly, with "OK" word at all lines. ... "ifconfig eth0" command it said that command was not found. ... explanations about working at the Linux Rescue mode and installing ... But how can I install it with yum? ...
    (Fedora)
  • Re: Need help with my "boot proccess"(FC5), AcerTravelMate4602WLMifreezes
    ... as for "tail /var/log/messages" when I've entered this command the answer I got, ... any ideas why is it so, and how can I view my logs at rescue mode if I don't have this folder? ... >> explanations about working at the Linux Rescue mode and installing>> this ... But how can I install it with yum? ...
    (Fedora)
  • Re: 6.0-REL && ports/devel/subversion
    ... >> Boot to single user and fsck your system. ... If the fsck removed anything you just added such ... That is why you boot to single user mode. ... You would have to really mess up your install for a reinstall to help. ...
    (freebsd-questions)
  • RE: Linux redhat 4 boots into grub prompt.
    ... I haven't tried to boot off of install CD into the rescue mode yet. ... Linux redhat 4 boots into grub prompt. ...
    (RedHat)