Hello,
there are few options how to detect a LUKS container:
- use 'cryptsetup luksDump' on your device. It will fail, if it's
not a LUKS container.
- If you have a dump, you can also use the 'file' command
Or the sophisticated one :-)
- Look at the first few bytes of your partition/dump and check, if
it contains the magic header "LUKS"
'sudo head -c 128 /dev/yourdevice | hexdump -C'
It should look like
00000000 4c 55 4b 53 ba be 00 01 61 65 73 00 00
00 00 00 |LUKS....aes.....|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 |................|
00000020 00 00 00 00 00 00 00 00 78 74 73 2d 70 6c 61
69 |........xts-plai|
00000030 6e 36 34 00 00 00 00 00 00 00 00 00 00 00 00
00 |n64.............|
...
Cheers
Ralf
On 09/22/2015 08:52 PM, H McCurdy wrote:
Hi,
I've read
the FAQ (but can't guarantee I didn't miss something). In the
warnings sections about the Ubuntu installer I read "... (it
is very easy to recognize a LUKS container)..."
I don't
actually need to know, but I'd like to know how this is done.
I didn't find the answer in the FAQ, didn't find it using
Google and didn't find it on Stack Overflow.
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt
|
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt