<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>linux cryptoloop problems</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/184 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="184"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  &lt;style type="text/css"&gt;/**
 * GeSHi (C) 2004 - 2007 Nigel McNie, 2007 - 2008 Benny Baumann
 * (http://qbnz.com/highlighter/ and http://geshi.org/)
 */
.bash .de1, .bash .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.bash  {font-family:monospace;}
.bash .imp {font-weight: bold; color: red;}
.bash li, .bash .li1 {color: #DDD;}
.bash .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.bash .kw1 {color: #000000; font-weight: bold;}
.bash .kw2 {color: #c20cb9; font-weight: bold;}
.bash .kw3 {color: #7a0874; font-weight: bold;}
.bash .co0 {color: #666666; font-style: italic;}
.bash .co1 {color: #800000;}
.bash .co2 {color: #cc0000; font-style: italic;}
.bash .co3 {color: #000000; font-weight: bold;}
.bash .es1 {color: #000099; font-weight: bold;}
.bash .es2 {color: #007800;}
.bash .es3 {color: #007800;}
.bash .es4 {color: #007800;}
.bash .es5 {color: #780078;}
.bash .es_h {color: #000099; font-weight: bold;}
.bash .br0 {color: #7a0874; font-weight: bold;}
.bash .sy0 {color: #000000; font-weight: bold;}
.bash .st0 {color: #ff0000;}
.bash .st_h {color: #ff0000;}
.bash .nu0 {color: #000000;}
.bash .re0 {color: #007800;}
.bash .re1 {color: #007800;}
.bash .re2 {color: #007800;}
.bash .re4 {color: #007800;}
.bash .re5 {color: #660033;}
.bash span.xtra { display:block; }
&lt;/style&gt;&lt;div class="code"&gt;&lt;table class="bash"&gt;&lt;tbody&gt;&lt;tr class="li1"&gt;&lt;td class="ln"&gt;&lt;pre class="de1"&gt;1
2
3
4
5
6
7
8
9
10
11
12
&lt;/pre&gt;&lt;/td&gt;&lt;td class="de1"&gt;&lt;pre class="de1"&gt;Does not work anymore on Ubuntu &lt;span class="nu0"&gt;14.04&lt;/span&gt;:
&amp;#160;
$ &lt;span class="kw2"&gt;mount&lt;/span&gt; &lt;span class="re5"&gt;-oencryption&lt;/span&gt;=blowfish-&lt;span class="nu0"&gt;256&lt;/span&gt; &lt;span class="re5"&gt;-ophash&lt;/span&gt;=unhashed2 &lt;span class="sy0"&gt;/&lt;/span&gt;dev&lt;span class="sy0"&gt;/&lt;/span&gt;sdc1 &lt;span class="sy0"&gt;/&lt;/span&gt;mnt&lt;span class="sy0"&gt;/&lt;/span&gt;backup&lt;span class="sy0"&gt;/&lt;/span&gt;
Password: 
ioctl: LOOP_SET_STATUS: No such &lt;span class="kw2"&gt;file&lt;/span&gt; or directory
&amp;#160;
&amp;#160;
This works:
$ modprobe cryptoloop
$ losetup &lt;span class="re5"&gt;-e&lt;/span&gt; blowfish &lt;span class="re5"&gt;-k&lt;/span&gt; &lt;span class="nu0"&gt;256&lt;/span&gt; &lt;span class="re5"&gt;-N&lt;/span&gt; &lt;span class="sy0"&gt;/&lt;/span&gt;dev&lt;span class="sy0"&gt;/&lt;/span&gt;loop0 &lt;span class="sy0"&gt;/&lt;/span&gt;dev&lt;span class="sy0"&gt;/&lt;/span&gt;sdc1 
Passwort: 
$ &lt;span class="kw2"&gt;mount&lt;/span&gt; &lt;span class="sy0"&gt;/&lt;/span&gt;dev&lt;span class="sy0"&gt;/&lt;/span&gt;loop0 &lt;span class="re5"&gt;-o&lt;/span&gt; loop &lt;span class="sy0"&gt;/&lt;/span&gt;mnt&lt;span class="sy0"&gt;/&lt;/span&gt;backup&lt;span class="sy0"&gt;/&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/184/rev-raw/f1008700163477449c25710b8e575119762a04bb/mount-encryption.sh" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/184#mount-encryption.sh"&gt;mount-encryption.sh&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
