Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-07-2007, 10:53 AM   #1
Registered: Mar 2006
Posts: 42

Rep: Reputation: 15
read-only root directory problem

hey guys, I have a problem...
I edited the /etc/fstab file, and I added some bad option to the options tag
The problem now that the root directory is mounted as a read-only because of "bad option" so I cant re-edit the fstab file ...
what should I do ?
I'm am using Debian 2.6.8-2-386 Kernel

thanks alot !
Old 02-07-2007, 11:02 AM   #2
LQ Newbie
Registered: Jul 2004
Posts: 23

Rep: Reputation: 15
try mount -o remount,rw /

You can also use use a rescue cd to boot and then edit fstab
Old 02-07-2007, 11:08 AM   #3
Registered: Mar 2006
Posts: 42

Original Poster
Rep: Reputation: 15
When I try to execute the
mount -o remount,rw /
I getting the same error that I have a bad option (in the fstab file)

I found something about mount -o remount but I don't know how to execute the command correctly.. trying to do that now
does anybody knows what is the correct syntax for mount -o remount to remount without the option on fstab ?

Attempt to remount an already-mounted file system. This is commonly used to change the mount flags for a file system, especially to make a readonly file system writeable. It does not change device or mount point.

Found it !
The bad option on fstab was {{acl}} so the command that I executed was
mount -no remount {{acl}} /
regards !

Last edited by SpLaSh212; 02-07-2007 at 11:12 AM.


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
problem with grep in root directory river_jetties Linux - Software 3 01-22-2007 01:10 PM
Problem mounting an ntfs drive, only root may read.. THOR_Fedora Linux - Hardware 1 04-01-2006 01:17 PM
apache root directory problem tbrenner Linux - Networking 1 09-12-2005 12:54 PM
problem with find and root (/) directory lfur Linux - General 6 05-27-2005 10:42 PM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 07:01 PM > Forums > Linux Forums > Linux - Newbie

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

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