[wellylug] File recovery after a crash.
MDM Productions
thefrasers at clear.net.nz
Thu Sep 24 21:31:53 NZST 2009
MDM Productions wrote:
> 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.
>
>
>
Aha! Ran vi /etc/fstab again, and for hda6 the UUID has gone. Now it reads..
/dev/hda6 /home ext3 defaults 1 2
none /proc proc defaults 0 0
I screwed up, didn't I.
More information about the wellylug
mailing list