Solved

error occured during file stystem check...

Posted on 2002-07-25
2
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

710 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