Mount encrypted hfs in ubuntu

Posted by pagid on Super User See other posts from Super User or by pagid
Published on 2012-09-21T19:37:40Z Indexed on 2012/09/21 21:43 UTC
Read the original article Hit count: 241

Filed under:
|
|
|

I try to mount an encrypted hfs+ partition in ubuntu.

An older post described quite good how to do it, but lacks the information how to use encrypted partitions.

What I found so far is:

  # install required packages
  sudo apt-get install hfsprogs hfsutils hfsplus loop-aes-utils
  # try to mount it
  mount -t hfsplus -o encryption=aes-256 /dev/xyz /mount/xyz

But once I run this I get the following error:

  Error: Password must be at least 20 characters.

So I tried to type it in twice, but that results in this:

  ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key (256 bits) not supported by kernel

Any suggestions?

Thx


Edit:

One thing I'm not sure about is whether I use the right password. My assumption is that it is my default one for these situations. But I'm not sure whether Max OSX choose another password (internally) for that.

© Super User or respective owner

Related posts about ubuntu

Related posts about encryption