Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-03-2009, 08:29 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
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
ioctl: LOOP_SET_STATUS:no such file or directory

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

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

i load cryptoloop , dm-crypt ,cryptsetup-luks
Old 07-04-2009, 07:45 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
There are tutorials available on the Internet.

cryptsetup generally uses device mapper and logical volume manager rather than using losetup.
Old 07-05-2009, 02:42 AM   #3
Senior Member
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Originally Posted by stress_junkie View Post
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Informing gnome of losetup image that contains cryptsetup. sdtester Linux - Hardware 0 01-14-2009 12:13 AM
losetup in initrd lordikc Linux - Kernel 0 01-28-2008 09:04 AM
losetup problems during encryption!!! raklo Linux - Software 43 02-08-2007 12:06 AM
losetup with a HUGE offset eantoranz Linux - Software 0 12-08-2005 11:17 AM losetup migration beaucoup Linux - Security 2 03-13-2005 04:11 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration