[dm-crypt] help

Felix Wagner felix at wagner-felix.com
Thu Feb 25 18:49:39 CET 2016


I do have one more question. I recently updated my arch system and now
whenever I luksOpen the mapped dev gets mounted automatically. Is this
arch specific or cryptsetup?

Sincerely
Felix



On Thu, 25 Feb 2016 18:20:55 +0100
Milan Broz <gmazyland at gmail.com> wrote:

> On 02/25/2016 06:05 PM, Felix Wagner wrote:
> > Hello,
> > 
> > thanks for your replies. Yea, any of those files DO NOT exist
> > anywhere on my fs (I checked with find). I think the process didn't
> > really start.
> > 
> > How do I continue then?  
> 
> ok, it is possible that you find a nasty bug...
> (using /dev/disk/uuid path seems to be not working).
> 
> Try this (replace <LUKS_device> and <backup_file> appropriately):
> 
> 1) backup current (invalidated) header to some file (just to be sure)
> 
> dd if=<LUKS_device> of=<backup_file> bs=512 count=2056
> 
> 2) recover magic string
> 
> echo -n -e 'LUKS\xba\xbe' | dd of=<LUKS_device> bs=1 seek=0
> conv=notrunc
> 
> ...
> and try to luksDump it, then luksOpen.
> 
> Milan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20160225/4a38d6f8/attachment.asc>


More information about the dm-crypt mailing list