You are not logged in.
Helo,
Well, I had setup four encrypted partitions var,tmp,pkg,mail with the DmCrypt-LUKS Arch-WiKi.
All went well but I was stupid and used a dumb Key-file. Now I want to add a passphrase then remove the key-file. However, I can't use cryptsetup for some reason.
whenever I try to run cryptsetup I keep getting this...
$ cryptsetup luksAddKey /dev/sda6
Command failed: Cannot communicate with device-mapper. Is the dm_mod module loaded?
$ modprobe dm_mod
$ cryptsetup luksAddKey /dev/sda6
Command failed: Cannot communicate with device-mapper. Is the dm_mod module loaded?
$ sudo modprobe dm_mod
$ same thing...... Is the dm_mod loaded
$ sudo modprobe dm-mod
no luck
$ sudo pacman -S kernel26 kernel-headders && reboot
$ sudo pacman -S cryptsetup
no luck
I even added dm_mod AND dm-mod to the rc.conf MODULES array and Reboot
no luck
$ locate dm-mod.ko
/lib/modules/2.6.31-ARCH/kernel/drivers/md/dm-mod.ko
/lib/modules/2.6.31-aircrack/kernel/drivers/md/dm-mod.ko
/usr/src/kernel26-aircrack/pkg/lib/modules/2.6.31-aircrack/kernel/drivers/md/dm-mod.ko
/usr/src/kernel26-aircrack/src/linux-2.6.31/drivers/md/.dm-mod.ko.cmd
/usr/src/kernel26-aircrack/src/linux-2.6.31/drivers/md/dm-mod.ko
?????????????
Anyone know what could be wrong ?
Concidering I have reinstalled the kernel and the dm-mod.ko IS installed. I guess it must be ME that is the problem. I must me doing some little stupid thing wrong.
What could it be?
Last edited by hunterthomson (2009-11-23 00:43:53)
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
what exactly happens when you modprobe dm-mod as root?
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
what exactly happens when you modprobe dm-mod as root?
nothing. As if it loaded the module.
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
So did it load correctly? (lsmod | grep dm-mod)
Offline
did you try to run cryptsetup as root?
Offline
did you try to run cryptsetup as root?
Owe I am so stupid. that did it.
I knew it had to be some dumb thing I was doing.
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline