[wellylug] File recovery after a crash.

MDM Productions thefrasers at clear.net.nz
Thu Sep 24 21:08:32 NZST 2009


Xav Paice wrote:
> ----- "MDM Productions" <thefrasers at clear.net.nz> wrote:
>
>   
>>>   
>>>       
>> Yes, it's hda6 /home that is causing the grief. How do I edit it?
>>
>>     
>
> Use vi.  http://www.unix-manuals.com/tutorials/vi/vi-in-10-1.html
>
> In your case, assuming you have access to vi... 
>
> # vi /etc/fstab
> use the arrows to navigate to the appropriate line and at the start of the line, type "cW"
> Then type /dev/hda6
> Hit escape, then type :wq
>
>
>   
Xav: Pretty sure I got it right, but I'm back to the shell with  
/etc/fstab returning bash: /etc/fstab: Permission denied.



More information about the wellylug mailing list