LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   How to recovered fstab (https://www.linuxquestions.org/questions/linux-distributions-5/how-to-recovered-fstab-380394/)

floodking 11-06-2005 01:47 AM

How to recovered fstab
 
I am revised fstab a little:add a new line to the original one.

But now the system won't work any more, it says something wrong with line 7 in fstab.

When the system was restarted, I entered a reparing filesystem mode. I tried to used mount, but the shell return "cannot find /etc/fstab. No such file or directory."

How to recover the fstab or edit the file?

I am using 3 scsi disks. System: Redhat Linux 9

I am waiting for help online.

Thanks a lot for your help.

TruongAn 11-06-2005 02:05 AM

How do you mean? when you said " I entered a reparing filesystem mode"

floodking 11-06-2005 03:47 AM

When the fstab file is corrupted, Redhat linux would invoke a a progam-"repair file system", which resemble the bootdisk in earilier version of redhat linux.

Thanks, I have solved the problem.

kalleanka 12-21-2005 03:22 PM

With what program did you edit fstab? I usally uses emacs from a shell.

kalleanka 12-21-2005 03:24 PM

also I got a /etc/#fstab# as backup


All times are GMT -5. The time now is 09:18 AM.