Discussion Locked

unexpected inconsistency - redhat linux

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi there,

I have a problem in booting up the linux system. I try running fsck and fsck -y /dev/sda but nothing happens. The error message that i get everytime i reboot are :

An error occurred during the file system check.

Dropping you to a shell; the system will reboot when you leave the shell.

CTRL D for normal bootup or Maintenace mode.

UNEXPECTED INCONSISTENCY; RUN fsck Manually

If anyone out there able to help me just reply to me please.

Regards,

7 replies

by pahosler

When it drops you into the shell cd to /sbin.

run fsck:

fsck /dev/sdaxx

xx being the partition number of the drive or partition that you are running fsck on. Running fsck this way you will have to answer yes or no manually but it will giveyou a chance to see what fsck is doing. After fsck has completed, run it for each partition by the way, just type reboot. This will ensure that everything os booting properly. Also make sure that you shut down properly everytime, this will help avoid these problems in the future.

shutdown -h now

Paul

by pahosler

You can also create an alias for shutdown

alias offnow='shutdown -h now'

if you put this in your ~/.bash_profile
the alias will be asigned each time you login.

This discussion is closed to new replies.