LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2008, 06:29 AM   #1
sheraz
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Rep: Reputation: 0
Post 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
 
Old 02-12-2008, 07:12 AM   #2
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian
Posts: 124

Rep: Reputation: 19
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 ...
 
Old 02-12-2008, 07:34 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
thread moved to Linux - Newbie.
 
  


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
I can't find FSTAB?! mMeggie Linux - Newbie 12 06-14-2006 08:12 AM
cant find /etc/fstab thus cant boot zenji Slackware 6 12-13-2003 12:44 AM


All times are GMT -5. The time now is 04:33 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration