Hosed fstab, won't boot how to edit?

Robert Moskowitz rgm at htt-consult.com
Wed Jan 21 04:16:05 UTC 2009


Roger Heflin wrote:
> Robert Moskowitz wrote:
>> Roger Heflin wrote:
>>> On Tue, Jan 20, 2009 at 1:45 PM, Robert Moskowitz 
>
>>>
>>>
>>> mount -o rw,remount /
>>
>> So I tried this (had a DAH moment after you posted this), but got an 
>> error:
>>
>> mount: / not mounted already, or bad option
>>
>> So I tried just 'mount' to see what the status of / is and got 
>> (amongst other pieces of info):
>>
>> /dev/sda1 on / type ext3 (rw)
>>> then edit it.
>>
>
> mount is not reliable to show what is mounted in some cases.
>
> It reads /etc/mtab a file that happens to be located on a ro 
> filesystem that won't have been updated so it won't be right when a 
> machine is in single user mode.
>
> do a "cat /proc/mounts" to figure out what the actual state is, 

rootfs / rootfs rw 0 0
/dev/root / ext3 ro,errors=continue,user_xattr,acl,data=ordered 0 0

> I never use the mount command to see what is mounted there are just 
> too many failures of it (it only shows the options that you used, not 
> (in the case of nfs) the actual parameters being used).
>
> try doing a "mount -o remount,rw /" I know I have done this several 
> times.

ARGH!!!

I get:

EXT3-fs: Unrecongnized mount option "noatiime" or missing value
mount: / not mounted already, or bad option

I KNOW IT IS A BAD OPTION DUMMY, that is my typo that I need to fix....




More information about the fedora-list mailing list