Solved

error occured during file stystem check...

Posted on 2002-07-25
2
217 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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 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
Suggested Courses

630 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