On 16/01/20 07:41, Andrew Udvare wrote: > >> On 2020-01-16, at 02:30, n952162 <n952...@web.de> wrote: >> >> Does anyone have experience with this? Is it possible to a save an >> ext3/4 system destroyed by mkswap? >> >> >> > > Try app-admin/testdisk > > 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. > Not that I know any gory details, but if mkswap is ALL that you have done, then probably it's just destroyed the ext header at the start of the partition.
If you can get hold of the alternate (backup) header, then you should be able to restore the filesystem. And I would VERY MUCH echo Andrew's advice to make a dd image and work on that! Cheers, Wol