truecrypt, loop and /etc/modules-load.d/truecrypt.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello

I used the wikipage to address the problem where loop module does not load.
 Here is the relevant page.

=== Failed to set up a loop device ===

If you get a message "Failed to set up a loop device" when trying to
create/mount a TrueCrypt volume, it may be because you updated your kernel
recently without rebooting.
Rebooting should fix this error.

Otherwise, check if ''loop'' has been loaded as kernel module:

 $ lsmod | grep loop

If not listed, retry the TrueCrypt command after {{ic|modprobe loop}}.
Should it work, consider to add ''loop'' to the modules in
{{ic|/etc/modules-load.d}}:

 # tee /etc/modules-load.d/truecrypt.conf <<< "loop"

{{Note|As of udev 181-5, the loop device module is no longer auto-loaded,
and the procedure described here is necessary.}}


I am using a stock kernel.  I tried to use sudo to run truecrypt and it
failed to setup a loop device.  I did a check of lsmod output and loop was
not loaded after I made the truecrypt.conf change.

After I modprobe loop by hand truecrypt would work and the encrypted drive
would be mounted on /mnt/truecrypt1.  Is there something which needs to
edited to the wiki page regarding truecrypt.conf?  It does not seem to
work, and it seems that manually loading the module is required.

-- 
John F. Davis
6 Kandes Court
Durham, NC 27713
919-888-8358

独树一帜


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux