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

aftab alam aftab at iitk.ac.in
Fri Feb 4 05:57:45 UTC 2005


mcclnx mcc wrote:

>Yes.  "w!" won't work.  Due to file system mount as
>READ ONLY.
>
> --- "McDougall, Marshall (FSH)"
><MarMcDouga at gov.mb.ca> ªº°T®§¡G
>  
>
>>Did you try "w!".  (I have to ask).  
>>
>>Regards, Marshall
>>
>>-----Original Message-----
>>From: mcclnx mcc [mailto:mcclnx at yahoo.com.tw] 
>>Sent: Wednesday, February 02, 2005 4:54 PM
>>To: redhat-list at redhat.com
>>Subject: [Q] how to edit file when in "repair
>>filesystems"???
>>
>>
>>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?
>>
>>Thanks.
>>
>>
>>    
>>
>_______________________________________________________________________
>  
>
>>Yahoo!´ñËàÅŻҿ®È¢
>>°ì¿Í°ì¿®Á÷°¦¿´¡¤Yahoo!´ñËàѻƸ½õÕÜ·×áÁ
>>http://tw.promo.yahoo.com/2004charity/index.html
>>
>>-- 
>>redhat-list mailing list
>>unsubscribe
>>
>>    
>>
>mailto:redhat-list-request at redhat.com?subject=unsubscribe
>  
>
>>https://www.redhat.com/mailman/listinfo/redhat-list
>>
>>-- 
>>redhat-list mailing list
>>unsubscribe
>>
>>    
>>
>mailto:redhat-list-request at redhat.com?subject=unsubscribe
>  
>
>>https://www.redhat.com/mailman/listinfo/redhat-list
>> 
>>    
>>
>
>_______________________________________________________________________
>Yahoo!©_¼¯¹q¤l«H½c
>¤@¤H¤@«H°e·R¤ß¡AYahoo!©_¼¯¨àµ£§U¾Ç­pµe
>http://tw.promo.yahoo.com/2004charity/index.html
>
>  
>
You boot the system with knoppix linux. Unmount the the partition and
again mount it with -o rw option. Then you can write to that partition
and the file /etc/fstab.

-- 

Aftab Alam                              Ph: 2597447(O)
Sr. Computer Engr.                          2598598(R)
Computer Centre
I.I.T  Kanpur




More information about the redhat-list mailing list