LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   read-only root directory problem (https://www.linuxquestions.org/questions/linux-newbie-8/read-only-root-directory-problem-526414/)

SpLaSh212 02-07-2007 10:53 AM

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 !

RomKnight 02-07-2007 11:02 AM

try mount -o remount,rw /

You can also use use a rescue cd to boot and then edit fstab

SpLaSh212 02-07-2007 11:08 AM

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 !


All times are GMT -5. The time now is 08:17 PM.