Encrypted Drive Unable to Mount. dm_mod missing
|
30th Dec, 2012, 08:05 AM
Post: #1
|
|||
|
|||
Encrypted Drive Unable to Mount. dm_mod missing
Whenever I try to mount a LUKS encrypted external HD, I get the following error message:
*** /dev/mapper/control: open failed: No such device Failure to communicate with kernel device-mapper driver. Check that device-mapper is available in the kernel. Cannot initialize device-mapper. Is dm_mod kernel module loaded? *** From what I understand this means that the dm_mod kernel isn't installed. Is there any fix for this? I've installed package updates, but have been unable to fix the problem. Any help is appreciated. |
|||
30th Dec, 2012, 08:15 AM
Post: #2
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
Somehow it wasn't included in all kernel versions, while it should have. I will fix it when i get back from vacation. In the meanwhile try kernel version 3.2.27 or 3.6.7, those versions did include the module:
Code: sudo apt-get install xbian-package-kernel3.2.27 Code: sudo apt-get install xbian-package-kernel3.6.7 pilight - modular domotica solution
|
|||
4th Jan, 2013, 07:12 AM
Post: #3
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
I have readded these missing modules. Just update the kernel:
Code: sudo apt-get install xbian-package-kernel3.6.11 pilight - modular domotica solution
|
|||
15th Jan, 2013, 05:40 PM
Post: #4
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
I get fatal errors even after doing the above:
FATAL: Module dm_crypt not found. and FATAL: Module dm_mod not found. |
|||
15th Jan, 2013, 07:57 PM
Post: #5
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
Dan you did not install the right kernel.
Can you check with: Code: dpkg-query -W -f='${Version}\n' "xbian-package-kernel3.6.11" It should say 1.1 pilight - modular domotica solution
|
|||
16th Jan, 2013, 04:53 PM
Post: #6
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
I installed the right one. It says 1.1 when i query that.
|
|||
16th Jan, 2013, 07:59 PM
Post: #7
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
and did you do:
Code: depmod -a pilight - modular domotica solution
|
|||
17th Jan, 2013, 04:20 PM
Post: #8
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
yep, i also did that. I also restarted the system, and double checked my installs and packages.
I still get fatal errors. |
|||
17th Jan, 2013, 08:06 PM
Post: #9
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
The modules should be there as you can see on this page: https://github.com/xbianonpi/xbian/tree/xbian-alpha5/lib/modules/3.6.11%2B/kernel/drivers/md
Can you try following this guide: http://forum.xbian.org/thread-211.html And then try again. pilight - modular domotica solution
|
|||
20th Jan, 2013, 12:54 PM
Post: #10
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
The above worked. Thanks a lot for all of the help CurlyMo!
I also found that for mounting truecrypt drives I had to disable kernel cryptographic services when mounting altogether by using the command: truecrypt -m=nokernelcrypto [volume] [mountpoint]. LUKS drives work with the regular mounting commands. Thanks again |
|||
20th Jan, 2013, 07:53 PM
Post: #11
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
And i got the Splash + initramfs working already so no need to look into that.
Can you share your init file with us so we can implement these features by default: - Mounting NFS root - Mounting TrueCrypt drives pilight - modular domotica solution
|
|||
18th Oct, 2013, 10:42 AM
Post: #12
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
hello... so I found this thread after almost a year and just wanted to ask if the truecrypt package is somewhere handy or to be installed?
i can't find it in default repos, but maybe it's because my apt-get update is partially failing to update the index. i'd truly appreciate any note if mounting truecrypt volumes is supported. thanks. |
|||
19th Oct, 2013, 02:43 AM
Post: #13
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
@cell
I'm not really sure true crypt is available from the distro repositories anymore on linux, but last time I was working with it I followed many guides which are around, like this for instance: https://wiki.archlinux.org/index.php/TrueCrypt if still remember correctly, true crypt has to be installed/downloaded from true crypt repos / web. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Oct, 2013, 04:48 AM
Post: #14
|
|||
|
|||
RE: Encrypted Drive Unable to Mount. dm_mod missing
I'll follow the guide. thanks a lot.
|
|||
« Next Oldest | Next Newest »
|