[wellylug] File recovery after a crash.

MDM Productions thefrasers at clear.net.nz
Wed Sep 23 14:01:39 NZST 2009


Glen Ogilvie wrote:
> Hi John,
>
> On Wed, 23 Sep 2009 13:22:07 +1200, MDM Productions
> <thefrasers at clear.net.nz> wrote:
>   
>> My laptop runs PCLOS 2009.1 derived from Mandriva(?), ext3 FS, and has 
>> fallen foul of an unhappiness with Suspending To Disk when the lid is 
>> closed. And yes, I must remove that "feature"!
>> On boot, it finds fault with /dev/hda6 at a huge hex number and drops to
>>     
>
>   
>> a Control-D reboot or to a shell.
>> I potter about learning as I go, but I am woefully ignorant of what is 
>> under the bonnet. For today's lesson, could one of you clever people out
>>     
>
>   
>> there instruct on what to tell the Command Line in order to begin the 
>> healing process. I expect that it was discussed back in Linux 101 on a 
>> day I was absent from school! Thanks.
>>     
>
> In the shell it drops to, run
> fsck -y /dev/hda6
>
> This will tell it to repair the filesystem on /dev/hda6, and will assume
> "yes" to questions.
>
> Suspect to disk can work, but depends on a few things, like that your swap
> has to be bigger than the amount of ram you have.  It also depends on the
> laptop.  I've not had that much luck with it myself.
>
> Regards
> Glen Ogilvie
>
>
>
>   
Glen: Ran fsck again without the -y to watch it happen, and get; fsck 
1.41.6 (30-May-2009) e2fsck 1.41.6 (30-May-2009) /dev/hda6: clean, 
......and then the files/blocks numbers again.



More information about the wellylug mailing list