Computing.Net > Forums > Linux > How do I fix a corrupt file system

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How do I fix a corrupt file system

Reply to Message Icon

Name: Linoel
Date: December 4, 2001 at 20:38:28 Pacific
Comment:


I am using Redhat Linux 7.0
Recently, Linux crashed because of an error
during file system check on boot up.
I can only login as root.
I tried running fsck but it does nothing.
Any ideas on what to do?



Sponsored Link
Ads by Google

Response Number 1
Name: j
Date: December 5, 2001 at 02:47:32 Pacific
Reply:

You can only run fsck on an unmounted file system. Can you start Xwindows under root? if so can you run progs? could be that your /home could just be lost/corupt - is it still there?


0

Response Number 2
Name: Linoel
Date: December 5, 2001 at 03:17:54 Pacific
Reply:


I get the following message when booting up:

/ contains a file system with errors, check forced.
/:
Duplicate or bad block in use!
.
.
.
/: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY


When I login as root and use the startx command, I get the error message:

xauth: error in locking authority file /root/.Xauthority


But everything under /home seems to still be there when I do a ls -laR


0

Response Number 3
Name: Adayl Jr
Date: February 3, 2002 at 04:50:09 Pacific
Reply:

Hi,

I have two HD´s in my computer (C and D). I have the Windows98 installed in C and I´d like to install the WindowsXP in D.
So, when I tried to install the WindowsXP in D I got a message saying that the HD C is corrupted and it aborts the installation...

Please, how can I know what is corrupted in drive C and how can I restore it ?

Thanks, /Adayl.


0

Response Number 4
Name: Skeet
Date: February 28, 2002 at 22:40:05 Pacific
Reply:

The same evil Linux demon visited my system too. I thought I would have to completely re-install. Here's how I fixed the problem...

When your file system is corrupt (for one reason or another), you get the following message:

/: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY
Typing in "fsck" only results in the equally useless message:

Parallelizing fsck version 1.18(11-Nov-1999)
The reason you get no response is that you haven't specified the device to check. So, here's what you do. At the prompt, type the following:

fsck /dev/hda5

This specifies the particular system for fsck to check. The rest is interactive, and it should clean up the file system for you. It might run a little sluggish immediately after, so you will want to reboot. Hope this helps. For more information, check out this website (this is where I found it):

www.attenza.com/elinux/step/1,,35862+26179+25950+22101,00.html


0

Response Number 5
Name: Skeet
Date: February 28, 2002 at 22:42:14 Pacific
Reply:

The same evil Linux demon visited my system too. I thought I would have to completely re-install. Here's how I fixed the problem...

When your file system is corrupt (for one reason or another), you get the following message:

/: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY

Typing in "fsck" only results in the equally useless message:

Parallelizing fsck version 1.18(11-Nov-1999)
The reason you get no response is that you haven't specified the device to check. So, here's what you do. At the prompt, type the following:

fsck /dev/hda5

This specifies the particular system for fsck to check ('hda5' may not be what you need). The rest is interactive, and it should clean up the file system for you. It might run a little sluggish immediately after, so you will want to reboot. Hope this helps. For more information, check out this website (this is where I found it):

www.attenza.com/elinux/step/1,,35862+26179+25950+22101,00.html


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How do I fix a corrupt file system

How do I put a .img file on a disk? www.computing.net/answers/linux/how-do-i-put-a-img-file-on-a-disk/23698.html

How do I edit my xint file? www.computing.net/answers/linux/how-do-i-edit-my-xint-file/1377.html

how do i install .bin files? www.computing.net/answers/linux/how-do-i-install-bin-files/6098.html