LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how use cryptsetup and losetup (https://www.linuxquestions.org/questions/programming-9/how-use-cryptsetup-and-losetup-737456/)

azza 07-03-2009 07:29 AM

how use cryptsetup and losetup
 
hi all;
i have very big problem when I encrypt linux partition using losetup and error occure when I try to mount the partition (run the command )

mount -t ext3 /home/crypt
password:
ioctl: LOOP_SET_STATUS:no such file or directory

and when I use cryptosetup also error occure when I run
cryptsetup luksOpen /dev/sdb1
password:

command filed :no key available for this password

how can I solve yhis problem
or what is the alternative
I used arc4 crypto for both
thanks


i load cryptoloop , dm-crypt ,cryptsetup-luks

stress_junkie 07-04-2009 06:45 PM

There are tutorials available on the Internet.

cryptsetup generally uses device mapper and logical volume manager rather than using losetup.

ta0kira 07-05-2009 01:42 AM

Quote:

Originally Posted by stress_junkie (Post 3596925)
cryptsetup generally uses device mapper and logical volume manager rather than using losetup.

losetup is still necessary for looping file-systems contained within files, however.
Kevin Barry


All times are GMT -5. The time now is 06:30 PM.