From: Yves-Alexis Perez <corsac@corsac.net>
To: Arno Wagner <arno@wagner.name>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Debian Boot
Date: Thu, 25 Oct 2012 10:07:13 +0200 [thread overview]
Message-ID: <1351152433.8347.5.camel@oban> (raw)
In-Reply-To: <20121024163348.GA25156@tansi.org>
On mer., 2012-10-24 at 18:33 +0200, Arno Wagner wrote:
> On Wed, Oct 24, 2012 at 04:05:34PM +0000, St?phane Bailleul wrote:
> >
> >
> > Hi My PC just crashed, the hard drive were encrypted ( I don't exactly
> > know the method) but it was during the debian squeeze 64 bits
> > installation, one of the optionMy Hard drive with a separate / and Home
> > /dev/sda1 was the //dev/sda5 was the home it seems that something went
> > very bad on this computer, after turning it on nothing shows on the screen
> > after the bios.Using the rescue option on my CD, I have been able to mount
> > SDA1, I was trying to mount SDA5 but can notusing cryptsetup luksOpen is
> > says that it is not a valid device there is no mapper in /sda1/dev Is
> > there a way to mount sda5 and unencrypt the data ?I still have the
> > password I hope there is a solution CheersStephane
>
> Ok, lets start with the advice for this situation from
> the FAQ: First, calm down.
>
> Some questions:
>
> 1.What exactly did you do?
>
> 2. Did you install squeeze 64bit over some other installation
> you had before? What kind of other installation was that?
>
> 3. What was encrypted before and how? You seems to think sda5 was
> encrypted with LUKS, why do you think that? (What do you
> know about it that tells you it was encrypted?)
Few precisions on Debian installer use of encryption. The “default”
encrypted setup is done using LVM, as:
/dev/sda1 → /boot
/dev/sda5 (logical partition, even though there's still room for other
primary ones) → luks partition (using, afair, aes-essiv but I'm not
completely sure) mapped as /dev/mapper/sda5_crypt
/dev/mapper/sda5_crypt is a physical volume for LVM on top of which are
a volume group (name from the hostname) and logical volumes
(for /, /home and swap)
So, in theory, cryptsetup luksDump /dev/sda5 should return the header
for the encrypted partition.
Regards,
--
Yves-Alexis
next prev parent reply other threads:[~2012-10-25 8:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 16:05 [dm-crypt] Debian Boot Stéphane Bailleul
2012-10-24 16:33 ` Arno Wagner
2012-10-25 8:07 ` Yves-Alexis Perez [this message]
2012-10-25 10:47 ` Arno Wagner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351152433.8347.5.camel@oban \
--to=corsac@corsac.net \
--cc=arno@wagner.name \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.