1 |
On Sat, Jan 18, 2020 at 6:32 AM Wols Lists <antlists@××××××××××××.uk> wrote: |
2 |
> |
3 |
> Not that I know any gory details, but if mkswap is ALL that you have |
4 |
> done, then probably it's just destroyed the ext header at the start of |
5 |
> the partition. |
6 |
> |
7 |
> If you can get hold of the alternate (backup) header, then you should be |
8 |
> able to restore the filesystem. |
9 |
> |
10 |
|
11 |
You can learn where the alternate superblocks are by doing a |
12 |
'mkfs.ext3 -n /dev/$BAD_DEV' and it will do _nothing_ to the disk, but |
13 |
it will tell you where it places the backup superblocks for a disk |
14 |
that size. |
15 |
|
16 |
- Matthew |