2019-05-24
How to install cryptoloop module on Kali 4.6?
unix.stackexchange
Question

I am unable to launch the cryptoloop module on Kali 4.6. How can I to install it?

# modprobe cryptoloop
modprobe: FATAL: Module cryptoloop not found in directory /lib/modules/4.6.0-kali1-amd64
Answer
1

You should re-compile the kernel to be able to load the cryptoloop module.

Edit your source.list , uncomment the deb-src, then run the following:

apt update 
apt-cache search linux-source

Then install the appropriate kernel source (the linux-source-4.6.0 is an example):

apt install kernel-source-4.6.0

then

mkdir ~/kernel; cd ~/kernel
tar -xvf /usr/src/linux-source-4.6.0.tar.xz
cd linux-source-4.6.0
cp /boot/config-4.6.0-kali1-amd64 ~/kernel/linux-source-4.6.0/.config

To enable the cryptoloop support see : Cryptoloop HOWTO

Run ; make menuconfig

enable: Device Drivers -> Block Devices -> Loopback device support

Then compile the kernel.

How to install cryptoloop module on Kali 4.6?
See more ...