LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-06-2005, 02:47 AM   #1
floodking
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
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.
 
Old 11-06-2005, 03:05 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
How do you mean? when you said " I entered a reparing filesystem mode"
 
Old 11-06-2005, 04:47 AM   #3
floodking
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 12-21-2005, 04:22 PM   #4
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
With what program did you edit fstab? I usally uses emacs from a shell.
 
Old 12-21-2005, 04:24 PM   #5
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
also I got a /etc/#fstab# as backup
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 07:15 AM
"format" so that nothing can be recovered (on ext2/NTFS) C.Loko Linux - General 5 03-17-2004 10:52 AM
testdisk stuff with adding a recovered reiserfs partition wini_g Linux - Software 2 11-07-2003 08:45 PM
The tale of the broken libc, and how I recovered without rebooting Electrode LinuxQuestions.org Member Success Stories 2 09-25-2003 12:29 PM
Just recovered from a crash neo77777 Linux - General 1 09-29-2002 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration