You are not logged in.

#1 2012-06-15 13:43:16

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

[SOLVED] Cannot create /dev/loop0

I am trying to create an encrypted loopback device.

Firstly, I created a file using

dd if=/dev/urandom of=./bigsecret bs=1M count=200

Then, created a /dev/loop0 using

losetup /dev/loop0 ./bigsecret

Then these two commands:

cryptsetup luksFormat /dev/loop0
cryptsetup luksOpen /dev/loop0 secret

After that the expected behavior is to see a new file secret in /dev/mapper but I am not getting that. I am following the wiki https://wiki.archlinux.org/index.php/Sy … filesystem

EDIT: It seems like the loop0 was not being created and the losetup command was failing silently. Fixed now.

Last edited by shadyabhi (2012-06-15 14:20:59)

Offline

Board footer

Powered by FluxBB