ZenwalkThis forum is for the discussion of Zenwalk Linux.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello, I'm using Zenwalk 6.4 and I've installed TrueCrypt 6.3a.
Everything works fine on the set up until the last stage when I get a message "Failed to set up a loop device......."
Anyone out there had any experience with this problem using TrueCrypt?
As usual, I'd be most grateful for any input.
I don't think that this is an old message, I've tried to create a volume several times without a result.
I've also tried to use cryptkeeper and this appears to run perfectly, until I try to access anything I've put in the encrypted file. I put a file in the test folder and everything looks normal, I hide the folder and access it again with the password and it's empty. I'm wondering if I'm missing some dependencies although, as both applications were installed by netpkg, I shouldn't be.
I meant "old" as in "left in the codebase from times, when the loopback device was used". Did you try to set up an encrypted partition using cryptsetup (maybe luks)? If my assumption is correct, that dm-crypt support is missing in your kernel, this should fail, too. But if it works, there's another problem, no idea in this case.
When I try to run cryptsetup on my zenwalk box it won't recognise the command
I think all that means is you don't have cryptsetup installed. Have you tried creating a loop device with the losetup command:
$ losetup /dev/loop0
You will probably get an error message unless you run the command as root. I'm guessing that's the problem you are having, i.e. truecrypt has inadequate permissions to setup a loop device. If running truecrypt as root solves the problem, then it's clearly a permission problem.
Uhm wait ... did you try creating a volume in a /file/ container? In that case, I assume kilgoretrout is right, I didn't even consider file containers because I never used them, but using a loop device for that really seems plausible.
I am working as root when trying to run truecrypt and trying losetup results in this:
root[~]# losetup /dev/loop0
loop: can't open device /dev/loop0: No such file or directory
N.B. According to netpkg cryptsetup is installed, as are the dependencies.
Last edited by starkadder; 07-05-2010 at 02:42 PM.
Reason: added note
Then see if you can create a loop device with losetup. If you can, try running truecrypt as root. Most kernels have loop support built into the kernel but some slack based distros compile loop support as a kernel module instead. When that's the case, you have to load the loop module first before you can create a loop device.
Edit: Just got to a machine with zenwalk on it and confirmed that you need to modprobe loop. Unfortunately, still get an error message when running losetup /dev/loop0. However, I was able to mount an iso on a loop device with:
# mount -o loop <path to iso> <mount point>
Running mount afterwards confirmed that the iso was mounted at the mount point through /dev/loop0 even though when I previously ran:
# losetup /dev/loop0
I got an error message. Given the above, I would suggest that you modprobe loop and then try running truecrypt as root.
Last edited by kilgoretrout; 07-05-2010 at 05:11 PM.