Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> /etc/mtab
KnightMare
post Feb 8 2003, 01:25 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 8-February 03
Member No.: 425



All the sudden when i boot linux i get errors at startup. Can't load /etc/mtab Permission Denied.

I logged in as root and tried to chmod 755 it, but i got permission denied.
Tried to just open it to look at it, Permission denied.

Anyone have any ideas how to fix? It's starting to irratate me....

Oh, and also tried the "Last Stable" i have in Lilo... Same thing.
Go to the top of the page
 
+Quote Post
KnightMare
post Feb 8 2003, 10:44 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 8-February 03
Member No.: 425



I am thinking a corrupt file system here. Anyone else use the Reiserfs file system?
Go to the top of the page
 
+Quote Post
chrism01
post Feb 12 2003, 12:27 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 22
Joined: 12-February 03
Member No.: 435



well, should be a text file, similar to /etc/fstab. If you can cat it ok , then you can copy the contents to a temp file eg

cat /etc/mtab >/etc/mymtab

then check perms. Should be -rw-r--r--. Set /etc/mymtab to this. Then

rm /etc/mtab

mv /etc/mymtab /etc/mtab

BTW, you have to be root to mess with anything in /etc. You may also need to use the chattr cmd (man chattr) to enable you to do this.
Good Luck

wink.gif


--------------------
Cheers
Chris
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th October 2017 - 11:11 PM