Re: [Q] how to edit file on "repair filesystem" mode???

From: aaa (mccdba_at_yahoo.com)
Date: 02/03/05


Date: 2 Feb 2005 18:54:45 -0800

Thank you for answer. The problem is I can NOT fix due to file "READ ONLY".
What you mean "remount", please say more detail.

Thanks.

In article <1bgMd.140$hU7.99@newssvr33.news.prodigy.com>, Lenard says...
>
>aaa wrote:
>
>> Due to mistake change /etc/fstab. When Redhat AS 3.0 bootup, it stop
>> in middle and asked me login as "root" to fix it.
>>
>> when I tried to vi /etc/fstab, it show "read ONLY". I can NOT change
>> it. does there has way to edit file on "repair filesystem" mode?
>
>Yes, when done with the fixing 'remount' the root partition by using the
>mount command, see 'man mount' for the details.
>



Relevant Pages

  • Question for remount
    ... Followings are 3 stories of remount cgroup, ... # cat /cgroups/release_agent ... mount command will read /proc/mounts ...
    (Linux-Kernel)
  • Re: EXT3 and data=journal
    ... > A remount is what you get when you change things like that while the ... > sudo shutdown -r now ... This won't help for the root partition, because at the time the fstab is ...
    (Debian-User)
  • [PATCH] [GFS2] remounting w/o acl option leaves acls enabled
    ... This crosswrites a fix from ... gfs1 so that the mount options are reset properly upon ... remount. ...
    (Linux-Kernel)
  • lilo+ext3 guru needed...
    ... I have a nasty problem with lilo and ext3 fs. ... I have a root partition ... lilo starts to boot the kernel image, and mounts the root fs read-only. ... After booting it ro, the system bootup procedure tries to remount it rw, ...
    (Debian-User)