From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from v6.tansi.org (ns.km31936-01.keymachine.de [87.118.116.4]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 16 May 2014 12:54:35 +0200 (CEST) Received: from gatewagner.dyndns.org (77-57-44-24.dclient.hispeed.ch [77.57.44.24]) by v6.tansi.org (Postfix) with ESMTPA id BCD4420DC1EA for ; Fri, 16 May 2014 12:54:34 +0200 (CEST) Date: Fri, 16 May 2014 12:54:34 +0200 From: Arno Wagner Message-ID: <20140516105434.GA31000@tansi.org> References: <5374FAD5.1000605@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dm-crypt] Required kernel crypto interface not available List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Fri, May 16, 2014 at 03:58:31 CEST, Franz wrote: > On Thu, May 15, 2014 at 8:43 PM, .. ink .. wrote: > > Summary of below steps: > > 1. create a 10MB image file > > 2. create a LUKS volume on the image file > > 3. open the LUKS volume. > > 4. put a file system on the volume. > > 5. close the the volume. > > 6. ????? > > 7. profit!!!!! :-) > > > > dd if=/dev/urandom of=luks.img bs=1024 count=10000 > > cryptsetup luksFormat luks.img > > cryptsetup luksOpen luks.img luks > > mkfs.ext4 /dev/mapper/luks > > cryptsetup luksClose luks > > > > > > > Wow it works!! I cannot believe it was that easy. Also I was able to create > a container called only test, without the .img extension to hidden the file > among other files. Many thanks INK you are great! > > I was breaking my head for nothing. Well it is easy when you know how to do > it. Otherwise... Goodby to Truecrypt now. > > And to make a 200 MB container? > For a less obscure way to create files in any size you like seel also FAQ item 2.6. Can also be done with /dev/urandom, but that gets really slow on larger files, see FAQ Item 2.19 for the idea how to wipe faster. The FAQ ist at http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. - Plato