SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-10-22 08:14:23

SabreWolfy
#! Die Hard
Registered: 2009-03-09
Posts: 1,269

[Solved] Auto-mounting LUKS drives in Debian sid

#!, Ubuntu, etc. prompt me to enter a password when I insert a LUKS-encrypted USB drive. I formated the drive under Ubuntu and chose to encrypt the device.

I am familiar with cryptsetup, etc., but I don't know the parameters required to mount it manually. I'm running Debian netinstall sid with OpenBox at the moment.

I've installed Thunar, but that does not have the automount thing built-in it seems. What do I need to install/do to get the convenient popup password prompt when inserting a USB drive? I just realized this install does not even automount drives, so maybe this is more complicated than I thought?

Or alternatively, does anyone know the parameters required to mount an (Ubuntu-created) LUKS drive?

Last edited by SabreWolfy (2012-10-22 08:26:18)


Support #!Waldorf • Debian sid • Xubuntu • siduction • Peppermint • OpenBox • Xfce • LXDE •

Offline

Help fund CrunchBang, donate to the project!

#2 2012-10-22 08:25:05

SabreWolfy
#! Die Hard
Registered: 2009-03-09
Posts: 1,269

Re: [Solved] Auto-mounting LUKS drives in Debian sid

Partially solved. Command-line mount of LUKS encrypted drive:

$ sudo /sbin/cryptsetup luksOpen /dev/sdb1 TheName
$ sudo mount /dev/mapper/TheName /mnt/point

Support #!Waldorf • Debian sid • Xubuntu • siduction • Peppermint • OpenBox • Xfce • LXDE •

Offline

#3 2012-10-26 14:58:01

kbmonkey
#! Junkie
From: South Africa
Registered: 2011-01-14
Posts: 465
Website

Re: [Solved] Auto-mounting LUKS drives in Debian sid

I haven't tried this myself, but look at cryptmount in the repos. It seems to automate your commands above so that when you access the unmounted disk, it will just prompt for the passphrase and mount if for you (see the screenshot on their page for a quick example) smile

Last edited by kbmonkey (2012-10-26 14:58:39)

Offline

#4 2012-10-27 11:58:47

SabreWolfy
#! Die Hard
Registered: 2009-03-09
Posts: 1,269

Re: [Solved] Auto-mounting LUKS drives in Debian sid

^ Thanks, I'll check it out.


Support #!Waldorf • Debian sid • Xubuntu • siduction • Peppermint • OpenBox • Xfce • LXDE •

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo