So i compiled a linux kernel from https://github.com/UDOOboard/linux_kernel with INITRAMFS enabled, and I need to work with device-mapper. But when i do modprobe dm_mod, I get FATAL: module dm_mod not found. How can I install it?
Did you follow github guide or doc guide (https://www.udoo.org/docs-neo/Advanced_Topics/Compile_Linux_Kernel.html)? I usually follow the latter and I could add some modules.
Do you know how to add modules during make menuconfig? Try adding as module: - DM_CRYPT Prompt: Crypt target support Location: Device Drivers > Multiple devices driver support (RAID and LVM) (MD [=y]) > Device mapper support (BLK_DEV_DM [=m])
I'm not sure how to use menuconfig. Do i have to add something to the .config file to make it install DM_MOD?
Follow the webpage I gave you (https://www.udoo.org/docs-neo/Advanced_Topics/Compile_Linux_Kernel.html) but NOT skip the optional part ( Personalize the kernel configuration). When you launch 'ARCH=arm make menuconfig' you'll prompt the Kernel configuration. Then navigate into Device Drivers > Multiple devices driver support (RAID and LVM) ) with up/down and enter. Select 'Crypt target support' and press space. It will change to '<M>' (as module). Then TAB until you're on '< Save >' (bottom), then enter to confirm. Come back to the guide and continue with 'Compile sources', 'Compile Device Trees', and others....., sections until you finish compiling with 'ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf......' Unmount the sdcard, put it into your UDOO and retry loading the dm_mod
I'm in Device Drivers > Multiple devices driver support (RAID and LVM), but I don't see crypt target support in there. In fact, I don't see anything under it
Go back and active: - Multiple devices driver support (RAID and LVM) (Press space when you select it. It should become [*])