Re: Looking for confirmation as I enter the acceptance stage.

Michael Kjörling <[email protected]> Wed, 26 Jul 2023 15:50:35 +0000
Newsgroups dev.linux.lists.cryptsetup
Message-ID <[email protected]>
On 26 Jul 2023 11:38 -0400, from [email protected] (blobfish):
> Further I did:
> 
> sudo cryptsetup luksOpen sdb1.head.shift mapped1
>   I was prompted for passphrase and entered it.
>   command finished without error.
>   new path at /dev/mapper/mapped1
> 
> I am guessing that is a pretty good sign?

That is an EXTREMELY good sign; it means that cryptsetup is happy with
the LUKS header itself. Having run that, try

sudo file -s /dev/mapper/mapped1

(`-s` tells `file` to treat special files such as block device nodes
no differently from regular files.)

If you are exceptionally lucky, that will return the file system type
(and some metadata) for what you've had inside the LUKS container all
along. If it does, then it just _might_ be the case that getting
actual access to your data only requires one way or another accounting
for whatever caused the LUKS header to be logically shifted within the
partition, which can be done with tools typically available on any
Linux system. But one step at a time.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”