Re: How can I mount a HDD with full encryption on another system?

2018-08-03 Thread tfrohw...@fastmail.com
It should work as otherwise outlined in the FAQ. The softraid partition is 
marked as RAID when you check with disklabel. Let's say that patrtition is 
sd2a. In that case run

# bioctl -c C -l /dev/sd2a softraid0

It will ask you for the encryption password and then tell you what device it 
assigned it to, for example sd3.

Then just mount whatever you need on sd3

On August 2, 2018 10:06:41 PM UTC, Felix Maschek  wrote:
>Hi!
>
>I've used a full encrypted HDD (created as described in the OpenBSD
>FAQ) 
>on a broken system and want to backup some data from it.
>
>I've assembled this HDD into an external USB case and want to mount the
>
>HDD on another system. How can I mount this HDD? Needless to say that I
>
>know the passphrase...
>
>Kind regards
>Felix



Re: How can I mount a HDD with full encryption on another system?

2018-08-02 Thread Erling Westenvik
On Fri, Aug 03, 2018 at 12:06:41AM +0200, Felix Maschek wrote:
> I've used a full encrypted HDD (created as described in the OpenBSD FAQ) on
> a broken system and want to backup some data from it.
> I've assembled this HDD into an external USB case and want to mount the HDD
> on another system. How can I mount this HDD? Needless to say that I know the
> passphrase...

Find the disk:

$ dmesg | grep CRYPTO
sd3 at scsibus4 targ 2 lun 0:  SCSI2 0/direct fixed

# disklabel sd3
...  size   offset  fstype [fsize bsize   cpg]
  a:488279018   64  RAID
...

Unlock it:
# bioctl -c C -l /dev/sd3a softraid0

... attached as sd4 ...

# disklabel sd4
...

Mount partitions:
# mount /dev/sd4k /mnt/home


Good luck,

Erling



Re: How can I mount a HDD with full encryption on another system?

2018-08-02 Thread Josh Grosse
On Fri, Aug 03, 2018 at 12:06:41AM +0200, Felix Maschek wrote:
> Hi!
> 
> I've used a full encrypted HDD (created as described in the OpenBSD FAQ) on
> a broken system and want to backup some data from it.
> 
> I've assembled this HDD into an external USB case and want to mount the HDD
> on another system. How can I mount this HDD? Needless to say that I know the
> passphrase...
> 
> Kind regards
> Felix
> 
See the bioctl(8) man page.  The softraid(4) man page may also be
helpful.



How can I mount a HDD with full encryption on another system?

2018-08-02 Thread Felix Maschek

Hi!

I've used a full encrypted HDD (created as described in the OpenBSD FAQ) 
on a broken system and want to backup some data from it.


I've assembled this HDD into an external USB case and want to mount the 
HDD on another system. How can I mount this HDD? Needless to say that I 
know the passphrase...


Kind regards
Felix