LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Problem with Encrypted Partition using LUKS on Debian (http://www.linuxquestions.org/questions/debian-26/problem-with-encrypted-partition-using-luks-on-debian-869424/)

michalng 03-18-2011 12:01 PM

Problem with Encrypted Partition using LUKS on Debian
 
I had encrypted a partition in Debian6 KDE4 using LUKS.

Using the partition as a backup storage so do NOT want to automount it, therefore I have not added the encrypted partition (/dev/sda5) into /etc/crypttab or /etc/fstab


However, when booted into Debian, the partition is not shown in dolphin.

How can I mount it manually when I need to use it?

j1alu 03-18-2011 04:04 PM

Just ran across this:
http://www.debianuserforums.org/viewtopic.php?f=9&t=408
From my experiments it means you do:
Code:

cryptsetup luksOpen /dev/sdb1 bu-disk
mount /dev/mapper/bu-disk /media/backup

do what needs to be done, and then:
Code:

umount /media/backup
cryptsetup luksClose bu-disk

While searching for solutions i also found this:
http://www.linux-magazine.com/Issues...kategorie%29/0

hope this helps, good luck.


All times are GMT -5. The time now is 03:19 AM.