Re: OMG! Think I did something stupid with dmcrypt
Andrew Henry <adhenry@bredband.net> writes:
>
> I have debian lenny on a server with full disk encryption (the guided
> partitioning option) and an external usb WD Mybook that is also
> encrypted with dmcrypt/LUKS.
LUKS stores the encrypted master key (generally decryptable by
supplying just the passphrase, though it's possible for a keyfile to
be used) in a header at the start of the partition. So, you probably
haven't lost your data.
But why are we talking about this? Have you tried sticking your
bloody USB stick in a Linux machine and mounting the partition? If
you need to do it manually:
cryptsetup luksOpen /dev/sda1 mydata
...enter passphrase when prompted...
mount /dev/mapper/mydata /mnt
ls /mnt
where "/dev/sda1" is the partition.
Good luck!
--
Kevin <buhr+debian@asaurus.net>
Reply to: