phaas
20th March 2005, 12:24 PM
Hi there!
I've been unsuccesfully trying to setup an encrypted loop-device using an image on my harddrive.
I use the 'losetup' program on a default fedora core 3 installation.
This is what i've tried and what went wrong:
bash-3.00$ dd bs=1024 count=5k if=/dev/zero of=image
5120+0 records in
5120+0 records uit
bash-3.00$ su
Password:
[root@localhost]# /sbin/modprobe cryptoloop
[root@localhost]# /sbin/modprobe aes-i586
[root@localhost]# /sbin/losetup -e aes256 image /dev/loop0
Password:
ioctl: LOOP_SET_FD: Inappropriate ioctl for device
[root@localhost]#
Bang, thats all I get.
I've read this (http://linuxfromscratch.org/~devine/erfs-howto.html) document, but I think I'm hopeless stuck atm.
Does someone have experience with this?
I've been unsuccesfully trying to setup an encrypted loop-device using an image on my harddrive.
I use the 'losetup' program on a default fedora core 3 installation.
This is what i've tried and what went wrong:
bash-3.00$ dd bs=1024 count=5k if=/dev/zero of=image
5120+0 records in
5120+0 records uit
bash-3.00$ su
Password:
[root@localhost]# /sbin/modprobe cryptoloop
[root@localhost]# /sbin/modprobe aes-i586
[root@localhost]# /sbin/losetup -e aes256 image /dev/loop0
Password:
ioctl: LOOP_SET_FD: Inappropriate ioctl for device
[root@localhost]#
Bang, thats all I get.
I've read this (http://linuxfromscratch.org/~devine/erfs-howto.html) document, but I think I'm hopeless stuck atm.
Does someone have experience with this?