[ltp] Re: swap problem (!)
Thomas Hartwig
linux-thinkpad@linux-thinkpad.org
Sun, 03 Apr 2005 20:53:22 +0200
Hi Leo,
how did you finally fix it. Please help others and post a short summary.
;-)
Thanks
Thomas
Leo Gürtler wrote:
> Matthias Posseldt wrote:
>
> Thanks, I was able to rescue all those data that were necessary.
>
> best regards
>
> leo
>
>> It may be possible if you didn't use the swap partition yet. First do
>> a complete backup of your partition (dd if=/dev/hdx
>> of=somelargefile.img) and then operate on this image to try to restore
>> your data on the partition.
>>
>> Ext3 contains some superblocks which are entry points to the directory
>> structure. If one of them is destroyed, it is possible to use a
>> different superblock to restore the filesystem. That can be done with
>> fsck.ext3. Read the manual pages and the documentation on the internet
>> for further information.
>>
>> And, that is most important, be very careful when booting rescue CDs
>> and the like. They almost always activate the swap partitions and use
>> them. That will destroy your data. So boot these CDs with a "noswap"
>> option or the like.
>>
>> Regards,
>> Matthias
>>
>>
>>
>
>
>