Hello, On 2017-06-26 19:36, Eduardo M KALINOWSKI wrote: > On 26-06-2017 16:28, commentsab...@riseup.net wrote: >> I have an adapter to connect my older Jessie (fully encrypted) SATA HDD >> to a USB port. Simply plugin the older disk/adapter into the freshly >> installed Stretch doesn't seem to work (I'm not being prompted for a >> passphrase). >> >> What is the proper way to access the data on that drive when connected >> to the host system via a USB adapter ? >> >> I found an answer on >> <https://unix.stackexchange.com/questions/186375/mount-encrypted-volume-in-debian> >> but do not know if it is valid and am not keen on running undocumented >> commands/commands that I do not understand. > > Assuming the disk is a LUKS encrypted volume (the default since who > knows when), the command is exactly the one in your link.
Thank you for your answer. There are actually several answers on the Stack Exchange thread, which one is the right one ? This one ? > cryptsetup luksOpen /dev/sdb1 disk2 > modprobe dm-mod > vgchange -ay > mount /dev/disk2/disk2 /disk2 CA