Re: Spontaneous unclean reboots



On 2008-09-21, David W. Hodgins <dwhodgins@xxxxxxxxxxxxxxxxx> wrote:

I'm going to do that from the Knoppix cd I have, although I'm not sure
how to do it? Do I chroot into the partition, then run fsck?

No! The filesystem must not be mounted, when you run the fsck.


Right, sorry for the stupid question.

I've run smartctl several times from knoppix cd as well as memtest86
(it's a knoppix boot option).

No errors have been found.

fsck found lots of errors however on my root filesystem and I answered
yes to every question.

I even did a badblocks -n on my root file system, though I probably
shouldn't have, because the man page was cryptic to me.

This morning, the psu blew and there was a smell of burning rubber and
hellfire and I turned off the machine.

To make a long story short, I bought a new psu and installed it and am
keeping my fingers crossed.

I would like to check for corrupted files. I was running debsums when
the sparks began to fly this morning. I'm not sure about the procedure;
some packages don't have debsums, some appeared to have incorrect ones.
I'll try to google that out. Thank all of you for your help.

I'll let you know if the machine explodes on me.

;-)
.



Relevant Pages

  • Re: fsckd - FIXED
    ... filesystem errors on boot, with the "hit control-D to continue or give root ... to fix the errors with fsck. ... filesystem and inability to reboot. ...
    (Debian-User)
  • Re: Ignorant user overfilled /usr; strange errors followed. Fixed with fsck -y, but what exactly
    ... While attempting to follow filesystem activity (and not realising the ... X/KDE, and found a whole sequence of 'filesystem is full' errors on ... Don't run fsck on a live filesystem; ... filesystem that apparently had no free blocks. ...
    (freebsd-questions)
  • Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY
    ... BIOS menu item for disabling said feature. ... on a disk will be enabled, ... that fact ignored, then the filesystem is either 1) worthless, or 2) ... that's all fsck is going to do on a UFS2+SU filesystem. ...
    (freebsd-stable)
  • Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY
    ... BIOS menu item for disabling said feature. ... on a disk will be enabled, ... that fact ignored, then the filesystem is either 1) worthless, or 2) ... that's all fsck is going to do on a UFS2+SU filesystem. ...
    (freebsd-stable)
  • Re: Fw: Help:FW Harddisk has no space!
    ... good to hear what you found using fsck. ... reboot the system after the command. ... > Filesystem 1K-blocks Used Avail Capacity ... > tem on which the correction will take place, ...
    (freebsd-questions)