1 |
On 16/01/20 07:41, Andrew Udvare wrote: |
2 |
> |
3 |
>> On 2020-01-16, at 02:30, n952162 <n952162@×××.de> wrote: |
4 |
>> |
5 |
>> Does anyone have experience with this? Is it possible to a save an |
6 |
>> ext3/4 system destroyed by mkswap? |
7 |
>> |
8 |
>> |
9 |
>> |
10 |
> |
11 |
> Try app-admin/testdisk |
12 |
> |
13 |
> Get to a point where you know for sure nothing is writing to the disk (or would be) and make an image with dd, then leave the physical disk alone. Then start recovery. |
14 |
> |
15 |
Not that I know any gory details, but if mkswap is ALL that you have |
16 |
done, then probably it's just destroyed the ext header at the start of |
17 |
the partition. |
18 |
|
19 |
If you can get hold of the alternate (backup) header, then you should be |
20 |
able to restore the filesystem. |
21 |
|
22 |
And I would VERY MUCH echo Andrew's advice to make a dd image and work |
23 |
on that! |
24 |
|
25 |
Cheers, |
26 |
Wol |