LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot find fstab (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-find-fstab-620526/)

sheraz 02-12-2008 05:29 AM

Cannot find fstab
 
Hi

I m using Red Hat Linux 4.0.
I have edited fstab file as root. it was working fine but i also take backup of original fstab file i.e. fstab before editing.
then i replace the edited file with original file again and there was no error.
When i Shutdown the system and boot it next day, the error occurs
"cannot find fstab"

when i open the file, there is nothing in fstab and the file is open in read only mode.

What should i do to make file editable so that i can logon to system



Thanks in Advance




Regards
sherry

thecarpy 02-12-2008 06:12 AM

This has nothing to do with networking, you are in the wrong forum here ...

Welcome into single user mode, I've been there for similar reasons as well ;-).

First, you need to mount your root file system read-write, like this:

mount / -o rw

Then you will be able to edit the file again. I hope your backup is not empty ...

acid_kewpie 02-12-2008 06:34 AM

thread moved to Linux - Newbie.


All times are GMT -5. The time now is 10:59 PM.