Originally Posted by pixellany
I am totally confused..
First, how did you put comments into the file if it was read-only? (Or--what were you doing when this accidentally happened?)
Second, why can you not use chmod to change the permissions? (You would have to be root user to do this). What exactly happens if you try to change permissions?
Finally, please put code snippets, terminal sessions, etc. directly into your posts (cut and past), and use [CODE] tags. The screenshots make it harder for the reader to follow the bread crumbs.
The whole event is :
In normal state , I use vi to edit /etc/fstab and comment out
some vol group include the swap space .
Afterward , I reboot the system.
Then the red hat linux cannot boot up like the screen I attach .
I cannot change the /etc/fstab any more by vi as it is read-only now .
I cannot chmod to /etc/fstab .There is no effect .
I use the console and I cannot copy the log out ...
I can only paste the console screen output ...
Please aadvice how I can change back the /etc/fstab file as
now , I cannot boot up the red hat linux successfuly .....
Please advice .....