Problem with cryptsetup - encrypted swap
Posts: 40
Running Mepis 6.0 with most of the 6.0 (not 6.5) upgrades.
I decided to encrypt my swap file according to the Mepis instructions http://www.mepis.org/docs/en/index.php/Encrypted_Partitions.
I added the correct lines to /etc/fstab and /etc/crypttab and rebooted.
In the Mepis Wiki on the topic is says you can check if it's working, so I did the first check.. cat /proc/swaps which gave an expected report -
Filename Type Size Used Priority
/dev/mapper/cswap partition 125568 11836 1
However, when I tried the second verify command.. cryptsetup status cswap
I get the following error
Command failed: Incompatible libdevmapper 1.02.05 (2006-04-19)(compat) and kernel driver
I went into synaptic and installed the 1.01 libdevmapper alongside 1.02. rebooted. same error. I considered removing 1.02 but that will also remove crypto disks and a few other programs, so I bailed on that.
How can I fix this?
Thanks in Advance.
P.S. Please include the option to setup encrypted home and swap during initial install with 6.5
I don't see any replies for
Posts: 1
I don't see any replies for this, so I don't know if your problem has been resolved, but I just ran into the same issue. I found a solution (for me) on another forum - try running the "cryptsetup status cswap" as root (or sudo). The info came right up for me.