Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-01-2003, 09:04 PM   #1
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
GURUS help, cant edit file, help please

i edited my /etc/fstab and at one point i think it got corrupt... i say this because i cant read or write to it, but i can view it with explore2fs... i have tried everything i know to do to edit it, and this is what keeps happening...

here is the exact error when i try

rm -f /etc/fstab

rm: unable to stat '/etc/fstab' : Input/Output error.

i am pretty sure the file is corrupt, and i was trying to find something about it on google, and i found this, if it helps, but i still dont have a solution on how to edit /etc/fstab

"The point is that if there is corruption in the filesystem then the
immutable flag may have be switched on accedently.

You notice this on ext2 when an inode has been corrupted. There's a 50%
chance the immutable bit may have been set, leading people to wonder why
they can't delete the file even as root.

I don't know whether reiserfs has such a bit though."

my linux wont even boot untill this is fixed... winblows is making me crazy, please someone help...
Old 12-02-2003, 02:55 AM   #2
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
rm -f /etc/fstab
If you typed that even once as root, your fstab is gone.
I am not even going to guess why you are using "rm" to read a file. "rm" is remove. Check "man rm".

The good news is that fstab is simple to recreate.
See if this helps any. Are you able to boot to rescue mode with a rescue CD or floppy?

Last edited by 2damncommon; 12-02-2003 at 02:56 AM.
Old 12-02-2003, 03:10 AM   #3
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
After looking around a bit I ran across your other post(s) on this subject THAT ACTUALLY DESCRIBES WHAT YOUR PROBLEM WAS.
I think you will find posting the middle of a problem does not get you good responses.

EDIT: post to post(s)

Last edited by 2damncommon; 12-02-2003 at 03:21 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit a file jimbrechin Linux - Newbie 6 03-26-2005 01:25 AM
Trying to edit a file AndreL Linux - Newbie 2 03-24-2004 06:45 AM
edit a file - how? michaeltweak Linux - Software 6 02-01-2004 11:25 AM
edit a file mjewell Linux - Newbie 3 01-19-2004 05:53 PM
how do I edit a file? JunLitsu Linux - General 7 04-10-2002 01:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration