LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-26-2005, 07:04 PM   #1
white scorpion
LQ Newbie
 
Registered: Nov 2005
Location: The Netherlands
Distribution: slackware 10.2 with 2.6.14.2 kernel
Posts: 5

Rep: Reputation: 0
Truecrypt problem. No available loopback interface


Hi All,

I've just installed TrueCrypt 4.0 on my windows system. Of course it would be nice to use it from my linux system as well, and here's where the fun starts:

- my system was slackware 10.2 with default kernel 2.4.31, truecrypt needs kernel 2.6.8 or higher

i decided to download the latest stable kernel 2.6.14.2 and although i had bad experiences with self-compiled kernels in the past, this was pretty easy.

Once the kernel was installed i ran truecrypt installer again. Now it complains that it needs dmsetup. After some searching i came to figure out that it is the device-mapper. So i downloaded and installed device-mapper. Truecrypt is still complaining. It appears that my newly created kernel didn't support it.
After adding LVM support to the kernel this problem was finally solved.
Truecrypt is installed successfully but when i try to mount my encrypted container it gives the following errormessage: truecrypt: No free loopback device available for file-hosted volume

Of course i ran truecrypt as root, so it shouldn't be an access issue.
Since lo is available as always i don't really understand what to do with this. So to make a long story short ;-)

Anyone has any idea on how to solve this 'little' problem?

Thanks in advance!

Rgds,

Mark
 
Old 11-27-2005, 07:38 AM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Do you use udev? If yes add to devfs.rules: KERNEL=="loop[0-9]*", NAME="loop/%n"
If no:
mknod /dev/loop0 b 7 0
mknod /dev/loop1 b 7 1
.....
mknod /dev/loop7 b 7 7
 
Old 11-27-2005, 04:34 PM   #3
white scorpion
LQ Newbie
 
Registered: Nov 2005
Location: The Netherlands
Distribution: slackware 10.2 with 2.6.14.2 kernel
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your response!

I've first used the udev option, but my devfs.rules was called devfs.rules.unsupported
I've renamed the file to devfs.rules

finally i've tried the other one as well with mknod, but with every loop[0-7] it returned "File exists"

So this should mean they are already there, shouldn't it?
Any other ideas?
 
Old 11-28-2005, 02:07 AM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Hmm, sorry. I assumed the loop nodes didn't exist. Hopefully someone else knows whats wrong with it, as I'm now out of ideas.
 
Old 11-28-2005, 07:33 AM   #5
white scorpion
LQ Newbie
 
Registered: Nov 2005
Location: The Netherlands
Distribution: slackware 10.2 with 2.6.14.2 kernel
Posts: 5

Original Poster
Rep: Reputation: 0
I already found what the problem is:

i had to add the following in the kernel configuration:

devicedrivers --> block devices --> loopback support.

After recompiling the problem is solved.
Thanks for your help anyway !
 
  


Reply



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
Using loopback interface... ozymandias Linux - Newbie 2 10-28-2005 01:37 PM
sending out going traffic to the loopback interface with iptables hypexr Linux - Networking 1 09-22-2005 07:36 PM
Loopback Interface in a router theneb Linux - Networking 1 01-16-2005 02:03 AM
error on boot up: Bringing up loopback interface glorygirl Linux - Networking 2 01-18-2004 10:11 PM
Bringing up loopback interface pollycat Linux - Networking 49 09-07-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:00 PM.

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