Re: How to attach a fully encrypted drive to Stretch
Le 06/27/17 à 10:16, Hans a écrit :
> Hi!
> I believe, first of all is to check, how youz device is seen at the usb-port.
>
> As root start "tail -f /var/log/syslog" and then plugin your device. Check the
> messages.
>
> When you know the device, check the partionin. Just start "fdisk" and print
> out your partitions. Be careful, not to change anything!
>
> End fdisk, then open your encrypted partition (i.e. sdc3) using
> "cryptsetup luksOpen /dev/sdc3 somename" and enter your correct password.
>
> The term "somename" can freely be chosen, I personally are using something
> like "usr2" or "home2" whatever.
>
> When your device is opened, you can mount it somewhere, I am using
> either "/mnt" or create a new directory (i.e. /disk1)
>
> So, mount it using "mount /dev/mapper/somename /mnt".
>
It won't work : the disk is an lvm volume (as said in first message), so
there is some lvm stuff to do before this. Sorry I do not know lvm to
give the right commands to use.
Reply to: