[Q] how to edit file when in "repair filesystems"???

Stuart Sears stuart at sjsears.com
Thu Feb 3 08:56:18 UTC 2005


On Wednesday 02 February 2005 22:54, mcclnx mcc 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, you have to remount your / filesyustem read-write.
try this:
mount /proc
mount -o remount /
then try to edit /etc/fstab

HTH

Stuart

-- 
Stuart Sears RHCE, RHCX




More information about the redhat-list mailing list