Now i try to at least extract some valuable information from it with the help of MX LIVE-USB.
At first i checked backup superblocks
Code: Select all
demo@mx1:~
$ sudo mke2fs -n /dev/nvme0n1p3
[sudo] password for demo:
mke2fs 1.46.2 (28-Feb-2021)
/dev/nvme0n1p3 contains a crypto_LUKS file system
Proceed anyway? (y,N) y
Creating filesystem with 21504000 4k blocks and 5382144 inodes
Filesystem UUID: 883b534d-ae5f-426c-9f83-f2300cbf1f61
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000
Code: Select all
demo@mx1:~
$ sudo cryptsetup luksOpen /dev/nvme0n1p3 homeMX
Enter passphrase for /dev/nvme0n1p3:
demo@mx1:~
$ sudo cryptsetup luksOpen /dev/nvme0n1p3 homeMX
Enter passphrase for /dev/nvme0n1p3:
Device homeMX already exists.
Then i tried to repair the superblock from the backup. But it tells, that disk is in use. Probably because i "opened" it before.
Code: Select all
$ sudo e2fsck -b 20480000 /dev/nvme0n1p3
e2fsck 1.46.2 (28-Feb-2021)
/dev/nvme0n1p3 is in use.
e2fsck: Cannot continue, aborting.
Code: Select all
demo@mx1:~
$ sudo cryptsetup luksClose homeMX
demo@mx1:~
$ sudo e2fsck -b 20480000 /dev/nvme0n1p3
e2fsck 1.46.2 (28-Feb-2021)
e2fsck: Invalid argument while trying to open /dev/nvme0n1p3
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
Code: Select all
$ sudo e2fsck -b 294912 /dev/nvme0n1p3
e2fsck 1.46.2 (28-Feb-2021)
e2fsck: Bad magic number in super-block while trying to open /dev/nvme0n1p3
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
/dev/nvme0n1p3 contains a crypto_LUKS file system
Am i doing smth wrong or just no way to help here?