LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-07-2007, 10:53 AM   #1
SpLaSh212
Member
 
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
RomKnight
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
SpLaSh212
Member
 
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 ?

Quote:
remount
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.

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 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