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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux