[dm-crypt] open ext-2/3/4 luks container, ext2fsd + FreeOTFE in Windows

Milan Broz gmazyland at gmail.com
Tue Nov 26 13:34:05 CET 2013


On 11/26/2013 01:06 PM, shmick at riseup.net wrote:
> does anybody have some working field notes they can pass on to get this
> working ?
> 
> when i attempt to open the luks container, FreeOTFE can't do it
> 
> in windows device manager the disk reports it must be initialised which
> will obviously destroy the luks header info

I think usual way is to create partition table with single partition
(and create LUKS on that partition)
IIRC device manager will not complain if there is a partition table.


> i may have better luck with a FAT/NTFS fs but i'd prefer to keep it
> native to linux and just use read only in Windows
> 
> my method was to simply first create the luks container, format it to
> ext4 and attempt to open in Windows with FreeOTFE

So you destroy LUKS header or keyslots by mkfs? This is wrong, don't do it.
It is just pure luck if it works. (It was actually kind of a bug in mkfs that it
did not destroy LUKS signature properly.)

Milan


More information about the dm-crypt mailing list