Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-26-2005, 07:04 PM
|
#1
|
LQ Newbie
Registered: Nov 2005
Location: The Netherlands
Distribution: slackware 10.2 with 2.6.14.2 kernel
Posts: 5
Rep:
|
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
|
|
|
11-27-2005, 07:38 AM
|
#2
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
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
|
|
|
11-27-2005, 04:34 PM
|
#3
|
LQ Newbie
Registered: Nov 2005
Location: The Netherlands
Distribution: slackware 10.2 with 2.6.14.2 kernel
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
11-28-2005, 02:07 AM
|
#4
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
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.
|
|
|
11-28-2005, 07:33 AM
|
#5
|
LQ Newbie
Registered: Nov 2005
Location: The Netherlands
Distribution: slackware 10.2 with 2.6.14.2 kernel
Posts: 5
Original Poster
Rep:
|
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 !
|
|
|
All times are GMT -5. The time now is 03:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|