Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

error occured during file stystem check...

Posted on 2002-07-25
2
Medium Priority
?
222 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 300 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

916 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