1 |
On Mon, 09 Feb 2009 09:39:24 +0100 |
2 |
Johan Blåbäck <johan.bluecreek@×××××.com> wrote: |
3 |
|
4 |
> I'm setting up this old computer of mine and why not encrypt it. I have |
5 |
> done this on several computers before, but never have I gotten these |
6 |
> kind of errors. |
7 |
|
8 |
You'll get segfault if you're trying to do something like luksOpen on a |
9 |
non-existing device. |
10 |
|
11 |
At least that was the reason for me, once, when I've tried to |
12 |
luksOpen /dev/sda2 instead of /dev/sda3, or something like that. |
13 |
|
14 |
Had it figured out by putting strace to initrd and running "strace |
15 |
cryptsetup luksOpen ..." instead of just cryptsetup - gave me something |
16 |
like "open('/dev/sdaX', ...) = -1 ENXIO (No such device or address)", so |
17 |
I had to double-check and found the mistake to be that trivial. |
18 |
|
19 |
-- |
20 |
Mike Kazantsev // fraggod.net |