Mounting encrypted partition; passphrase

I have an encypted partition on my system, which is not mounted during boot. I mount it from Dophin. I would like to know how I can mount this partiion via command line? Also, is it possible to change the passphrase if need be?

I have found this page: https://en.opensuse.org/SDB:Encrypted_filesystems about encrypted file systems, but I am not sure it applies to my situation. I do not seem to have /etc/crypttab.

Thanks for any advice.

NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
Linux linux-wxyx 3.16.7-35-desktop #1 SMP PREEMPT Sun Feb 7 17:32:21 UTC 2016 (832c776) x86_64 x86_64 x86_64 GNU/Linux

On Mon 07 Mar 2016 09:26:02 PM CST, Andras wrote:

I have an encypted partition on my system, which is not mounted during
boot. I mount it from Dophin. I would like to know how I can mount this
partiion via command line? Also, is it possible to change the passphrase
if need be?

I have found this page:
SDB:Encrypted filesystems - openSUSE Wiki about encrypted file
systems, but I am not sure it applies to my situation. I do not seem to
have /etc/crypttab.

Thanks for any advice.

Code:

NAME=openSUSE
VERSION=“13.2 (Harlequin)”
VERSION_ID=“13.2”
PRETTY_NAME=“openSUSE 13.2 (Harlequin) (x86_64)”
ID=opensuse
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:opensuse:opensuse:13.2”
BUG_REPORT_URL=“https://bugs.opensuse.org
HOME_URL=“https://opensuse.org/
ID_LIKE=“suse”

Code:

Linux linux-wxyx 3.16.7-35-desktop #1 SMP PREEMPT Sun Feb 7
17:32:21 UTC 2016 (832c776) x86_64 x86_64 x86_64 GNU/Linux

Hi
If you manually open, eg;


crypsetup luksOpen /dev/sdnX <encrypted container>
yast2 disk

You should then be able to select the partition (rescan the devices
first maybe) and add you mount point ONLY, no formatting :wink: and YaST
should take care of it all…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.53-60.30-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thanks! That is helpful.