Re: Recovering from a Crash



Tommy Reynolds wrote:

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
Thanks for the info. Fortutiously, it seems to be behaving itself now. I realized I could continue my debugging of a module, and again got a hang. When I powered down/up again, and logged in the problem with vi and cp vanished.

Now for a post on the module problem.


Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
--
"No, Groucho is not my real name. I am only
breaking it in for a friend." -- Groucho Marx

Web Page: <home.earthlink.net/~mtnviews>
.



Relevant Pages

  • 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: 8.04 Upgrade Failure - tzdata (and many others)
    ... years ago being told it was on "Railway time", ... find the install script and see why it's unable to make a backup. ... upon reboot I was sent to a shell prompt and told to run fsck. ... Not sure if the upgrade could have ...
    (Ubuntu)
  • Re: Backup From One Drive - Restore To Another
    ... After the fsck is done, ... >>have to go through the Debian install process again. ... > If you plug both the old and the new disk into one system, ... I discovered that Mondo Archive is going to fit the ...
    (Debian-User)
  • Re: [SLE] fsck!!!
    ... >> that is needed during the manual fsck part. ... but it sure as hell is on the lilo menu if I boot from CD. ... >> You need to boot the rescue system, from the CD or DVD, not from the HD. ... > ACPI disabled, Install - Safe settings, Manual install, Rescue System, ...
    (SuSE)