All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Christensen <dpchrist@holgerdanske.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Can't open luks after switching distros
Date: Sat, 9 Jun 2018 22:12:16 -0700	[thread overview]
Message-ID: <d094a778-2ccd-2e3e-1adb-186eefa67650@holgerdanske.com> (raw)
In-Reply-To: <20180609163540.0782e08b@P4.Niklas.net>

On 06/09/18 13:35, David Niklas wrote:
> My computer broke and I am now regressed to a 32 bit p4.
> The problem is that my passphrase is said to be incorrect
> 
> % uname -a
> Linux P4 4.9.0-4-686-pae #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) i686
> GNU/Linux
> 
> I am running Devuan (Debian derivative), Linux and I tried the native
> cryptsetup 1.7.3-4 and I also compiled and tried with 1.7.5 which is
> compiled by default against libgcrypt20 1.7.6-2+deb9u2 .
> 
> I tried several different ways to write my passphrase without success. I
> did type it out and then copy it via screen as soon as I noticed that I
> was having trouble so that there was no chance of typing errors.
> I last opened the container and partition using knoppix on this system.
> Container is a backup of of the files on a home filesystem which is also
> encrypted with the same passphrase. I have tried to luks open both the
> container and the filesystem without success.
> I have no recollection as to which gcrypt/crypsetup my 64-bit or knoppix
> live dvd use(s|d).

I would try:

1.  Shut down.  Disconnect your backup and home drives.  Install a new 
drive.

2.  Boot OS.  Set up partition, LUKS container, and file system on new 
drive.

3.  Shut down.  Connect your backup and home drives.

4.  Boot Knoppix live CD.  Open all LUKS containers.  Mount backup and 
home file systems read-only.  Mount new drive file system read-write. 
Copy backups and home data to new drive.

5.  Shutdown.  Disconnect backup and home drives.

6.  Boot new OS and verify new drive has backups and home data.


David

  reply	other threads:[~2018-06-10  5:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09 20:35 [dm-crypt] Can't open luks after switching distros David Niklas
2018-06-10  5:12 ` David Christensen [this message]
2018-06-10  7:10 ` Milan Broz
2018-06-10 12:44 ` Michael Kjörling

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=d094a778-2ccd-2e3e-1adb-186eefa67650@holgerdanske.com \
    --to=dpchrist@holgerdanske.com \
    --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.