LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   inconsistency problem (https://www.linuxquestions.org/questions/linux-newbie-8/inconsistency-problem-877499/)

dana23 04-27-2011 08:33 PM

inconsistency problem
 
Well, I have this old Hp computer which has a 2002 version of Linux on it. I use this computer as a server to route some Ips. For years it worked just fine until yesterday when it refused to boot. I get the " UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.(i.e., without -a or -p option)" error. I think it happend bcs I dont usually shut it down properly.
Ok, so I dont know anything about Linux, please dont hold it against me :). I tryed to type "fsck -y" to see what happens. I get the following message: " No devices specified to be checked!"
While trying to research it on the internet, I read that it is possible to change the FSCKFIX from "no" to "yes" ( FSCKFIX=yes) so if it finds any errors they should be fixed automatically. When I am trying to do this with the edit /etc/default/rcs command I get "No such file or directory" I am pretty sure I spelled it well.
Now I am really confused. Could you help me please?

Tinkster 04-27-2011 09:12 PM

Hi, welcome to LQ!

Somewhere along with the error it should tell you which device has
the problem, e.g., something like /dev/sda1 or /dev/hda2 or the like.


Try that (whichever it is) w/ your fsck command ... w/o the -y ...

Read man fsck online ;}


Cheers,
Tink

dana23 04-28-2011 06:46 AM

Thank you very much! Somehow it worked!


All times are GMT -5. The time now is 03:57 PM.