You are not logged in.

#1 2010-11-25 13:45:37

fourreux
Member
Registered: 2008-03-12
Posts: 56

[solved] cryptsetup luksopen <device> BUT no <name>

How does that work??

When I access the encrypted device with:

cryptsetup luksOpen /dev/sdc1

I get a message:

cryptsetup: luksOpen: requires <device> <name>  as arguments

But how does nautilus, for instance, do this??? I mean I plug it in (usb harddrive) and there's the Passphrase Input box immediately popping up. I don't tell nautilus what mapper device there is.

Can't I do that from command line?

Last edited by fourreux (2010-11-26 10:40:02)

Offline

#2 2010-11-25 19:13:38

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: [solved] cryptsetup luksopen <device> BUT no <name>

As the error says you have to call luksOpen with 2 arguments.
First: device
Second: name

cryptsetup luksOpen /dev/sda just_an_example_name

Then you'll find the decrypted device in /dev/mapper/just_an_example_name and can mount it.

Last edited by Andrwe (2010-11-25 19:15:17)

Offline

#3 2010-11-26 10:39:45

fourreux
Member
Registered: 2008-03-12
Posts: 56

Re: [solved] cryptsetup luksopen <device> BUT no <name>

Thanx a lot!

Personal note:

On a "Permission denied" => try "sudo"!!

silly me.

Offline

Board footer

Powered by FluxBB