Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: OMG! Think I did something stupid with dmcrypt

From: Kevin Buhr <buhr+debian(at)asaurus.net>
Date: Sat Feb 16 2008 - 18:28:07 EST


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 


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sat Feb 16 18:28:38 2008

This archive was generated by hypermail 2.1.8 : Sun Mar 16 2008 - 09:09:29 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library