You are not logged in.
Pages: 1
Topic closed
Since yesterday's kernel upgrades I've hit a problem with Truecrypt. I have two truecrypt volumes, one being a full partition and the other being a file mounted as a truecrypt volume. The full partition mounts just fine, but the file fails with "Faile to set up a loop device". The wiki only suggests rebooting (which doesn't help). I've reinstalled each of TC and the kernel 'just in case' but again, no difference.
The same error is given with both the stock kernel and the ck kernel (3.2.9.1).
I'm at a bit of a dead end now. Any ideas?
Last edited by Roken (2012-03-04 00:28:13)
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
Same for me. With no the real changes to the kernel pkgbuild I suspect we'll have to wait for truecrypt 7.1b or a patch by some kind wizard, unfortunately.
Offline
Ahh. thanks for replying. I could just boot Windows and recover the encrypted stuff there. The more important drive will mount, so not a huge problem right now. I guess I could also downgrade the kernel. Hmmm - downgrade the kernel or boot windows? Dunno which is worst
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
I'm running a fully updated system and no errors with TrueCrypt here.
Do you have ntfsprogs installed? I remember when I had that package installed I would get the same error when trying to unmount a TrueCrypt container (though this was a while ago), which could be worked around with a forced unmount or by installing ntfs-3g_ntfsprogs-git (unstable) from the AUR, neither being an optimal solution.
Turns out uninstalling ntfsprogs and replacing it with ntfs-3g fixed the problem. Don't really remember why I had installed ntfsprogs in the first place instead of ntfs-3g.
Last edited by qnd (2012-03-03 04:51:38)
Offline
ntfs-3g_ntfsprogs-git has been installed (regularly updated) for a long time now, but I doubt that it's the cause of this — no problems before and neither the encrypted image nor its storage location use ntfs.
Offline
Found the cause: loop isn't automatically modprobe'd anymore.
Offline
Holy cow - good find. one quick modprobe later and there it is nicely mounted .
TY
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
What do I have to do to add it permanently?
Or is one call of "modprobe loop" enough?
Offline
Wise men say: He, who edits the rc.conf, can obtain everything.
Offline
or, as has been hinted at, add "loop" to the modules section of rc.conf
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
or, as has been hinted at, add "loop" to the modules section of rc.conf
Thanks, I've got it
Offline
or, as has been hinted at, add "loop" to the modules section of rc.conf
Thanks too!
Offline
Modules to be loaded should no longer be listed in rc.conf. They go in modules-load.d now. This procedure (described in the wiki truecrypt topic) worked for me:
If not listed, retry the TrueCrypt command after modprobe loop. Should it work, consider to add loop to the MODULES array in /etc/modules-load.d:
# tee /etc/modules-load.d/truecrypt.conf <<< "loop"
See the rc.conf and systemd topics in the wiki for more information.
Last edited by 2ManyDogs (2012-09-28 13:09:15)
Offline
After you reboot then you're back to square one. If you want to make this solution permanent you will have to rebuild 'initrd' with the new module options that include loop devices:
tee /etc/modules-load.d/truecrypt.conf <<< "loop"
tee /etc/modprobe.d/eightloop.conf << "options loop max_loop=8"
dracut --force
reboot
Offline
Thank you errorval. As this is an old thread, I will close it now, as per our policy: Forum Etiquette: Old Threads / Necro-Bumping.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1
Topic closed