Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36135

Recurring corruption of /dev/sda1; what do?

$
0
0
This is also posted on AskFedora.

Following shut down or power loss, Fedora fails to boot and prints the following (transcribed to the best of my ability):

Quote:

Cannot open font file True

_Fedora-17-i686-: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
dracut Warning: e2fsck returned with 4
dracut Warning: -Fedora-17-i686- contains a file with errors, check forced.
dracut Warning: -Fedora-17-i686-: Inodes that were part of corrupted orphan linked list found.
dracut Warning: *** An error occurred during the file system check.
dracut Warning: *** Dropping you to a shell; the system will try
dracut Warning: *** to mount the filesystem(s), when you leave the shell.

dracut Warning:

Dropping to a debug shell.

(Repair filesystem):/#
Naturally, I tried fsck and the magic words seemed to be "fsck -f /dev/sda1". That printed the following:

Quote:

fsck from util-linux 2.21.1
e2fsck 1.42 (29-Nov-2011)
Pass 1: Checking inodes, blocks and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 397/128016 files (0.5% non-contiguous), 113179/512000 blocks
And then, upon exiting, Fedora boots up fine. However, the problem continues to occur every time I power off (obviously, this occurs upon powering back on) or after my battery dies (whether that occurs during suspension or while still running).

df -h /dev/sda1 returns the following:

Code:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1      485M  95M  365M  21% /boot

Therefore, I guess sda1 is mounted on boot. I don't know if that's normal.

The problem seems to have begun a few months ago after I removed the battery briefly during a stalled boot which I interpreted as a freeze (during which the power button wasn't having any effect). Once I turned it back on, the headache started.

EDIT: The solution was divined here.

Viewing all articles
Browse latest Browse all 36135

Trending Articles