Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i did something wrong when editing fstab in mandrake when it booted correctly, now it wont boot correctly, and when i try to edit /etc/fstab in vi it gives me an error saying it cant write to the file, and if i try to less or cat it, it says "/etc/fstab: Input/output error." there is a file called /etc/fstab.OLD that has the correct settings, is there a way that will make my computer think that /etc/fstab.OLD is /etc/fstab without editing /etc/fstab in any way? or is there just a way to fix my problem?
Can you remove /etc/fstab?
If you can, just replace /etc/fstab by /etc/fstab.OLD.
If you cannot, post the output of the "rm -v /etc/fstab" command, so we can see what's the problem.
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."
Hi true_atlantis hopefully you're still around, I was wondering if you ever found an answer to your unable to stat i/o problem. I've run into the exact same thing on an ext2 filesystem running busybox linux. Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.