Solved

error occured during file stystem check...

Posted on 2002-07-25
2
212 Views
Last Modified: 2013-12-15
Hi,
    i have just installed a redhatlinux 7.1. I made a shudden shutdown and on booting it produces the message "... error occured during file system check ..." then it asked me for the administrator pass , i gave it, and it prompt me "repair filesystem 1#". I am new at the linux enviroment, so any ideas what so i do in order to start the X-window service.
0
Comment
Question by:ttsenis
2 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7178520
either you did not shutdown propper, or you have a disk failture.
When it boot and prompts for repair, then just do it:
   fsck /dev/hda1

NOTE: hda1 ist the partition, you need to sunbstitute it by the one your see in the messages
0
 

Accepted Solution

by:
maxjr earned 100 total points
ID: 7183640
You may have to also run fsck  on all filesystems before it works not just the root filesystem, you can find a list of all the filesystems in /etc/fstab you should run fsck on any /dev/hd* or /dev/sd* that is listed in the /etc/fstab.

one of the reasons for this is the filesystem(s) were left in a unstable state and were not written to properly before shutdown. I have usually found if a system goes down hard more than one filesystem needs fsck to run. This will also save you many reboots to fix each filesystem as it is detected. (Yes I learned that the hard way).

I have also found using a journaling file system much better with power loss the need for fsck is virtually eliminated.

Cheers,

Max
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 61
What language/protocol is the Angular Chat? 2 76
Video Streaming 6 73
networking details on centos 6.6 4 63
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question